mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 976853 - Exclude dependency file from dependency output for expandlibs_exec.py; r=gps
--HG-- extra : amend_source : d7f26ca852a9013d031fe752cd3ae5d8d6ad1414
This commit is contained in:
parent
c4aab9cf77
commit
c4df4bacb1
@ -348,7 +348,8 @@ def main():
|
||||
return
|
||||
ensureParentDir(options.depend)
|
||||
mk = Makefile()
|
||||
deps = [dep for dep in deps if os.path.isfile(dep) and dep != options.target]
|
||||
deps = [dep for dep in deps if os.path.isfile(dep) and dep != options.target
|
||||
and os.path.abspath(dep) != os.path.abspath(options.depend)]
|
||||
no_dynamic_lib = [dep for dep in deps if not isDynamicLib(dep)]
|
||||
mk.create_rule([options.target]).add_dependencies(no_dynamic_lib)
|
||||
if len(deps) != len(no_dynamic_lib):
|
||||
|
Loading…
Reference in New Issue
Block a user