Bug 1094303 - Move XPT buildlist into misc tier; r=glandium

buildlist invocations are slow and can occur in parallel since the
underlying program obtains a lock on the modified file.

Moving the XPT-related buildlist invocation from the serial libs tier to
the parallel misc tier decreased my no-op build time on OS X from 43.5s
to 37.0s.

--HG--
extra : rebase_source : 7d274024c401b1ecfbc771424a69eb487808fcbf
This commit is contained in:
Gregory Szorc 2014-11-05 09:20:35 -08:00
parent 10ca30f002
commit 8414202025
2 changed files with 3 additions and 2 deletions

View File

@ -1161,10 +1161,11 @@ ifdef XPT_NAME #{
ifndef NO_DIST_INSTALL
_XPT_NAME_FILES := $(DEPTH)/config/makefiles/xpidl/xpt/$(XPT_NAME)
_XPT_NAME_DEST := $(FINAL_TARGET)/components
_XPT_NAME_TARGET := misc
INSTALL_TARGETS += _XPT_NAME
ifndef NO_INTERFACES_MANIFEST
libs:: $(call mkdir_deps,$(FINAL_TARGET)/components)
misc:: $(call mkdir_deps,$(FINAL_TARGET)/components)
$(call py_action,buildlist,$(FINAL_TARGET)/components/interfaces.manifest 'interfaces $(XPT_NAME)')
$(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'manifest components/interfaces.manifest')
endif

View File

@ -889,7 +889,7 @@ VARIABLES = {
This is a list of files that define XPCOM interface definitions.
Entries must be files that exist. Entries are almost certainly ``.idl``
files.
""", 'libs'),
""", 'misc'),
'XPIDL_MODULE': (unicode, unicode,
"""XPCOM Interface Definition Module Name.