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
|
|
|
|
if ! test "$HAVE_64BIT_OS"; then
|
2012-02-28 06:37:38 -08:00
|
|
|
MOZ_VERIFY_MAR_SIGNATURE=1
|
2012-01-04 20:19:14 -08:00
|
|
|
MOZ_MAINTENANCE_SERVICE=1
|
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
|
|
|
|
|
2012-12-13 09:43:39 -08:00
|
|
|
# The value of ACCEPTED_MAR_CHANNEL_IDS 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.
|
|
|
|
# The MAR_CHANNEL_ID must not contain the following 3 characters: ",\t "
|
|
|
|
case "$MOZ_UPDATE_CHANNEL" in
|
|
|
|
release|aurora|esr)
|
|
|
|
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-$MOZ_UPDATE_CHANNEL
|
|
|
|
MAR_CHANNEL_ID=firefox-mozilla-$MOZ_UPDATE_CHANNEL
|
|
|
|
;;
|
|
|
|
beta)
|
|
|
|
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-beta,firefox-mozilla-release
|
|
|
|
MAR_CHANNEL_ID=firefox-mozilla-beta
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-central
|
|
|
|
MAR_CHANNEL_ID=firefox-mozilla-central
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# MOZ_APP_DISPLAYNAME will be set by branding/configure.sh
|
|
|
|
# Changing MOZ_*BRANDING_DIRECTORY requires a clobber to ensure correct results,
|
|
|
|
# because branding dependencies are broken.
|
|
|
|
# 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
|
|
|
|
# "nightly" branding (until bug 659568 is fixed).
|
|
|
|
# For the mozilla-aurora repository, use "aurora".
|
|
|
|
MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/official
|
|
|
|
if test "$MOZ_UPDATE_CHANNEL" = "aurora"; then
|
|
|
|
MOZ_BRANDING_DIRECTORY=browser/branding/aurora
|
|
|
|
else
|
|
|
|
MOZ_BRANDING_DIRECTORY=browser/branding/nightly
|
|
|
|
fi
|
|
|
|
|
2010-08-18 20:05:17 -07:00
|
|
|
MOZ_CHROME_FILE_FORMAT=omni
|
2007-05-23 13:08:44 -07:00
|
|
|
MOZ_SAFE_BROWSING=1
|
2012-06-22 09:27:01 -07:00
|
|
|
MOZ_SERVICES_AITC=1
|
2012-10-11 10:34:09 -07:00
|
|
|
MOZ_SERVICES_COMMON=1
|
|
|
|
MOZ_SERVICES_CRYPTO=1
|
2012-11-05 12:49:58 -08:00
|
|
|
MOZ_SERVICES_METRICS=1
|
2012-06-22 09:27:01 -07:00
|
|
|
MOZ_SERVICES_NOTIFICATIONS=1
|
2010-08-12 12:54:14 -07:00
|
|
|
MOZ_SERVICES_SYNC=1
|
2007-05-23 13:08:44 -07:00
|
|
|
MOZ_APP_VERSION=$FIREFOX_VERSION
|
2012-09-26 23:35:06 -07:00
|
|
|
MOZ_EXTENSIONS_DEFAULT=" gio"
|
2011-11-21 23:05:59 -08:00
|
|
|
MOZ_APP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
|
|
|
MOZ_PROFILE_MIGRATOR=1
|
|
|
|
MOZ_EXTENSION_MANAGER=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
|
2012-12-14 08:55:13 -08:00
|
|
|
MOZ_PER_WINDOW_PRIVATE_BROWSING=1
|