mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1459721 - part 6 - remove redundant dependency code from xpidl Makefile.in; r=chmanchester
The tail end of the xpidl Makefile.in contains a line, generated for every xpt file: $(1): $(addsuffix .idl,$(addprefix $(dist_idl_dir)/,$($(basename $(notdir $(1)))_deps))) This line, in context, is saying that the xpt file depends on all of its input IDL files. But xpidl-process.py already generates this information when we pass it --depsdir, which we do. So this code is redundant with what we already generate, and it can be removed.
This commit is contained in:
parent
2f6686cbec
commit
6d76a90b37
@ -77,7 +77,6 @@ $(generated_file): $(xpt_files) $(code_gen_py) $(code_gen_deps)
|
||||
|
||||
define xpt_deps
|
||||
$(1): $(call mkdir_deps,$(dir $(1)))
|
||||
$(1): $(addsuffix .idl,$(addprefix $(dist_idl_dir)/,$($(basename $(notdir $(1)))_deps)))
|
||||
ifneq ($($(basename $(notdir $(1)))_deps),$($(basename $(notdir $(1)))_deps_built))
|
||||
$(1): FORCE
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user