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:
Nathan Froyd 2018-05-15 10:05:24 -04:00
parent 2f6686cbec
commit 6d76a90b37

View File

@ -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