mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
. "$topsrcdir/mobile/android/config/mozconfigs/common"
|
|
|
|
# Global options
|
|
ac_add_options --enable-debug
|
|
ac_add_options --disable-unified-compilation
|
|
|
|
# Build Fennec
|
|
ac_add_options --enable-application=mobile/android
|
|
|
|
# Android
|
|
ac_add_options --target=arm-linux-androideabi
|
|
ac_add_options --with-arch=armv6
|
|
|
|
if test `uname -m` = 'x86_64'; then
|
|
ac_add_options --with-android-ndk="$topsrcdir/android-ndk"
|
|
ac_add_options --with-android-sdk="$topsrcdir/android-sdk-linux/platforms/android-16"
|
|
else
|
|
ac_add_options --with-android-ndk="/tools/android-ndk-r8c"
|
|
ac_add_options --with-android-sdk="/tools/android-sdk-r16/platforms/android-16"
|
|
fi
|
|
|
|
ac_add_options --with-android-gnu-compiler-version=4.7
|
|
ac_add_options --with-android-version=9
|
|
ac_add_options --with-system-zlib
|
|
|
|
export JAVA_HOME=/tools/jdk6
|
|
export MOZILLA_OFFICIAL=1
|
|
export MOZ_TELEMETRY_REPORTING=1
|
|
export MOZ_PKG_SPECIAL=armv6
|
|
|
|
ac_add_options --with-branding=mobile/android/branding/nightly
|
|
|
|
# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
|
|
ac_add_options --enable-warnings-as-errors
|
|
|
|
# Use ccache
|
|
. "$topsrcdir/build/mozconfig.cache"
|
|
|
|
. "$topsrcdir/mobile/android/config/mozconfigs/common.override"
|