summaryrefslogtreecommitdiffstats
path: root/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/base
blob: d246cf24d72282a35fc303c59e69100ad02770af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Many things aren't appropriate for a frontend-only build.
MOZ_AUTOMATION_BUILD_SYMBOLS=0
MOZ_AUTOMATION_PACKAGE=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/mozilla/","http://localhost:8081/nexus/content/repositories/google/","http://localhost:8081/nexus/content/repositories/central/","http://localhost:8081/nexus/content/repositories/gradle-plugins/"
# Nexus runs on HTTP
ac_add_options --allow-insecure-gradle-repositories

# From here on, just like ../android-arm/nightly.

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

ac_add_options --target=arm-linux-androideabi

ac_add_options --disable-tests

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

export MOZILLA_OFFICIAL=1

# mozconfigs/common.override would be here, but it needs to be last in the file.
# End ../android-arm/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-location-service-api-keyfile
ac_add_options --without-google-safebrowsing-api-keyfile

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