2014-10-11 18:22:55 +04:00
|
|
|
//#filter substitution
|
2013-04-10 04:10:47 +04:00
|
|
|
/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
|
|
|
|
* 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/. */
|
|
|
|
|
|
|
|
package org.mozilla.gecko;
|
|
|
|
|
2014-11-25 10:42:55 +03:00
|
|
|
import android.os.Build;
|
2014-11-25 02:37:30 +03:00
|
|
|
|
2013-05-16 07:08:43 +04:00
|
|
|
/**
|
|
|
|
* A collection of constants that pertain to the build and runtime state of the
|
|
|
|
* application. Typically these are sourced from build-time definitions (see
|
|
|
|
* Makefile.in). This is a Java-side substitute for nsIXULAppInfo, amongst
|
|
|
|
* other things.
|
|
|
|
*
|
|
|
|
* See also SysInfo.java, which includes some of the values available from
|
|
|
|
* nsSystemInfo inside Gecko.
|
|
|
|
*/
|
2014-11-25 02:37:30 +03:00
|
|
|
// Normally, we'd annotate with @RobocopTarget. Since AppConstants is compiled
|
|
|
|
// before RobocopTarget, we instead add o.m.g.AppConstants directly to the
|
|
|
|
// Proguard configuration.
|
2013-04-10 04:10:47 +04:00
|
|
|
public class AppConstants {
|
|
|
|
public static final String ANDROID_PACKAGE_NAME = "@ANDROID_PACKAGE_NAME@";
|
|
|
|
public static final String MANGLED_ANDROID_PACKAGE_NAME = "@MANGLED_ANDROID_PACKAGE_NAME@";
|
2013-05-16 07:08:43 +04:00
|
|
|
|
2016-02-13 21:13:10 +03:00
|
|
|
public static final String MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = "@ANDROID_PACKAGE_NAME@_fxaccount";
|
2015-01-21 22:15:24 +03:00
|
|
|
|
2014-07-30 19:19:34 +04:00
|
|
|
/**
|
|
|
|
* Encapsulates access to compile-time version definitions, allowing
|
|
|
|
* for dead code removal for particular APKs.
|
|
|
|
*/
|
|
|
|
public static final class Versions {
|
|
|
|
public static final int MIN_SDK_VERSION = @MOZ_ANDROID_MIN_SDK_VERSION@;
|
|
|
|
public static final int MAX_SDK_VERSION =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_ANDROID_MAX_SDK_VERSION
|
2014-07-30 19:19:34 +04:00
|
|
|
@MOZ_ANDROID_MAX_SDK_VERSION@;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2014-07-30 19:19:34 +04:00
|
|
|
999;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-07-30 19:19:34 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The SDK_INT >= N check can only pass if our MAX_SDK_VERSION is
|
|
|
|
* _greater than or equal_ to that number, because otherwise we
|
|
|
|
* won't be installed on the device.
|
|
|
|
*
|
|
|
|
* If MIN_SDK_VERSION is greater than or equal to the number, there
|
|
|
|
* is no need to do the runtime check.
|
|
|
|
*/
|
|
|
|
public static final boolean feature16Plus = MIN_SDK_VERSION >= 16 || (MAX_SDK_VERSION >= 16 && Build.VERSION.SDK_INT >= 16);
|
|
|
|
public static final boolean feature17Plus = MIN_SDK_VERSION >= 17 || (MAX_SDK_VERSION >= 17 && Build.VERSION.SDK_INT >= 17);
|
|
|
|
public static final boolean feature19Plus = MIN_SDK_VERSION >= 19 || (MAX_SDK_VERSION >= 19 && Build.VERSION.SDK_INT >= 19);
|
2015-05-29 01:22:08 +03:00
|
|
|
public static final boolean feature20Plus = MIN_SDK_VERSION >= 20 || (MAX_SDK_VERSION >= 20 && Build.VERSION.SDK_INT >= 20);
|
2014-10-20 22:30:56 +04:00
|
|
|
public static final boolean feature21Plus = MIN_SDK_VERSION >= 21 || (MAX_SDK_VERSION >= 21 && Build.VERSION.SDK_INT >= 21);
|
2017-02-14 23:57:26 +03:00
|
|
|
public static final boolean feature24Plus = MIN_SDK_VERSION >= 24 || (MAX_SDK_VERSION >= 24 && Build.VERSION.SDK_INT >= 24);
|
2014-07-30 19:19:34 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* If our MIN_SDK_VERSION is 14 or higher, we must be an ICS device.
|
|
|
|
* If our MAX_SDK_VERSION is lower than ICS, we must not be an ICS device.
|
|
|
|
* Otherwise, we need a range check.
|
|
|
|
*/
|
2016-03-07 06:18:00 +03:00
|
|
|
public static final boolean preMarshmallow = MAX_SDK_VERSION < 23 || (MIN_SDK_VERSION < 23 && Build.VERSION.SDK_INT < 23);
|
2014-10-20 22:30:56 +04:00
|
|
|
public static final boolean preLollipop = MAX_SDK_VERSION < 21 || (MIN_SDK_VERSION < 21 && Build.VERSION.SDK_INT < 21);
|
2014-08-20 17:10:06 +04:00
|
|
|
public static final boolean preJBMR2 = MAX_SDK_VERSION < 18 || (MIN_SDK_VERSION < 18 && Build.VERSION.SDK_INT < 18);
|
2015-04-17 19:22:47 +03:00
|
|
|
public static final boolean preJBMR1 = MAX_SDK_VERSION < 17 || (MIN_SDK_VERSION < 17 && Build.VERSION.SDK_INT < 17);
|
2014-07-30 19:19:34 +04:00
|
|
|
public static final boolean preJB = MAX_SDK_VERSION < 16 || (MIN_SDK_VERSION < 16 && Build.VERSION.SDK_INT < 16);
|
2016-09-27 19:06:26 +03:00
|
|
|
public static final boolean preN = MAX_SDK_VERSION < 24 || (MIN_SDK_VERSION < 24 && Build.VERSION.SDK_INT < 24);
|
2014-07-30 19:19:34 +04:00
|
|
|
}
|
|
|
|
|
2014-04-02 09:00:46 +04:00
|
|
|
/**
|
2015-05-06 05:10:50 +03:00
|
|
|
* The name of the Java class that represents the android application.
|
2014-04-02 09:00:46 +04:00
|
|
|
*/
|
2015-05-06 05:11:15 +03:00
|
|
|
public static final String MOZ_ANDROID_APPLICATION_CLASS = "@MOZ_ANDROID_APPLICATION_CLASS@";
|
2015-05-06 05:10:50 +03:00
|
|
|
/**
|
|
|
|
* The name of the Java class that launches the browser activity.
|
|
|
|
*/
|
2015-05-06 05:11:15 +03:00
|
|
|
public static final String MOZ_ANDROID_BROWSER_INTENT_CLASS = "@MOZ_ANDROID_BROWSER_INTENT_CLASS@";
|
2015-05-06 05:10:50 +03:00
|
|
|
/**
|
|
|
|
* The name of the Java class that launches the search activity.
|
|
|
|
*/
|
2015-05-06 05:11:15 +03:00
|
|
|
public static final String MOZ_ANDROID_SEARCH_INTENT_CLASS = "@MOZ_ANDROID_SEARCH_INTENT_CLASS@";
|
2014-04-02 09:00:46 +04:00
|
|
|
|
2013-05-16 07:08:43 +04:00
|
|
|
public static final String GRE_MILESTONE = "@GRE_MILESTONE@";
|
|
|
|
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final String MOZ_APP_ABI = "@MOZ_APP_ABI@";
|
|
|
|
public static final String MOZ_APP_BASENAME = "@MOZ_APP_BASENAME@";
|
2013-05-16 07:08:43 +04:00
|
|
|
|
2015-10-01 07:10:38 +03:00
|
|
|
// For the benefit of future archaeologists:
|
|
|
|
// GRE_BUILDID is exactly the same as MOZ_APP_BUILDID unless you're running
|
|
|
|
// on XULRunner, which is never the case on Android.
|
2016-02-09 10:13:37 +03:00
|
|
|
public static final String MOZ_APP_BUILDID = "@MOZ_BUILDID@";
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final String MOZ_APP_ID = "@MOZ_APP_ID@";
|
|
|
|
public static final String MOZ_APP_NAME = "@MOZ_APP_NAME@";
|
2013-05-16 07:08:43 +04:00
|
|
|
public static final String MOZ_APP_VENDOR = "@MOZ_APP_VENDOR@";
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final String MOZ_APP_VERSION = "@MOZ_APP_VERSION@";
|
2015-01-21 22:15:24 +03:00
|
|
|
public static final String MOZ_APP_DISPLAYNAME = "@MOZ_APP_DISPLAYNAME@";
|
2016-11-15 07:06:31 +03:00
|
|
|
public static final String MOZ_APP_UA_NAME = "@MOZ_APP_UA_NAME@";
|
2013-05-16 07:08:43 +04:00
|
|
|
|
2013-04-16 22:04:59 +04:00
|
|
|
// MOZILLA_VERSION is already quoted when it gets substituted in. If we
|
|
|
|
// add additional quotes we end up with ""x.y"", which is a syntax error.
|
|
|
|
public static final String MOZILLA_VERSION = @MOZILLA_VERSION@;
|
2013-05-16 07:08:43 +04:00
|
|
|
|
2015-02-07 01:08:35 +03:00
|
|
|
public static final String MOZ_MOZILLA_API_KEY = "@MOZ_MOZILLA_API_KEY@";
|
|
|
|
public static final boolean MOZ_STUMBLER_BUILD_TIME_ENABLED =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_ANDROID_MLS_STUMBLER
|
2015-02-07 01:08:35 +03:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2015-02-07 01:08:35 +03:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-08-28 23:52:00 +04:00
|
|
|
|
2015-10-28 03:42:35 +03:00
|
|
|
public static final boolean MOZ_ANDROID_GCM =
|
|
|
|
//#ifdef MOZ_ANDROID_GCM
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
public static final String MOZ_ANDROID_GCM_SENDERID =
|
|
|
|
//#ifdef MOZ_ANDROID_GCM_SENDERID
|
|
|
|
"@MOZ_ANDROID_GCM_SENDERID@";
|
|
|
|
//#else
|
|
|
|
null;
|
|
|
|
//#endif
|
|
|
|
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final String MOZ_CHILD_PROCESS_NAME = "@MOZ_CHILD_PROCESS_NAME@";
|
|
|
|
public static final String MOZ_UPDATE_CHANNEL = "@MOZ_UPDATE_CHANNEL@";
|
2013-06-13 00:24:14 +04:00
|
|
|
public static final String OMNIJAR_NAME = "@OMNIJAR_NAME@";
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final String OS_TARGET = "@OS_TARGET@";
|
2016-11-15 07:06:31 +03:00
|
|
|
public static final String TARGET_XPCOM_ABI = "@TARGET_XPCOM_ABI@";
|
2013-04-10 04:10:47 +04:00
|
|
|
|
|
|
|
public static final String USER_AGENT_BOT_LIKE = "Redirector/" + AppConstants.MOZ_APP_VERSION +
|
|
|
|
" (Android; rv:" + AppConstants.MOZ_APP_VERSION + ")";
|
|
|
|
|
2015-06-11 16:38:00 +03:00
|
|
|
public static final String USER_AGENT_FENNEC_MOBILE = "Mozilla/5.0 (Android " +
|
|
|
|
Build.VERSION.RELEASE + "; Mobile; rv:" +
|
2013-04-10 04:10:47 +04:00
|
|
|
AppConstants.MOZ_APP_VERSION + ") Gecko/" +
|
|
|
|
AppConstants.MOZ_APP_VERSION + " Firefox/" +
|
|
|
|
AppConstants.MOZ_APP_VERSION;
|
|
|
|
|
2015-06-11 16:38:00 +03:00
|
|
|
public static final String USER_AGENT_FENNEC_TABLET = "Mozilla/5.0 (Android " +
|
|
|
|
Build.VERSION.RELEASE + "; Tablet; rv:" +
|
2013-04-10 04:10:47 +04:00
|
|
|
AppConstants.MOZ_APP_VERSION + ") Gecko/" +
|
|
|
|
AppConstants.MOZ_APP_VERSION + " Firefox/" +
|
|
|
|
AppConstants.MOZ_APP_VERSION;
|
|
|
|
|
|
|
|
public static final int MOZ_MIN_CPU_VERSION = @MOZ_MIN_CPU_VERSION@;
|
|
|
|
|
|
|
|
public static final boolean MOZ_ANDROID_ANR_REPORTER =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_ANDROID_ANR_REPORTER
|
2013-04-10 04:10:47 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-04-10 04:10:47 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-04-10 04:10:47 +04:00
|
|
|
|
|
|
|
public static final String MOZ_PKG_SPECIAL =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_PKG_SPECIAL
|
2013-04-10 04:10:47 +04:00
|
|
|
"@MOZ_PKG_SPECIAL@";
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-04-10 04:10:47 +04:00
|
|
|
null;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-04-10 04:10:47 +04:00
|
|
|
|
2015-09-24 05:28:59 +03:00
|
|
|
public static final boolean MOZ_EXCLUDE_HYPHENATION_DICTIONARIES =
|
|
|
|
//#ifdef MOZ_EXCLUDE_HYPHENATION_DICTIONARIES
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
|
|
|
|
2013-05-11 08:28:17 +04:00
|
|
|
public static final boolean MOZ_SERVICES_HEALTHREPORT =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_SERVICES_HEALTHREPORT
|
2013-05-11 08:28:17 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-05-11 08:28:17 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-05-11 08:28:17 +04:00
|
|
|
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final boolean MOZ_TELEMETRY_ON_BY_DEFAULT =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
|
2013-04-10 04:10:47 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-04-10 04:10:47 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-04-10 04:10:47 +04:00
|
|
|
|
2013-05-22 21:23:53 +04:00
|
|
|
public static final String TELEMETRY_PREF_NAME =
|
|
|
|
"toolkit.telemetry.enabled";
|
|
|
|
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final boolean MOZ_TELEMETRY_REPORTING =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_TELEMETRY_REPORTING
|
2013-04-10 04:10:47 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-04-10 04:10:47 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-04-10 04:10:47 +04:00
|
|
|
|
2013-05-11 08:28:17 +04:00
|
|
|
public static final boolean MOZ_CRASHREPORTER =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#if MOZ_CRASHREPORTER
|
2013-05-11 08:28:17 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-05-11 08:28:17 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-05-11 08:28:17 +04:00
|
|
|
|
|
|
|
public static final boolean MOZ_DATA_REPORTING =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_DATA_REPORTING
|
2013-05-11 08:28:17 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-05-11 08:28:17 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-05-11 08:28:17 +04:00
|
|
|
|
2014-06-05 06:21:33 +04:00
|
|
|
public static final boolean MOZ_LOCALE_SWITCHER =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_LOCALE_SWITCHER
|
2014-06-05 06:21:33 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2014-06-05 06:21:33 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-06-05 06:21:33 +04:00
|
|
|
|
2013-04-10 04:10:47 +04:00
|
|
|
public static final boolean MOZ_UPDATER =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_UPDATER
|
2013-04-10 04:10:47 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-04-10 04:10:47 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-04-10 04:10:47 +04:00
|
|
|
|
2014-07-30 19:19:34 +04:00
|
|
|
// Android Beam is only supported on API14+, so we don't even bother building
|
|
|
|
// it if this APK doesn't include API14 support.
|
2013-04-18 00:08:11 +04:00
|
|
|
public static final boolean MOZ_ANDROID_BEAM =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_ANDROID_BEAM
|
2016-09-22 18:50:23 +03:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-04-18 00:08:11 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2013-08-08 21:40:26 +04:00
|
|
|
|
|
|
|
// See this wiki page for more details about channel specific build defines:
|
|
|
|
// https://wiki.mozilla.org/Platform/Channel-specific_build_defines
|
2016-10-08 12:14:49 +03:00
|
|
|
public static final boolean RELEASE_OR_BETA =
|
|
|
|
//#ifdef RELEASE_OR_BETA
|
2013-08-08 21:40:26 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2013-08-08 21:40:26 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-04-25 22:45:52 +04:00
|
|
|
|
2014-12-09 02:17:32 +03:00
|
|
|
public static final boolean NIGHTLY_BUILD =
|
|
|
|
//#ifdef NIGHTLY_BUILD
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
|
|
|
|
2014-04-25 22:45:52 +04:00
|
|
|
public static final boolean DEBUG_BUILD =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_DEBUG
|
2014-04-25 22:45:52 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2014-04-25 22:45:52 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-05-05 22:27:55 +04:00
|
|
|
|
2014-06-23 11:23:00 +04:00
|
|
|
public static final boolean MOZ_MEDIA_PLAYER =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_NATIVE_DEVICES
|
2014-06-23 11:23:00 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2014-06-23 11:23:00 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-06-23 11:23:00 +04:00
|
|
|
|
2014-05-05 22:27:55 +04:00
|
|
|
// Official corresponds, roughly, to whether this build is performed on
|
|
|
|
// Mozilla's continuous integration infrastructure. You should disable
|
|
|
|
// developer-only functionality when this flag is set.
|
|
|
|
public static final boolean MOZILLA_OFFICIAL =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZILLA_OFFICIAL
|
2014-05-05 22:27:55 +04:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2014-05-05 22:27:55 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-09-25 09:29:00 +04:00
|
|
|
|
|
|
|
public static final boolean ANDROID_DOWNLOADS_INTEGRATION =
|
2014-10-11 18:22:55 +04:00
|
|
|
//#ifdef MOZ_ANDROID_DOWNLOADS_INTEGRATION
|
2016-09-22 18:50:23 +03:00
|
|
|
true;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#else
|
2014-09-25 09:29:00 +04:00
|
|
|
false;
|
2014-10-11 18:22:55 +04:00
|
|
|
//#endif
|
2014-11-21 01:39:10 +03:00
|
|
|
|
2015-01-29 21:43:40 +03:00
|
|
|
public static final boolean MOZ_DRAGGABLE_URLBAR = false;
|
|
|
|
|
2015-04-09 08:49:16 +03:00
|
|
|
public static final boolean MOZ_INSTALL_TRACKING =
|
|
|
|
//#ifdef MOZ_INSTALL_TRACKING
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
2015-08-05 02:54:00 +03:00
|
|
|
|
2015-08-27 20:49:48 +03:00
|
|
|
public static final boolean MOZ_SWITCHBOARD =
|
|
|
|
//#ifdef MOZ_SWITCHBOARD
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
|
|
|
|
2015-11-10 16:33:07 +03:00
|
|
|
/**
|
|
|
|
* Target CPU architecture: "armeabi-v7a", "x86, "mips", ..
|
|
|
|
*/
|
|
|
|
public static final String ANDROID_CPU_ARCH = "@ANDROID_CPU_ARCH@";
|
2015-12-02 22:28:00 +03:00
|
|
|
|
|
|
|
public static final boolean MOZ_ANDROID_EXCLUDE_FONTS =
|
|
|
|
//#ifdef MOZ_ANDROID_EXCLUDE_FONTS
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
public static final boolean MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE =
|
|
|
|
//#ifdef MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
2016-03-01 04:22:55 +03:00
|
|
|
|
2016-05-30 17:48:45 +03:00
|
|
|
public static final boolean MOZ_ANDROID_CUSTOM_TABS =
|
|
|
|
//#ifdef MOZ_ANDROID_CUSTOM_TABS
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
|
|
|
|
2016-04-22 21:23:36 +03:00
|
|
|
// (bug 1266820) Temporarily disabled since no one is working on it.
|
|
|
|
public static final boolean SCREENSHOTS_IN_BOOKMARKS_ENABLED = false;
|
2016-07-20 23:06:40 +03:00
|
|
|
|
2016-07-23 02:16:41 +03:00
|
|
|
public static final boolean MOZ_ANDROID_ACTIVITY_STREAM =
|
|
|
|
//#ifdef MOZ_ANDROID_ACTIVITY_STREAM
|
|
|
|
true;
|
|
|
|
//#else
|
|
|
|
false;
|
|
|
|
//#endif
|
2013-04-10 04:10:47 +04:00
|
|
|
}
|