Bug 1155290 - stop using XULAPP_DEFINES for suite/debugQA/ r=Neil a=Ratty for CLOSED TREE
authorIan Neal <iann_cvs@blueyonder.co.uk>
Thu, 07 May 2015 14:50:59 +0100
changeset 22576 7ecc013abbd1fd850085848d98d2da79c0beed5f
parent 22575 358db6b87dc954dfea7ba03546b308e6ce66f75f
child 22577 71d8771ae203f1b1654ba844749aa3eeaa651695
push id1420
push usermbanner@mozilla.com
push dateMon, 29 Jun 2015 20:47:24 +0000
treeherdercomm-beta@b3db00bb24e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil, Ratty
bugs1155290
Bug 1155290 - stop using XULAPP_DEFINES for suite/debugQA/ r=Neil a=Ratty for CLOSED TREE
suite/debugQA/Makefile.in
suite/debugQA/moz.build
--- a/suite/debugQA/Makefile.in
+++ b/suite/debugQA/Makefile.in
@@ -11,14 +11,9 @@ VPATH=@srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 INSTALL_EXTENSION_ID   = debugQA@mozilla.org
 XPI_PKGNAME            = debugQA-$(MOZ_APP_VERSION)
 
 DIST_FILES = install.rdf
 
-XULAPP_DEFINES = \
-    -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
-    -DMOZ_APP_MAXVERSION=$(MOZ_APP_MAXVERSION) \
-    $(NULL)
-
 include $(topsrcdir)/config/rules.mk
--- a/suite/debugQA/moz.build
+++ b/suite/debugQA/moz.build
@@ -5,8 +5,11 @@
 
 DIRS += ['locales']
 
 XPI_NAME = 'debugQA'
 
 JAR_MANIFESTS += ['jar.mn']
 
 USE_EXTENSION_MANIFEST = True
+
+DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
+DEFINES['MOZ_APP_MAXVERSION'] = CONFIG['MOZ_APP_MAXVERSION']