mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
452c901e08
This saves dexing and shipping the Google Play Services and other Google libraries, which add resources and about 3megs of code. Due to ordering issues, the relevant flags and toggles were moved to configure.in and exposed early enough to be used by confvars.sh.
105 lines
2.4 KiB
Bash
105 lines
2.4 KiB
Bash
# 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/.
|
|
|
|
MOZ_APP_BASENAME=Fennec
|
|
MOZ_APP_VENDOR=Mozilla
|
|
|
|
MOZ_APP_VERSION=36.0a1
|
|
MOZ_APP_UA_NAME=Firefox
|
|
|
|
MOZ_BRANDING_DIRECTORY=mobile/android/branding/unofficial
|
|
MOZ_OFFICIAL_BRANDING_DIRECTORY=mobile/android/branding/official
|
|
# MOZ_APP_DISPLAYNAME is set by branding/configure.sh
|
|
|
|
# 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
|
|
|
|
MOZ_SAFE_BROWSING=1
|
|
|
|
MOZ_NO_SMART_CARDS=1
|
|
|
|
# Enable getUserMedia
|
|
MOZ_MEDIA_NAVIGATOR=1
|
|
|
|
# Enable NFC permission
|
|
MOZ_ANDROID_BEAM=1
|
|
|
|
if test "$LIBXUL_SDK"; then
|
|
MOZ_XULRUNNER=1
|
|
else
|
|
MOZ_XULRUNNER=
|
|
fi
|
|
|
|
MOZ_CAPTURE=1
|
|
MOZ_RAW=1
|
|
MOZ_PLACES=
|
|
MOZ_SOCIAL=
|
|
MOZ_ANDROID_HISTORY=1
|
|
MOZ_DISABLE_EXPORT_JS=1
|
|
|
|
# use custom widget for html:select
|
|
MOZ_USE_NATIVE_POPUP_WINDOWS=1
|
|
|
|
MOZ_APP_ID={aa3c5121-dab2-40e2-81ca-7ea25febc110}
|
|
|
|
MOZ_APP_STATIC_INI=1
|
|
|
|
# Enable on-demand decompression
|
|
MOZ_ENABLE_SZIP=1
|
|
|
|
# Enable navigator.mozPay
|
|
MOZ_PAY=1
|
|
|
|
# Enable UI for healthreporter
|
|
MOZ_SERVICES_HEALTHREPORT=1
|
|
|
|
# Wifi-AP/cell tower data reporting is enabled on non-release builds.
|
|
if test ! "$RELEASE_BUILD"; then
|
|
MOZ_DATA_REPORTING=1
|
|
fi
|
|
|
|
# Enable runtime locale switching.
|
|
MOZ_LOCALE_SWITCHER=1
|
|
|
|
# Enable second screen and casting support for external devices.
|
|
MOZ_DEVICES=1
|
|
|
|
# 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
|
|
|
|
# Mark as WebGL conformant
|
|
MOZ_WEBGL_CONFORMANT=1
|
|
|
|
# Enable the Search Activity.
|
|
MOZ_ANDROID_SEARCH_ACTIVITY=1
|
|
|
|
# Enable the new tablet UI in pre-release builds
|
|
# if the max Android sdk is undefined or at least 11.
|
|
if test ! "$RELEASE_BUILD"; then
|
|
MOZ_ANDROID_NEW_TABLET_UI=1
|
|
fi
|
|
|
|
# Enable the share handler in pre-release builds.
|
|
if test ! "$RELEASE_BUILD"; then
|
|
MOZ_ANDROID_SHARE_OVERLAY=1
|
|
fi
|
|
|
|
# Enable the Mozilla Location Service stumbler.
|
|
MOZ_ANDROID_MLS_STUMBLER=1
|
|
|
|
# Enable adding to the system downloads list in pre-release builds.
|
|
if test ! "$RELEASE_BUILD"; then
|
|
MOZ_ANDROID_DOWNLOADS_INTEGRATION=1
|
|
fi
|
|
|
|
# Enable generational GC on mobile.
|
|
JSGC_GENERATIONAL=1
|
|
|
|
# Use the low-memory GC tuning.
|
|
JS_GC_SMALL_CHUNK_SIZE=1
|