mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 850153: Try harder to avoid blowing out the command line limit. r=gps
This commit is contained in:
parent
3ccd33f2b1
commit
1ef10ebb37
@ -99,8 +99,8 @@ endif
|
||||
|
||||
# XXXkhuey this is a terrible hack to avoid blowing out the command line
|
||||
ifneq (,$(filter-out all chrome default export realchrome tools clean clobber clobber_all distclean realclean,$(MAKECMDGOALS)))
|
||||
$(shell echo "$(addsuffix .pp,$(binding_header_files))" > pp.list)
|
||||
$(shell echo "$(addsuffix .pp,$(binding_cpp_files))" >> pp.list)
|
||||
$(shell echo "$(addsuffix .pp,$(binding_header_files))" > hpp.list)
|
||||
$(shell echo "$(addsuffix .pp,$(binding_cpp_files))" > cpp.list)
|
||||
|
||||
# The script mddepend.pl checks the dependencies and writes to stdout
|
||||
# one rule to force out-of-date objects. For example,
|
||||
@ -108,8 +108,10 @@ $(shell echo "$(addsuffix .pp,$(binding_cpp_files))" >> pp.list)
|
||||
# The script has an advantage over including the *.pp files directly
|
||||
# because it handles the case when header files are removed from the build.
|
||||
# 'make' would complain that there is no way to build missing headers.
|
||||
ALL_PP_RESULTS = $(shell cat pp.list | $(PERL) $(BUILD_TOOLS)/mddepend.pl)
|
||||
$(eval $(ALL_PP_RESULTS))
|
||||
HPP_PP_RESULTS = $(shell cat hpp.list | $(PERL) $(BUILD_TOOLS)/mddepend.pl)
|
||||
$(eval $(HPP_PP_RESULTS))
|
||||
CPP_PP_RESULTS = $(shell cat cpp.list | $(PERL) $(BUILD_TOOLS)/mddepend.pl)
|
||||
$(eval $(CPP_PP_RESULTS))
|
||||
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user