mobile/android/config/mozconfigs/android-api-15-frontend/nightly
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 24 Mar 2016 18:55:05 +0900
changeset 330788 bd956b7718c96998ed80143b0f77a7f0a1f87281
parent 322735 495bca66e5bb8aee6e03584d852f90b4214dc8b0
child 331651 26b2eb531d94055e19f05389b5646f4c3b1181ca
permissions -rw-r--r--
Bug 1259381 - Don't add --with-ccache in mozconfigs doing --disable-compile-environment or --enable-artifact-builds. r=chmanchester While moving the ccache flag, we're going to make it disappear when the compiler environment is not enabled, so adding --with-ccache will fail.

# 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_SDK=0
MOZ_AUTOMATION_UPDATE_PACKAGING=0
MOZ_AUTOMATION_UPLOAD=0
MOZ_AUTOMATION_UPLOAD_SYMBOLS=0

NO_CACHE=1

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

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

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=15
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

MOZ_ANDROID_GECKOLIBS_AAR=1

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