Bug 1804588 - Add a dependency on symbols files for libraries that have one. r=firefox-build-system-reviewers,nalexander

Differential Revision: https://phabricator.services.mozilla.com/D164168
This commit is contained in:
Mike Hommey 2022-12-08 04:37:39 +00:00
parent 76348a974d
commit 22241fa811

View File

@ -1429,6 +1429,9 @@ class RecursiveMakeBackend(MakeBackend):
backend_file.write_once("%s: %s\n" % (obj_target, list_file_path))
backend_file.write("%s: %s\n" % (obj_target, objs_ref))
if getattr(obj, "symbols_file", None):
backend_file.write_once("%s: %s\n" % (obj_target, obj.symbols_file))
for lib in shared_libs:
assert obj.KIND != "host" and obj.KIND != "wasm"
backend_file.write_once(