mobile/android/config/mozconfigs/android-api-16-gradle-dependencies/nightly
author Ciure Andrei <aciure@mozilla.com>
Thu, 07 Mar 2019 13:58:33 +0200
changeset 520740 e9b5af495b6bf00a4c664bf47ea1e7163128e22f
parent 520738 0f2b9b0bf9b966210b3e0dd6709cde35e33558a6
child 520743 3fb6c01dd2b0e1d4e8e0af450b831048d9274456
permissions -rw-r--r--
Backed out changeset 0f2b9b0bf9b9 (bug 1531176) for google-geolocation-api-keyfile build bustages CLOSED TREE

# Many things aren't appropriate for a frontend-only build.
MOZ_AUTOMATION_BUILD_SYMBOLS=0
MOZ_AUTOMATION_L10N_CHECK=0
MOZ_AUTOMATION_PACKAGE=0
MOZ_AUTOMATION_PACKAGE_TESTS=0
MOZ_AUTOMATION_UPLOAD=0
MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0

NO_CACHE=1
NO_NDK=1

. "$topsrcdir/mobile/android/config/mozconfigs/common"

# We want to download Gradle.
ac_add_options --with-gradle
# We want to use (and populate!) the local Nexus repositories.
export GRADLE_MAVEN_REPOSITORIES="http://localhost:8081/nexus/content/repositories/google/","http://localhost:8081/nexus/content/repositories/jcenter/","http://localhost:8081/nexus/content/repositories/gradle-plugins/"

# From here on, just like ../android-api-16-frontend/nightly.

. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --disable-tests

# Android
# Warning: Before increasing the with-android-min-sdk value, please note several places in and out
# of tree have to be changed. Otherwise, places like Treeherder or archive.mozilla.org will
# advertise a bad API level. This may confuse people. As an example, please look at bug 1384482.
# If you think you can't handle the whole set of changes, please reach out to the Release
# Engineering team.
ac_add_options --with-android-min-sdk=16
ac_add_options --target=arm-linux-androideabi

ac_add_options --with-branding=mobile/android/branding/nightly

# Pull code coverage dependencies too.
ac_add_options --enable-java-coverage

export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
export MOZ_ANDROID_MMA=1
export MOZ_ANDROID_POCKET=1

. "$topsrcdir/mobile/android/config/mozconfigs/common.override"

# End ../android-api-16-frontend/nightly.

# Disable Keyfile Loading (and checks) since dependency fetching doesn't need these keys.
# This overrides the settings in the common android mozconfig
ac_add_options --without-mozilla-api-keyfile
ac_add_options --without-google-api-keyfile
# We need dummy Keyfiles in order to enable features we care about.
ac_add_options --with-adjust-sdk-keyfile="$topsrcdir/mobile/android/base/adjust-sdk-sandbox.token"
ac_add_options --with-leanplum-sdk-keyfile="$topsrcdir/mobile/android/base/leanplum-sdk-sandbox.token"
ac_add_options --with-pocket-api-keyfile="$topsrcdir/mobile/android/base/pocket-api-sandbox.token"