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/.
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2011-11-23 00:48:22 +04:00
|
|
|
MOZ_APP_BASENAME=Fennec
|
|
|
|
MOZ_APP_VENDOR=Mozilla
|
2010-09-29 22:38:00 +04:00
|
|
|
|
2015-08-10 22:20:42 +03:00
|
|
|
MOZ_APP_VERSION=43.0a1
|
2012-02-01 08:04:23 +04:00
|
|
|
MOZ_APP_UA_NAME=Firefox
|
2010-09-29 22:38:00 +04:00
|
|
|
|
2011-11-17 18:24:55 +04:00
|
|
|
MOZ_BRANDING_DIRECTORY=mobile/android/branding/unofficial
|
|
|
|
MOZ_OFFICIAL_BRANDING_DIRECTORY=mobile/android/branding/official
|
2010-01-06 21:38:02 +03:00
|
|
|
# MOZ_APP_DISPLAYNAME is set by branding/configure.sh
|
2010-01-07 06:38:40 +03:00
|
|
|
|
2014-07-26 00:27:49 +04:00
|
|
|
# We support Android SDK version 9 and up by default.
|
|
|
|
# See the --enable-android-min-sdk and --enable-android-max-sdk arguments in configure.in.
|
|
|
|
MOZ_ANDROID_MIN_SDK_VERSION=9
|
|
|
|
|
2015-05-06 05:10:50 +03:00
|
|
|
# There are several entry points into the Firefox application. These are the names of some of the classes that are
|
|
|
|
# listed in the Android manifest. They are specified in here to avoid hard-coding them in source code files.
|
|
|
|
MOZ_ANDROID_APPLICATION_CLASS=org.mozilla.gecko.GeckoApplication
|
|
|
|
MOZ_ANDROID_BROWSER_INTENT_CLASS=org.mozilla.gecko.BrowserApp
|
|
|
|
MOZ_ANDROID_SEARCH_INTENT_CLASS=org.mozilla.search.SearchActivity
|
|
|
|
|
2012-09-25 00:34:27 +04:00
|
|
|
MOZ_SAFE_BROWSING=1
|
2010-09-15 04:36:18 +04:00
|
|
|
|
2014-08-14 20:38:42 +04:00
|
|
|
MOZ_NO_SMART_CARDS=1
|
2010-11-05 07:16:43 +03:00
|
|
|
|
2012-06-11 03:44:50 +04:00
|
|
|
# Enable getUserMedia
|
|
|
|
MOZ_MEDIA_NAVIGATOR=1
|
|
|
|
|
2013-04-18 00:08:11 +04:00
|
|
|
# Enable NFC permission
|
|
|
|
MOZ_ANDROID_BEAM=1
|
|
|
|
|
2010-01-29 19:15:37 +03:00
|
|
|
if test "$LIBXUL_SDK"; then
|
2008-04-18 17:41:49 +04:00
|
|
|
MOZ_XULRUNNER=1
|
2010-01-29 19:15:37 +03:00
|
|
|
else
|
|
|
|
MOZ_XULRUNNER=
|
|
|
|
fi
|
2011-02-27 22:39:49 +03:00
|
|
|
|
2011-09-27 04:25:41 +04:00
|
|
|
MOZ_CAPTURE=1
|
|
|
|
MOZ_RAW=1
|
2012-11-09 13:55:59 +04:00
|
|
|
MOZ_PLACES=
|
2013-05-11 21:54:31 +04:00
|
|
|
MOZ_SOCIAL=
|
2011-12-17 13:08:58 +04:00
|
|
|
MOZ_ANDROID_HISTORY=1
|
2013-10-01 00:09:28 +04:00
|
|
|
MOZ_DISABLE_EXPORT_JS=1
|
2011-09-27 04:25:41 +04:00
|
|
|
|
2011-06-22 01:00:47 +04:00
|
|
|
# use custom widget for html:select
|
|
|
|
MOZ_USE_NATIVE_POPUP_WINDOWS=1
|
2011-10-25 00:07:33 +04:00
|
|
|
|
|
|
|
MOZ_APP_ID={aa3c5121-dab2-40e2-81ca-7ea25febc110}
|
2011-11-15 13:09:26 +04:00
|
|
|
|
2011-11-23 00:48:22 +04:00
|
|
|
MOZ_APP_STATIC_INI=1
|
2013-02-02 03:47:24 +04:00
|
|
|
|
2015-05-01 23:42:15 +03:00
|
|
|
# Enable on-demand decompression. This requires a host compile toolchain to
|
|
|
|
# build szip to use during packaging.
|
|
|
|
if test "$COMPILE_ENVIRONMENT"; then
|
2013-05-20 10:31:40 +04:00
|
|
|
MOZ_ENABLE_SZIP=1
|
2015-05-01 23:42:15 +03:00
|
|
|
fi
|
2013-05-20 10:31:40 +04:00
|
|
|
|
2013-04-26 02:29:17 +04:00
|
|
|
# Enable navigator.mozPay
|
|
|
|
MOZ_PAY=1
|
2013-05-11 08:28:17 +04:00
|
|
|
|
|
|
|
# Enable UI for healthreporter
|
|
|
|
MOZ_SERVICES_HEALTHREPORT=1
|
2013-06-20 20:51:17 +04:00
|
|
|
|
2014-06-05 06:21:33 +04:00
|
|
|
# Enable runtime locale switching.
|
|
|
|
MOZ_LOCALE_SWITCHER=1
|
|
|
|
|
2014-05-05 22:27:56 +04:00
|
|
|
# Enable second screen and casting support for external devices.
|
|
|
|
MOZ_DEVICES=1
|
2014-06-11 22:00:17 +04:00
|
|
|
|
2014-11-04 07:04:19 +03:00
|
|
|
# Enable second screen using native Android libraries, provided we're
|
|
|
|
# not resource constrained.
|
|
|
|
if test -z "$MOZ_ANDROID_RESOURCE_CONSTRAINED"; then
|
|
|
|
MOZ_NATIVE_DEVICES=1
|
|
|
|
fi
|
2014-07-09 22:59:36 +04:00
|
|
|
|
2015-04-09 08:49:16 +03:00
|
|
|
# Enable install tracking SDK if we have Google Play support; MOZ_NATIVE_DEVICES
|
|
|
|
# is a proxy flag for that support.
|
|
|
|
if test "$RELEASE_BUILD"; then
|
|
|
|
if test "$MOZ_NATIVE_DEVICES"; then
|
|
|
|
MOZ_INSTALL_TRACKING=1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2014-07-11 05:38:23 +04:00
|
|
|
# Mark as WebGL conformant
|
|
|
|
MOZ_WEBGL_CONFORMANT=1
|
|
|
|
|
2014-10-10 22:50:36 +04:00
|
|
|
# Enable the Search Activity.
|
|
|
|
MOZ_ANDROID_SEARCH_ACTIVITY=1
|
2014-07-16 00:50:20 +04:00
|
|
|
|
2014-11-02 22:28:34 +03:00
|
|
|
# Enable the share handler.
|
|
|
|
MOZ_ANDROID_SHARE_OVERLAY=1
|
2014-08-06 01:37:59 +04:00
|
|
|
|
2014-10-17 20:33:00 +04:00
|
|
|
# Enable the Mozilla Location Service stumbler.
|
|
|
|
MOZ_ANDROID_MLS_STUMBLER=1
|
2014-09-17 03:43:56 +04:00
|
|
|
|
2015-08-10 21:07:29 +03:00
|
|
|
# Enable adding to the system downloads list.
|
2014-12-15 20:48:00 +03:00
|
|
|
MOZ_ANDROID_DOWNLOADS_INTEGRATION=1
|
2014-09-25 09:29:00 +04:00
|
|
|
|
2015-04-10 16:16:13 +03:00
|
|
|
# Enable Tab Queue
|
2015-08-05 19:27:50 +03:00
|
|
|
MOZ_ANDROID_TAB_QUEUE=1
|
2015-04-10 16:16:13 +03:00
|
|
|
|
2014-09-30 22:11:50 +04:00
|
|
|
# Use the low-memory GC tuning.
|
2014-10-27 23:29:44 +03:00
|
|
|
export JS_GC_SMALL_CHUNK_SIZE=1
|
2015-05-26 23:24:23 +03:00
|
|
|
|
2015-08-10 21:07:29 +03:00
|
|
|
# Enable Firefox Account avatars.
|
|
|
|
MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES=1
|
2015-06-11 07:22:00 +03:00
|
|
|
|
2015-08-27 20:49:48 +03:00
|
|
|
# Enable the Switchboard A/B framework code.
|
|
|
|
# Note: The framework is always included in the app. This flag controls
|
|
|
|
# usage of the framework.
|
|
|
|
if test "$NIGHTLY_BUILD"; then
|
|
|
|
MOZ_SWITCHBOARD=1
|
|
|
|
fi
|