Bug 674352 - Precompile startup cache for Thunderbird; r=khuey
authorDavid Bienvenu <dbienvenu@mozilla.com>
Mon, 08 Aug 2011 09:52:07 +0100
changeset 73998 1762d5d119fb6302a8197fb19bd665e421438562
parent 73997 acadcaa1c7e65ed7085a1211bcb2c9c4b989820b
child 73999 9c7ab0a15292530bd8b908f1433e87545c60ff82
child 74009 e6ea47d9134e0186d6d872962e17c8b808001bc8
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewerskhuey
bugs674352
milestone8.0a1
Bug 674352 - Precompile startup cache for Thunderbird; r=khuey
toolkit/mozapps/installer/packager.mk
--- a/toolkit/mozapps/installer/packager.mk
+++ b/toolkit/mozapps/installer/packager.mk
@@ -386,17 +386,17 @@ ifdef MOZ_OMNIJAR
 
 ifdef GENERATE_CACHE
 ifneq (1_,$(if $(CROSS_COMPILE),1,0)_$(UNIVERSAL_BINARY))
 ifdef RUN_TEST_PROGRAM
 _ABS_RUN_TEST_PROGRAM = $(call core_abspath,$(RUN_TEST_PROGRAM))
 endif
 
 GENERATE_CACHE = \
-  $(_ABS_RUN_TEST_PROGRAM) $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) -g "$$PWD" -a "$$PWD" -f $(topsrcdir)/toolkit/mozapps/installer/precompile_cache.js -e 'populate_startupcache("omni.jar", "startupCache.zip");' && \
+  $(_ABS_RUN_TEST_PROGRAM) $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) -g "$$PWD" -a "$$PWD" -f $(MOZILLA_DIR)/toolkit/mozapps/installer/precompile_cache.js -e 'populate_startupcache("omni.jar", "startupCache.zip");' && \
   rm -rf jsloader && \
   $(UNZIP) startupCache.zip && \
   rm startupCache.zip && \
   $(ZIP) -r9m omni.jar jsloader
 endif
 endif
 
 GENERATE_CACHE ?= true