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
|
|
|
|
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 23:58:49 +03:00
|
|
|
if test "$OS_ARCH" = "WINNT" -o \
|
|
|
|
"$OS_ARCH" = "Linux"; then
|
|
|
|
MOZ_BUNDLED_FONTS=1
|
|
|
|
fi
|
|
|
|
|
2012-01-05 08:19:14 +04:00
|
|
|
if test "$OS_ARCH" = "WINNT"; then
|
2014-06-19 19:03:04 +04:00
|
|
|
MOZ_MAINTENANCE_SERVICE=1
|
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 \
|
2017-05-05 23:56:57 +03:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "aurora-dev" -o \
|
2012-12-11 04:23:09 +04:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "beta" -o \
|
2016-03-22 20:15:11 +03:00
|
|
|
"$MOZ_UPDATE_CHANNEL" = "beta-dev" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "release" -o \
|
|
|
|
"$MOZ_UPDATE_CHANNEL" = "release-dev"; then
|
2012-12-11 04:23:09 +04:00
|
|
|
if ! test "$MOZ_DEBUG"; then
|
|
|
|
MOZ_STUB_INSTALLER=1
|
|
|
|
fi
|
|
|
|
fi
|
2012-01-05 08:19:14 +04:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2016-11-21 21:20:39 +03:00
|
|
|
if test "$NIGHTLY_BUILD"; then
|
2016-11-08 02:42:36 +03:00
|
|
|
MOZ_RUST_URLPARSE=1
|
|
|
|
fi
|
|
|
|
|
2014-10-23 05:00:19 +04:00
|
|
|
# Enable building ./signmar and running libmar signature tests
|
|
|
|
MOZ_ENABLE_SIGNMAR=1
|
|
|
|
|
2007-05-24 00:08:44 +04:00
|
|
|
MOZ_APP_VERSION=$FIREFOX_VERSION
|
2015-07-12 04:37:54 +03:00
|
|
|
MOZ_APP_VERSION_DISPLAY=$FIREFOX_VERSION_DISPLAY
|
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
|
2011-11-22 11:05:59 +04:00
|
|
|
MOZ_PROFILE_MIGRATOR=1
|
2015-08-29 04:43:37 +03:00
|
|
|
|
2016-06-07 21:45:21 +03:00
|
|
|
# Enable checking that add-ons are signed by the trusted root
|
|
|
|
MOZ_ADDON_SIGNING=1
|
|
|
|
|
2015-10-07 02:01:24 +03:00
|
|
|
# Include the DevTools client, not just the server (which is the default)
|
|
|
|
MOZ_DEVTOOLS=all
|