mobile/android/config/mozconfigs/android-api-15-frontend/nightly
author Nick Alexander <nalexander@mozilla.com>
Wed, 26 Jul 2017 11:28:07 -0700
changeset 371753 781e8d0045d096947f419441b88a380902b4753f
parent 371391 9bc216bce3c6cb524c3937a66fa923e1a8b0894e
child 371767 71287bfefb0380c99e6ac5951bf8362cc0499a0f
permissions -rw-r--r--
Bug 1384680 - Generalize GRADLE_MAVEN_REPOSITORY to GRADLE_MAVEN_REPOSITORIES. r=gps,sebastian I'm confident nobody is configuring this locally, so there's no reason to keep the existing name (and grow the new semantics) nor to deprecate the existing name explicitly. MozReview-Commit-ID: HW3epgwZFpO

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

NO_CACHE=1
NO_NDK=1

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

ac_add_options --with-gradle="$topsrcdir/gradle-dist/bin/gradle"
export GRADLE_MAVEN_REPOSITORIES="file://$topsrcdir/jcentral"

unset HOST_CC
unset HOST_CXX
unset RUSTC
unset CARGO

ac_add_options --disable-compile-environment
ac_add_options --disable-tests

# From here on, like ../android-api-15/nightly.

ac_add_options --enable-profiling

# Android
ac_add_options --with-android-min-sdk=16
ac_add_options --target=arm-linux-androideabi

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

# This will overwrite the default of stripping everything and keep the symbol table.
# This is useful for profiling with eideticker. See bug 788680
STRIP_FLAGS="--strip-debug"

export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1

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