From bc99bd5e235817a622f8bc1cc5d0e5c8b27122b4 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 4 Mar 2013 14:08:24 -0500 Subject: [PATCH] Bug 847001. Make globalgen depend on the actual set of WebIDL files we're compiling, not just on the individual files. r=khuey --- dom/bindings/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dom/bindings/Makefile.in b/dom/bindings/Makefile.in index 5898408e1dea..0bab8b4d9e64 100644 --- a/dom/bindings/Makefile.in +++ b/dom/bindings/Makefile.in @@ -193,6 +193,8 @@ globalgen_dependencies := \ Configuration.py \ Codegen.py \ parser/WebIDL.py \ + ../webidl/WebIDL.mk \ + $(all_webidl_files) \ $(CACHE_DIR)/.done \ $(GLOBAL_DEPS) \ $(NULL) @@ -201,8 +203,7 @@ $(CACHE_DIR)/.done: $(MKDIR) -p $(CACHE_DIR) @$(TOUCH) $@ -ParserResults.pkl: $(globalgen_dependencies) \ - $(all_webidl_files) +ParserResults.pkl: $(globalgen_dependencies) PYTHONDONTWRITEBYTECODE=1 $(PYTHON) $(topsrcdir)/config/pythonpath.py \ $(PLY_INCLUDE) -I$(srcdir)/parser \ $(srcdir)/GlobalGen.py $(srcdir)/Bindings.conf . \