2007-05-24 00:08:44 +04:00
|
|
|
#! /bin/sh
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-05-24 00:08:44 +04:00
|
|
|
|
2011-05-07 12:06:41 +04:00
|
|
|
MOZ_APP_BASENAME=Firefox
|
|
|
|
MOZ_APP_VENDOR=Mozilla
|
2007-05-24 00:08:44 +04:00
|
|
|
MOZ_UPDATER=1
|
|
|
|
MOZ_PHOENIX=1
|
2007-06-13 21:15:05 +04:00
|
|
|
|
2012-01-05 08:19:14 +04:00
|
|
|
if test "$OS_ARCH" = "WINNT"; then
|
2014-06-25 06:16:25 +04:00
|
|
|
if ! test "$HAVE_64BIT_BUILD"; then
|
2012-12-11 04:23:09 +04:00
|
|
|
if test "$MOZ_UPDATE_CHANNEL" = "nightly" -o \
|
2017-08-18 20:19:17 +03:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "nightly-try" -o \
|
2012-12-11 04:23:09 +04:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "aurora" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "beta" -o \
|
2017-10-20 17:41:29 +03:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "release"; then
|
2012-12-11 04:23:09 +04:00
|
|
|
if ! test "$MOZ_DEBUG"; then
|
2018-05-25 20:40:59 +03:00
|
|
|
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
|
2012-12-11 04:23:09 +04:00
|
|
|
MOZ_STUB_INSTALLER=1
|
|
|
|
fi
|
|
|
|
fi
|
2012-01-05 08:19:14 +04:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2014-10-23 05:00:19 +04:00
|
|
|
# Enable building ./signmar and running libmar signature tests
|
|
|
|
MOZ_ENABLE_SIGNMAR=1
|
|
|
|
|
2018-08-10 00:16:28 +03:00
|
|
|
if [ "${MOZ_BROWSER_XHTML}" = "1" ]; then
|
|
|
|
BROWSER_CHROME_URL=chrome://browser/content/browser.xhtml
|
|
|
|
else
|
|
|
|
BROWSER_CHROME_URL=chrome://browser/content/browser.xul
|
|
|
|
fi
|
2018-07-24 18:12:48 +03:00
|
|
|
|
2012-12-19 02:38:30 +04:00
|
|
|
# MOZ_APP_DISPLAYNAME will be set by branding/configure.sh
|
|
|
|
# MOZ_BRANDING_DIRECTORY is the default branding directory used when none is
|
|
|
|
# specified. It should never point to the "official" branding directory.
|
|
|
|
# For mozilla-beta, mozilla-release, or mozilla-central repositories, use
|
2015-05-28 17:03:23 +03:00
|
|
|
# "unofficial" branding.
|
2012-12-19 02:38:30 +04:00
|
|
|
# For the mozilla-aurora repository, use "aurora".
|
2015-05-28 17:03:23 +03:00
|
|
|
MOZ_BRANDING_DIRECTORY=browser/branding/unofficial
|
2012-12-19 02:38:30 +04:00
|
|
|
MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/official
|
2011-11-22 11:05:59 +04:00
|
|
|
MOZ_APP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
2017-05-05 21:44:33 +03:00
|
|
|
# ACCEPTED_MAR_CHANNEL_IDS should usually be the same as the value MAR_CHANNEL_ID.
|
2012-12-19 02:38:30 +04:00
|
|
|
# If more than one ID is needed, then you should use a comma separated list
|
|
|
|
# of values.
|
|
|
|
# The MAR_CHANNEL_ID must not contain the following 3 characters: ",\t "
|
2017-05-05 21:44:33 +03:00
|
|
|
if test "$MOZ_UPDATE_CHANNEL" = "aurora"; then
|
|
|
|
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-aurora
|
|
|
|
MAR_CHANNEL_ID=firefox-mozilla-aurora
|
|
|
|
else
|
|
|
|
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-central
|
|
|
|
MAR_CHANNEL_ID=firefox-mozilla-central
|
|
|
|
fi
|
2018-04-19 16:28:59 +03:00
|
|
|
# ASan reporter builds should have different channel ids
|
|
|
|
if [ "${MOZ_ASAN_REPORTER}" = "1" ]; then
|
|
|
|
ACCEPTED_MAR_CHANNEL_IDS="${ACCEPTED_MAR_CHANNEL_IDS}-asan"
|
|
|
|
MAR_CHANNEL_ID="${MAR_CHANNEL_ID}-asan"
|
|
|
|
fi
|
|
|
|
|
2011-11-22 11:05:59 +04:00
|
|
|
MOZ_PROFILE_MIGRATOR=1
|
2015-08-29 04:43:37 +03:00
|
|
|
|
2015-10-07 02:01:24 +03:00
|
|
|
# Include the DevTools client, not just the server (which is the default)
|
|
|
|
MOZ_DEVTOOLS=all
|