2007-05-23 13:08:44 -07:00
|
|
|
#! /bin/sh
|
2012-05-21 04:12:37 -07: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-23 13:08:44 -07:00
|
|
|
|
2011-05-07 01:06:41 -07:00
|
|
|
MOZ_APP_BASENAME=Firefox
|
|
|
|
MOZ_APP_VENDOR=Mozilla
|
2007-05-23 13:08:44 -07:00
|
|
|
MOZ_UPDATER=1
|
|
|
|
MOZ_PHOENIX=1
|
2007-06-13 10:15:05 -07:00
|
|
|
|
2012-01-04 20:19:14 -08:00
|
|
|
if test "$OS_ARCH" = "WINNT"; then
|
2014-06-19 08:03:04 -07:00
|
|
|
MOZ_MAINTENANCE_SERVICE=1
|
2014-06-24 19:16:25 -07:00
|
|
|
if ! test "$HAVE_64BIT_BUILD"; then
|
2012-12-10 16:23:09 -08:00
|
|
|
if test "$MOZ_UPDATE_CHANNEL" = "nightly" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "aurora" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "beta" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "release"; then
|
|
|
|
if ! test "$MOZ_DEBUG"; then
|
|
|
|
MOZ_STUB_INSTALLER=1
|
|
|
|
fi
|
|
|
|
fi
|
2012-01-04 20:19:14 -08:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2014-10-22 18:00:19 -07:00
|
|
|
# Enable building ./signmar and running libmar signature tests
|
|
|
|
MOZ_ENABLE_SIGNMAR=1
|
|
|
|
|
2010-08-18 20:05:17 -07:00
|
|
|
MOZ_CHROME_FILE_FORMAT=omni
|
2013-09-30 13:09:28 -07:00
|
|
|
MOZ_DISABLE_EXPORT_JS=1
|
2007-05-23 13:08:44 -07:00
|
|
|
MOZ_SAFE_BROWSING=1
|
2012-10-11 10:34:09 -07:00
|
|
|
MOZ_SERVICES_COMMON=1
|
|
|
|
MOZ_SERVICES_CRYPTO=1
|
2013-01-14 19:09:13 -08:00
|
|
|
MOZ_SERVICES_HEALTHREPORT=1
|
2012-11-05 12:49:58 -08:00
|
|
|
MOZ_SERVICES_METRICS=1
|
2010-08-12 12:54:14 -07:00
|
|
|
MOZ_SERVICES_SYNC=1
|
2014-08-29 01:50:00 -07:00
|
|
|
MOZ_SERVICES_CLOUDSYNC=1
|
2007-05-23 13:08:44 -07:00
|
|
|
MOZ_APP_VERSION=$FIREFOX_VERSION
|
2015-07-11 18:37:54 -07:00
|
|
|
MOZ_APP_VERSION_DISPLAY=$FIREFOX_VERSION_DISPLAY
|
2012-09-26 23:35:06 -07:00
|
|
|
MOZ_EXTENSIONS_DEFAULT=" gio"
|
2012-12-18 14:38:30 -08: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 07:03:23 -07:00
|
|
|
# "unofficial" branding.
|
2012-12-18 14:38:30 -08:00
|
|
|
# For the mozilla-aurora repository, use "aurora".
|
2015-05-28 07:03:23 -07:00
|
|
|
MOZ_BRANDING_DIRECTORY=browser/branding/unofficial
|
2012-12-18 14:38:30 -08:00
|
|
|
MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/official
|
2011-11-21 23:05:59 -08:00
|
|
|
MOZ_APP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
2012-12-18 14:38:30 -08:00
|
|
|
# This should usually be the same as the value MAR_CHANNEL_ID.
|
|
|
|
# If more than one ID is needed, then you should use a comma separated list
|
|
|
|
# of values.
|
|
|
|
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-central
|
|
|
|
# The MAR_CHANNEL_ID must not contain the following 3 characters: ",\t "
|
|
|
|
MAR_CHANNEL_ID=firefox-mozilla-central
|
2011-11-21 23:05:59 -08:00
|
|
|
MOZ_PROFILE_MIGRATOR=1
|
2011-11-21 23:05:59 -08:00
|
|
|
MOZ_APP_STATIC_INI=1
|
2012-06-03 18:54:38 -07:00
|
|
|
MOZ_WEBAPP_RUNTIME=1
|
2012-07-12 04:53:08 -07:00
|
|
|
MOZ_MEDIA_NAVIGATOR=1
|
2013-07-11 14:12:32 -07:00
|
|
|
MOZ_WEBGL_CONFORMANT=1
|
2013-09-27 11:38:14 -07:00
|
|
|
# Enable navigator.mozPay
|
|
|
|
MOZ_PAY=1
|
2013-10-15 12:57:27 -07:00
|
|
|
# Enable activities. These are used for FxOS developers currently.
|
|
|
|
MOZ_ACTIVITIES=1
|
2013-10-23 12:46:47 -07:00
|
|
|
MOZ_JSDOWNLOADS=1
|
2014-01-14 22:21:14 -08:00
|
|
|
MOZ_WEBM_ENCODER=1
|
2015-05-12 14:03:59 -07:00
|
|
|
|
|
|
|
# Enable checking that add-ons are signed by the trusted root
|
|
|
|
MOZ_ADDON_SIGNING=1
|
|
|
|
if test "$MOZ_OFFICIAL_BRANDING"; then
|
|
|
|
if test "$MOZ_UPDATE_CHANNEL" = "beta" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "release" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "esr"; then
|
|
|
|
MOZ_REQUIRE_SIGNING=1
|
|
|
|
fi
|
|
|
|
fi
|