Skip to content

Commit

Permalink
Bug 976853 - Exclude dependency file from dependency output for expan…
Browse files Browse the repository at this point in the history
…dlibs_exec.py; r=gps

--HG--
extra : amend_source : d7f26ca852a9013d031fe752cd3ae5d8d6ad1414
  • Loading branch information
glandium committed Feb 26, 2014
1 parent c4aab9c commit c4df4ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/expandlibs_exec.py
Expand Up @@ -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):
Expand Down

0 comments on commit c4df4ba

Please sign in to comment.