diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /mobile/android/config/mozconfigs/android-arm | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
16 files changed, 293 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..d246cf24d7 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm-gradle-dependencies/base @@ -0,0 +1,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" 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" diff --git a/mobile/android/config/mozconfigs/android-arm/beta b/mobile/android/config/mozconfigs/android-arm/beta new file mode 100644 index 0000000000..6d76977c94 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/beta @@ -0,0 +1,10 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Android +ac_add_options --target=arm-linux-androideabi + +ac_add_options --with-branding=mobile/android/branding/beta + +export MOZILLA_OFFICIAL=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/debug b/mobile/android/config/mozconfigs/android-arm/debug new file mode 100644 index 0000000000..baa3290944 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/debug @@ -0,0 +1,16 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Global options +ac_add_options --enable-debug + +# Android +ac_add_options --target=arm-linux-androideabi + +export MOZILLA_OFFICIAL=1 + +ac_add_options --with-branding=mobile/android/branding/nightly + +# Workaround gold bug (see bug 1807993) +ac_add_options --enable-linker=lld + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/debug-beta b/mobile/android/config/mozconfigs/android-arm/debug-beta new file mode 100644 index 0000000000..ca8697c647 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/debug-beta @@ -0,0 +1,13 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Global options +ac_add_options --enable-debug + +# Android +ac_add_options --target=arm-linux-androideabi + +export MOZILLA_OFFICIAL=1 + +ac_add_options --with-branding=mobile/android/branding/beta + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/debug-ccov b/mobile/android/config/mozconfigs/android-arm/debug-ccov new file mode 100644 index 0000000000..9dc98f1971 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/debug-ccov @@ -0,0 +1,21 @@ +. "$topsrcdir/build/mozconfig.artifact.automation" + +NO_CACHE=1 +NO_NDK=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Global options +ac_add_options --enable-debug +ac_add_options --enable-java-coverage + +# Android +ac_add_options --target=arm-linux-androideabi + +. "$topsrcdir/mobile/android/config/mozconfigs/android-arm/debug" + +. "$topsrcdir/build/mozconfig.artifact" + +ac_add_options --with-branding=mobile/android/branding/nightly + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/debug-ccov-lite b/mobile/android/config/mozconfigs/android-arm/debug-ccov-lite new file mode 100644 index 0000000000..04bc844085 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/debug-ccov-lite @@ -0,0 +1,22 @@ +. "$topsrcdir/build/mozconfig.artifact.automation" + +NO_CACHE=1 +NO_NDK=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Global options +ac_add_options --enable-debug +ac_add_options --enable-java-coverage + +# Android +ac_add_options --target=arm-linux-androideabi +ac_add_options --enable-geckoview-lite + +. "$topsrcdir/mobile/android/config/mozconfigs/android-arm/debug" + +. "$topsrcdir/build/mozconfig.artifact" + +ac_add_options --with-branding=mobile/android/branding/nightly + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/debug-lite b/mobile/android/config/mozconfigs/android-arm/debug-lite new file mode 100644 index 0000000000..be2a05fe59 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/debug-lite @@ -0,0 +1,14 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Global options +ac_add_options --enable-debug + +# Android +ac_add_options --target=arm-linux-androideabi +ac_add_options --enable-geckoview-lite + +export MOZILLA_OFFICIAL=1 + +ac_add_options --with-branding=mobile/android/branding/nightly + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/debug-searchfox b/mobile/android/config/mozconfigs/android-arm/debug-searchfox new file mode 100644 index 0000000000..2eb2259917 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/debug-searchfox @@ -0,0 +1,18 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Global options +ac_add_options --enable-debug + +# Android +ac_add_options --target=arm-linux-androideabi + +export MOZILLA_OFFICIAL=1 + +ac_add_options --with-branding=mobile/android/branding/nightly + +# Workaround gold bug (see bug 1807993) +ac_add_options --enable-linker=lld + +ac_add_options --enable-mozsearch-plugin + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/l10n-nightly b/mobile/android/config/mozconfigs/android-arm/l10n-nightly new file mode 100644 index 0000000000..62e02bcc3e --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/l10n-nightly @@ -0,0 +1,23 @@ +NO_NDK=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +. "$topsrcdir/mobile/android/config/mozconfigs/android-arm/nightly" + +# L10n + +# Don't autoclobber l10n, as this can lead to missing binaries and broken builds +# Bug 1283438 +mk_add_options AUTOCLOBBER= + +. "$topsrcdir/build/mozconfig.no-compile" + +# Global options +ac_add_options --disable-tests +ac_add_options --disable-nodejs +unset NODEJS + +ac_add_options --enable-updater +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/l10n-nightly-lite b/mobile/android/config/mozconfigs/android-arm/l10n-nightly-lite new file mode 100644 index 0000000000..21d7fe55a3 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/l10n-nightly-lite @@ -0,0 +1,9 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +. "$topsrcdir/mobile/android/config/mozconfigs/android-arm/nightly-lite" + +. "$topsrcdir/build/mozconfig.no-compile" + +. "$topsrcdir/mobile/android/config/mozconfigs/android-arm/l10n-nightly" + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/nightly b/mobile/android/config/mozconfigs/android-arm/nightly new file mode 100644 index 0000000000..c9232056e5 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/nightly @@ -0,0 +1,10 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Android +ac_add_options --target=arm-linux-androideabi + +ac_add_options --with-branding=mobile/android/branding/nightly + +export MOZILLA_OFFICIAL=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-arm/nightly-android-lints b/mobile/android/config/mozconfigs/android-arm/nightly-android-lints new file mode 100644 index 0000000000..094ca33ebd --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/nightly-android-lints @@ -0,0 +1,34 @@ +# 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" + +. "$topsrcdir/build/mozconfig.no-compile" + +ac_add_options --disable-tests + +# From here on, like ../android-arm/nightly. + +# Android +ac_add_options --target=arm-linux-androideabi + +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. +# 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/nightly-android-lints-lite b/mobile/android/config/mozconfigs/android-arm/nightly-android-lints-lite new file mode 100644 index 0000000000..bb0410e077 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/nightly-android-lints-lite @@ -0,0 +1,35 @@ +# 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" + +. "$topsrcdir/build/mozconfig.no-compile" + +ac_add_options --disable-tests + +# From here on, like ../android-arm/nightly. + +# Android +ac_add_options --target=arm-linux-androideabi +ac_add_options --enable-geckoview-lite + +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. +# 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/nightly-lite b/mobile/android/config/mozconfigs/android-arm/nightly-lite new file mode 100644 index 0000000000..46172b8f62 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-arm/nightly-lite @@ -0,0 +1,11 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Android +ac_add_options --target=arm-linux-androideabi +ac_add_options --enable-geckoview-lite + +ac_add_options --with-branding=mobile/android/branding/nightly + +export MOZILLA_OFFICIAL=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" |