Fixup for bug 1114669 on a CLOSED TREE. r=gps
authorMike Hommey <>
Fri, 13 Feb 2015 11:13:11 +0900
changeset 228926 cfdcb37cc953c4655213e04bd921328b618799ad
parent 228925 535453825f6dd51113f73957565ddc555ce879a9
child 228927 109c66867717f8b861cf6cb3f51e1894be431e60
push idunknown
push userunknown
push dateunknown
Fixup for bug 1114669 on a CLOSED TREE. r=gps xpt files don't have a dependency on backend files to avoid rebuilding all of them when adding or removing new files. On incremental builds, some kind of dependencies are required to ensure the xpt files are refreshed when adding or removing new idls.
--- a/config/makefiles/xpidl/
+++ b/config/makefiles/xpidl/
@@ -51,13 +51,18 @@ xpt_files := @xpt_files@
 depends_files := $(foreach root,$(xpidl_modules),$(idl_deps_dir)/$(root).pp)
 GARBAGE += $(xpt_files) $(depends_files)
 xpidl:: $(xpt_files)
 $(xpt_files): $(process_py) $(call mkdir_deps,$(idl_deps_dir) $(dist_include_dir))
-$(foreach xpt,$(xpt_files),$(eval $(xpt): $(call mkdir_deps,$(dir $(xpt)))))
+define xpt_deps
+$(1): $(call mkdir_deps,$(dir $(1)))
+$(1): $(addsuffix .idl,$(addprefix $(dist_idl_dir)/,$($(basename $(notdir $(1)))_deps)))
+$(foreach xpt,$(xpt_files),$(eval $(call xpt_deps,$(xpt))))
 $(call include_deps,$(depends_files))
 .PHONY: xpidl