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-x86_64/nightly | |
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 '')
6 files changed, 75 insertions, 0 deletions
diff --git a/mobile/android/config/mozconfigs/android-x86_64/nightly b/mobile/android/config/mozconfigs/android-x86_64/nightly new file mode 100644 index 0000000000..457d93d4d3 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-x86_64/nightly @@ -0,0 +1,10 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +# Android +ac_add_options --target=x86_64-linux-android + +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-x86_64/nightly-artifact b/mobile/android/config/mozconfigs/android-x86_64/nightly-artifact new file mode 100644 index 0000000000..a56061dccd --- /dev/null +++ b/mobile/android/config/mozconfigs/android-x86_64/nightly-artifact @@ -0,0 +1,12 @@ +. "$topsrcdir/build/mozconfig.artifact.automation" + +NO_CACHE=1 +NO_NDK=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly" + +. "$topsrcdir/build/mozconfig.artifact" + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-x86_64/nightly-artifact-lite b/mobile/android/config/mozconfigs/android-x86_64/nightly-artifact-lite new file mode 100644 index 0000000000..cc0918045c --- /dev/null +++ b/mobile/android/config/mozconfigs/android-x86_64/nightly-artifact-lite @@ -0,0 +1,12 @@ +. "$topsrcdir/build/mozconfig.artifact.automation" + +NO_CACHE=1 +NO_NDK=1 + +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly-lite" + +. "$topsrcdir/build/mozconfig.artifact" + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-x86_64/nightly-fuzzing-asan b/mobile/android/config/mozconfigs/android-x86_64/nightly-fuzzing-asan new file mode 100644 index 0000000000..4a63f438bf --- /dev/null +++ b/mobile/android/config/mozconfigs/android-x86_64/nightly-fuzzing-asan @@ -0,0 +1,29 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly" + +# Remove unwanted environment variables from the 'nightly' mozconfig. +unset MOZ_ANDROID_POCKET + +# We still need to build with debug symbols +ac_add_options --disable-debug +ac_add_options --enable-optimize="-O2 -gline-tables-only" + +. $topsrcdir/build/unix/mozconfig.asan +ac_add_options --disable-elf-hack + +ac_add_options --enable-fuzzing +unset MOZ_STDCXX_COMPAT +unset ENABLE_CLANG_PLUGIN + +# Add the path to the clang_rt used, so it can be packaged with the build. +if [ -d "$MOZ_FETCHES_DIR/clang" ]; then + CLANG_LIB_DIR="$(cd $MOZ_FETCHES_DIR/clang/lib/clang/*/lib/linux && pwd)" + export MOZ_CLANG_RT_ASAN_LIB_PATH="${CLANG_LIB_DIR}/libclang_rt.asan-x86_64-android.so" +fi + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +# This adds '-fuzzing-asan' to the APK filename for local builds. +export MOZ_PKG_SPECIAL=fuzzing-asan + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-x86_64/nightly-fuzzing-asan-lite b/mobile/android/config/mozconfigs/android-x86_64/nightly-fuzzing-asan-lite new file mode 100644 index 0000000000..beb35d13d8 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-x86_64/nightly-fuzzing-asan-lite @@ -0,0 +1,5 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly-lite" + +. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly-fuzzing-asan" + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" diff --git a/mobile/android/config/mozconfigs/android-x86_64/nightly-lite b/mobile/android/config/mozconfigs/android-x86_64/nightly-lite new file mode 100644 index 0000000000..abdb120300 --- /dev/null +++ b/mobile/android/config/mozconfigs/android-x86_64/nightly-lite @@ -0,0 +1,7 @@ +. "$topsrcdir/mobile/android/config/mozconfigs/common" + +ac_add_options --enable-geckoview-lite + +. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly" + +. "$topsrcdir/mobile/android/config/mozconfigs/common.override" |