Bug 1239207 - Don't process IPDL when not compiling; r=glandium

IPDL processing takes ~9.4s on my i7-6700K and is the long pole in the
"export" tier for clobber --disable-compile-environment builds. IPDL
shouldn't be needed for these builds.

Disabling IPDL makes artifact builds ~4s faster on my machine.
This commit is contained in:
Gregory Szorc 2016-01-14 23:11:12 -08:00
parent e81f0f44d2
commit 29a5f206a5

View File

@ -5,6 +5,8 @@
GARBAGE_DIRS += _ipdlheaders
GARBAGE += ipdl_lextab.py ipdl_yacctab.py $(wildcard *.pyc $(srcdir)/ipdl/*.pyc $(srcdir)/ipdl/cxx/*.pyc)
ifdef COMPILE_ENVIRONMENT
# This file is generated by the moz.build backend.
include ipdlsrcs.mk
@ -21,3 +23,5 @@ export:: $(ALL_IPDLSRCS)
--outcpp-dir=. \
$(IPDLDIRS:%=-I%) \
$^
endif