Bug 1368920. Part 2 - Use MOZ_DEV_EDITION and NIGHTLY_BUILD to include non-Release and Beta extensions. r=gijs draft
authorMike Taylor <miket@mozilla.com>
Tue, 06 Jun 2017 15:45:08 -0500
changeset 591699 d292f9ec44962f72c6b565ab5a6ece572568ad3f
parent 591698 57b6c3425286cb15495358ca6df21e60b3c05bbc
child 591700 606af1b08cf574c3dc086aa4e0d216134f9429c5
push id63137
push userbmo:miket@mozilla.com
push dateFri, 09 Jun 2017 13:07:25 +0000
reviewersgijs
bugs1368920
milestone55.0a1
Bug 1368920. Part 2 - Use MOZ_DEV_EDITION and NIGHTLY_BUILD to include non-Release and Beta extensions. r=gijs MozReview-Commit-ID: F2jmzUaYyJP
browser/extensions/moz.build
browser/locales/Makefile.in
--- a/browser/extensions/moz.build
+++ b/browser/extensions/moz.build
@@ -16,16 +16,21 @@ DIRS += [
 ]
 
 # Only include the following system add-ons if building Aurora or Nightly
 if not CONFIG['RELEASE_OR_BETA']:
     DIRS += [
         'flyweb',
         'formautofill',
         'presentation',
+    ]
+
+# Only include the following system add-ons if building DevEdition or Nightly
+if CONFIG['MOZ_DEV_EDITION'] or CONFIG['NIGHTLY_BUILD']:
+    DIRS += [
         'webcompat-reporter',
     ]
 
 # Only include mortar system add-ons if we locally enable it
 if CONFIG['MOZ_MORTAR']:
     DIRS += [
         'mortar',
     ]
--- a/browser/locales/Makefile.in
+++ b/browser/locales/Makefile.in
@@ -99,16 +99,18 @@ libs-%:
 	@$(MAKE) -C ../../services/sync/locales AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) -C ../../extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$*
 ifndef RELEASE_OR_BETA
 	@$(MAKE) -C ../extensions/formautofill/locale AB_CD=$* XPI_NAME=locale-$*
 endif
 	@$(MAKE) -C ../extensions/pocket/locale AB_CD=$* XPI_NAME=locale-$*
 ifndef RELEASE_OR_BETA
 	@$(MAKE) -C ../extensions/presentation/locale AB_CD=$* XPI_NAME=locale-$*
+endif
+ifneq '$(or $(MOZ_DEV_EDITION),$(NIGHTLY_BUILD))' ''
 	@$(MAKE) -C ../extensions/webcompat-reporter/locales AB_CD=$* XPI_NAME=locale-$*
 endif
 	@$(MAKE) -C ../../intl/locales AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) -C ../../devtools/client/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
 	@$(MAKE) -B searchplugins AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*