Bug 1079432 - Turn off minification in debug builds. r=mshal
authorJames Lal <james@lightsofapollo.com>
Tue, 07 Oct 2014 15:39:00 +0200
changeset 209282 fe0ccde065c68fda5f2a68c69775f635993793bd
parent 209281 d25bc2a722d9b54829a57b4a0cdbb27e9ac83115
child 209283 60c38a8155cedfdd4b74fb38c478d9b9f8d05eee
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersmshal
bugs1079432
milestone35.0a1
Bug 1079432 - Turn off minification in debug builds. r=mshal
b2g/installer/Makefile.in
--- a/b2g/installer/Makefile.in
+++ b/b2g/installer/Makefile.in
@@ -52,18 +52,20 @@ endif
 endif
 
 include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
 
 # Note that JS_BINARY can be defined in packager.mk, so this test must come after
 # including that file. MOZ_PACKAGER_MINIFY_JS is used in packager.mk, but since
 # recipe evaluation is deferred, we can set it here after the inclusion.
 ifneq (,$(JS_BINARY))
+ifndef MOZ_DEBUG
 MOZ_PACKAGER_MINIFY_JS=1
 endif
+endif
 
 ifeq (bundle, $(MOZ_FS_LAYOUT))
 BINPATH = $(_BINPATH)
 DEFINES += -DAPPNAME=$(_APPNAME)
 else
 # Every other platform just winds up in dist/bin
 BINPATH = bin
 endif