2007-05-23 20:08:44 +00:00
|
|
|
#! /bin/sh
|
2012-05-21 11:12:37 +00: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 20:08:44 +00:00
|
|
|
|
2011-05-07 08:06:41 +00:00
|
|
|
MOZ_APP_BASENAME=Firefox
|
|
|
|
MOZ_APP_VENDOR=Mozilla
|
2007-05-23 20:08:44 +00:00
|
|
|
MOZ_UPDATER=1
|
|
|
|
MOZ_PHOENIX=1
|
2007-06-13 17:15:05 +00:00
|
|
|
|
Bug 1231701 - Ship our own variant of EmojiOne on Windows and Linux, r=glandium, r=dolske, r=jfkthame, r=gerv
This patch bundles a color font named "EmojiOne Mozilla", and turn on
the necessary code for including the bundled font, on Linux and Windows.
With that, users of Linux and Windows <=8.0 is able to see color Emoji
on Firefox without support from System.
The font bundled is the v0.2.1 version, generated from the project repo
in
https://github.com/mozilla/emojione-colr
with artwork from the original EmojiOne font and Twemoji,
under CC BY 4.0 license.
Test files, about:license page, and the packager instruction are
modified accordingly.
MozReview-Commit-ID: 2mmxnA0vS3u
2016-06-15 20:58:49 +00:00
|
|
|
if test "$OS_ARCH" = "WINNT" -o \
|
|
|
|
"$OS_ARCH" = "Linux"; then
|
|
|
|
MOZ_BUNDLED_FONTS=1
|
|
|
|
fi
|
|
|
|
|
2012-01-05 04:19:14 +00:00
|
|
|
if test "$OS_ARCH" = "WINNT"; then
|
2014-06-19 15:03:04 +00:00
|
|
|
MOZ_MAINTENANCE_SERVICE=1
|
2014-06-25 02:16:25 +00:00
|
|
|
if ! test "$HAVE_64BIT_BUILD"; then
|
2012-12-11 00:23:09 +00:00
|
|
|
if test "$MOZ_UPDATE_CHANNEL" = "nightly" -o \
|
2017-08-18 17:19:17 +00:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "nightly-try" -o \
|
2012-12-11 00:23:09 +00:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "aurora" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "beta" -o \
|
2017-10-20 14:41:29 +00:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "release"; then
|
2012-12-11 00:23:09 +00:00
|
|
|
if ! test "$MOZ_DEBUG"; then
|
2018-05-25 17:40:59 +00: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 00:23:09 +00:00
|
|
|
MOZ_STUB_INSTALLER=1
|
|
|
|
fi
|
|
|
|
fi
|
2012-01-05 04:19:14 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2014-10-23 01:00:19 +00:00
|
|
|
# Enable building ./signmar and running libmar signature tests
|
|
|
|
MOZ_ENABLE_SIGNMAR=1
|
|
|
|
|
2007-05-23 20:08:44 +00:00
|
|
|
MOZ_APP_VERSION=$FIREFOX_VERSION
|
2015-07-12 01:37:54 +00:00
|
|
|
MOZ_APP_VERSION_DISPLAY=$FIREFOX_VERSION_DISPLAY
|
2012-12-18 22:38:30 +00: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 14:03:23 +00:00
|
|
|
# "unofficial" branding.
|
2012-12-18 22:38:30 +00:00
|
|
|
# For the mozilla-aurora repository, use "aurora".
|
2015-05-28 14:03:23 +00:00
|
|
|
MOZ_BRANDING_DIRECTORY=browser/branding/unofficial
|
2012-12-18 22:38:30 +00:00
|
|
|
MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/official
|
2011-11-22 07:05:59 +00:00
|
|
|
MOZ_APP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
2017-05-05 18:44:33 +00:00
|
|
|
# ACCEPTED_MAR_CHANNEL_IDS should usually be the same as the value MAR_CHANNEL_ID.
|
2012-12-18 22:38:30 +00: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 18:44:33 +00: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 13:28:59 +00: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 07:05:59 +00:00
|
|
|
MOZ_PROFILE_MIGRATOR=1
|
2015-08-29 01:43:37 +00:00
|
|
|
|
2016-06-07 18:45:21 +00:00
|
|
|
# Enable checking that add-ons are signed by the trusted root
|
|
|
|
MOZ_ADDON_SIGNING=1
|
|
|
|
|
2015-10-06 23:01:24 +00:00
|
|
|
# Include the DevTools client, not just the server (which is the default)
|
|
|
|
MOZ_DEVTOOLS=all
|