diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /mobile/android/config/mozconfigs/android-arm-gradle-dependencies | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/config/mozconfigs/android-arm-gradle-dependencies')
3 files changed, 59 insertions, 0 deletions
diff --git a/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/base b/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/base new file mode 100644 index 0000000000..7384a99e0d --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/base @@ -0,0 +1,42 @@ +# 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 +# Some dependencies may be conditionally-loaded (eg. semanticdb compiler plugins) +ac_add_options --download-all-gradle-dependencies + +# 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" diff --git a/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/nightly b/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/nightly new file mode 100644 index 0000000000..17eb2d53be --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/nightly @@ -0,0 +1,7 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +. "$topsrcdir/build/mozconfig.no-compile" + +. "$topsrcdir/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/base" + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/nightly-lite b/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/nightly-lite new file mode 100644 index 0000000000..b6ce2a3e3b --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/nightly-lite @@ -0,0 +1,10 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +. "$topsrcdir/build/mozconfig.no-compile" + +# Android +ac_add_options --enable-geckoview-lite + +. "$topsrcdir/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/base" + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" |