mobile/android/config/mozconfigs/android-api-15-gradle-dependencies/nightly
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 05 Apr 2016 10:56:42 +0900
changeset 293215 f8cf0fe7c810ee49bcb4efb27405073ae6156971
parent 292349 96dbbe35b47f6b6ff63d32fdac0895240fde458b
child 306739 efc0b2d797abeb7624071731e6cb25704b502bae
permissions -rw-r--r--
Bug 1259382 - Move CC/CXX/HOST_CC/HOST_CXX to moz.configure. r=ted At the same time, we improve things slightly by deriving HOST_CC from CC in a smarter way, as well as CXX from CC, which we weren't doing previously. Many related things are not moved at the same time to keep the patch somehow "small".

# 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
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 repository.
export GRADLE_MAVEN_REPOSITORY="http://localhost:8081/nexus/content/repositories/central/"

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

ac_add_options --disable-compile-environment
unset HOST_CC
unset HOST_CXX

ac_add_options --disable-tests

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"