. "$topsrcdir/mobile/android/config/mozconfigs/android-x86_64/nightly"

# Remove unwanted environment variables from the 'nightly' mozconfig.
unset MOZ_ANDROID_POCKET

ac_add_options --enable-debug-symbols=-gline-tables-only

. $topsrcdir/build/unix/mozconfig.asan
ac_add_options --disable-elf-hack
# prevent build failure even if some symbols required by asan are missing
export LDFLAGS="$LDFLAGS -Wl,--allow-shlib-undefined"

ac_add_options --enable-fuzzing
unset MOZ_STDCXX_COMPAT
unset ENABLE_CLANG_PLUGIN

# We don't have a native LLVM_SYMBOLIZER yet
unset LLVM_SYMBOLIZER

# 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"
