base (1924B)
1 # Many things aren't appropriate for a frontend-only build. 2 MOZ_AUTOMATION_BUILD_SYMBOLS=0 3 MOZ_AUTOMATION_PACKAGE=0 4 MOZ_AUTOMATION_UPLOAD=0 5 MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0 6 7 NO_CACHE=1 8 NO_NDK=1 9 10 . "$topsrcdir/mobile/android/config/mozconfigs/common" 11 12 # We want to download Gradle. 13 ac_add_options --with-gradle 14 # We want to use (and populate!) the local Nexus repositories. 15 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","file://$WORKSPACE/android-gradle-dependencies/plugins.gradle.org/m2/" 16 # Nexus runs on HTTP 17 ac_add_options --allow-insecure-gradle-repositories 18 # Some dependencies may be conditionally-loaded (eg. semanticdb compiler plugins) 19 ac_add_options --download-all-gradle-dependencies 20 21 # `android-gradle-dependencies` runs with `--dry-run`, so we don't 22 # need the _runtime_ `embedded-uniffi-bindgen` or `numbus-fml` dependencies. 23 ac_add_options --without-embedded-uniffi-bindgen 24 ac_add_options --without-nimbus-fml 25 26 # From here on, just like ../android-arm/nightly. 27 28 . "$topsrcdir/build/mozconfig.no-compile" 29 30 ac_add_options --target=arm-linux-androideabi 31 32 ac_add_options --disable-tests 33 34 ac_add_options --with-branding=mobile/android/branding/nightly 35 36 export MOZILLA_OFFICIAL=1 37 38 # mozconfigs/common.override would be here, but it needs to be last in the file. 39 # End ../android-arm/nightly. 40 41 # Disable Keyfile Loading (and checks) since dependency fetching doesn't need these keys. 42 # This overrides the settings in the common android mozconfig 43 ac_add_options --without-mozilla-api-keyfile 44 ac_add_options --without-google-location-service-api-keyfile 45 ac_add_options --without-google-safebrowsing-api-keyfile 46 47 . "$topsrcdir/mobile/android/config/mozconfigs/common.override"