Bug 511936: Make Fennec pass the MOZ_FASTSTART flag to python cab inf builder, r=blassey
authorBrian Crowder <crowder@fiverocks.com>
Sat, 22 Aug 2009 00:10:50 -0700
changeset 65463 926fdd306a43f404a7a272a0d8eedcb292625bd9
parent 65462 c4c90027843d33046d8035ee9f70c4173f584335
child 65464 06ee19a4a3579198ffe510153d9c2039f788aa98
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey
bugs511936
Bug 511936: Make Fennec pass the MOZ_FASTSTART flag to python cab inf builder, r=blassey
mobile/installer/Makefile.in
--- a/mobile/installer/Makefile.in
+++ b/mobile/installer/Makefile.in
@@ -106,22 +106,23 @@ deb: debian/control
 	cp $(srcdir)/debian/$(MOZ_APP_NAME)_scalable.png $(DEBDESTDIR)/usr/share/icons/hicolor/scalable/hildon/$(MOZ_APP_NAME).png
 	dh_link; fakeroot dh_fixperms; fakeroot dh_installdeb; dh_shlibdeps; fakeroot dh_gencontrol; fakeroot dh_md5sums; dh_builddeb
 
 installer: deb
 	@echo Installer DEB created!
 
 endif
 
-
+ifdef MOZ_FASTSTART
+CABARGS += -faststart
+endif
 
 ifeq ($(OS_TARGET),WINCE)
 
 VSINSTALLDIR ?= $(error VSINSTALLDIR not set, must be set to the Visual Studio install directory)
 
 UNPACKAGE = $(LIBXUL_DIST)/xulrunner*$(PKG_SUFFIX)
 
 installer: stage-package package-xulrunner
 	$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
-	cd $(DIST) && $(PYTHON) $(topsrcdir)/build/package/wince/make_wince_cab.py "$(VSINSTALLDIR)/SmartDevices/SDK/SDKTools/cabwiz.exe" "$(MOZ_PKG_DIR)" "$(MOZ_APP_DISPLAYNAME)" "$(PKG_PATH)$(PKG_BASENAME).cab" && $(ZIP) -r9D $(PACKAGE) $(MOZ_PKG_DIR)
-	@echo Installer $(PKG_PATH)$(PKG_BASENAME).cab created!
+	cd $(DIST) && $(PYTHON) $(topsrcdir)/build/package/wince/make_wince_cab.py $(CABARGS) "$(VSINSTALLDIR)/SmartDevices/SDK/SDKTools/cabwiz.exe" "$(MOZ_PKG_DIR)" "$(MOZ_APP_DISPLAYNAME)" "$(PKG_PATH)$(PKG_BASENAME).cab" && $(ZIP) -r9D $(PACKAGE) $(MOZ_PKG_DIR) && echo "Installer $(PKG_PATH)$(PKG_BASENAME).cab created!"
 
 endif