Bug 1286092 - Enforce USE_STUB_INSTALLER when expecting to build the stub. r=gps
☠☠ backed out by eae35fb53eb8 ☠ ☠
authorJustin Wood <Callek@gmail.com>
Fri, 25 May 2018 13:40:59 -0400
changeset 420492 fa3e38422d49521c7e1660965055f0e2b8e7ab68
parent 420491 fc6aebca89e3276544aabca85c2c99b7a4d42d7b
child 420493 878e174255ff121f4a979d4a9fba1d368602dcce
push id34073
push useraiakab@mozilla.com
push dateWed, 30 May 2018 22:05:51 +0000
treeherdermozilla-central@3931f461c8e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1286092
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1286092 - Enforce USE_STUB_INSTALLER when expecting to build the stub. r=gps for L10n jobs should run per-push based on the corresponding builds Differential Revision: https://phabricator.services.mozilla.com/D1407
browser/confvars.sh
--- a/browser/confvars.sh
+++ b/browser/confvars.sh
@@ -17,16 +17,22 @@ if test "$OS_ARCH" = "WINNT"; then
   MOZ_MAINTENANCE_SERVICE=1
   if ! test "$HAVE_64BIT_BUILD"; then
     if test "$MOZ_UPDATE_CHANNEL" = "nightly" -o \
             "$MOZ_UPDATE_CHANNEL" = "nightly-try" -o \
             "$MOZ_UPDATE_CHANNEL" = "aurora" -o \
             "$MOZ_UPDATE_CHANNEL" = "beta" -o \
             "$MOZ_UPDATE_CHANNEL" = "release"; then
       if ! test "$MOZ_DEBUG"; then
+        if ! test "$USE_STUB_INSTALLER"; then
+          # Expect USE_STUB_INSTALLER from taskcluster for downstream task consistency
+          echo "ERROR: STUB installer expected to be enabled but"
+          echo "ERROR: USE_STUB_INSTALLER is not specified in the environment"
+          exit 1
+        fi
         MOZ_STUB_INSTALLER=1
       fi
     fi
   fi
 fi
 
 # Enable building ./signmar and running libmar signature tests
 MOZ_ENABLE_SIGNMAR=1