mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1253076 - Handle the case defines are not present to avoid artifact build bustage when processing symbols files. r=glandium
MozReview-Commit-ID: 25oUlS12hec
This commit is contained in:
parent
9d78c6759b
commit
1bf18e6476
@ -570,9 +570,12 @@ class TreeMetadataEmitter(LoggingMixin):
|
||||
script = mozpath.join(
|
||||
mozpath.dirname(mozpath.dirname(__file__)),
|
||||
'action', 'generate_symbols_file.py')
|
||||
defines = ()
|
||||
if lib.defines:
|
||||
defines = lib.defines.get_defines()
|
||||
yield GeneratedFile(context, script,
|
||||
'generate_symbols_file', lib.symbols_file,
|
||||
[symbols_file.full_path], lib.defines.get_defines())
|
||||
[symbols_file.full_path], defines)
|
||||
if static_lib:
|
||||
lib = StaticLibrary(context, libname, **static_args)
|
||||
self._libs[libname].append(lib)
|
||||
|
Loading…
Reference in New Issue
Block a user