From 29a5f206a51021e59f3fdb030cf245f562604e74 Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Thu, 14 Jan 2016 23:11:12 -0800 Subject: [PATCH] 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. --- ipc/ipdl/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipc/ipdl/Makefile.in b/ipc/ipdl/Makefile.in index a2285e8aaf9..9f1762a0d53 100644 --- a/ipc/ipdl/Makefile.in +++ b/ipc/ipdl/Makefile.in @@ -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 +