2012-09-05 12:09:50 -07:00
|
|
|
. "$topsrcdir/mobile/android/config/mozconfigs/common"
|
|
|
|
|
2012-05-23 11:03:36 -07:00
|
|
|
# L10n
|
|
|
|
ac_add_options --with-l10n-base=../../l10n-central
|
|
|
|
|
|
|
|
# Global options
|
|
|
|
ac_add_options --disable-tests
|
|
|
|
|
|
|
|
# Mozilla-Central nightlies only since this has a cost in performance
|
|
|
|
ac_add_options --enable-js-diagnostics
|
|
|
|
|
|
|
|
# Build Fennec
|
|
|
|
ac_add_options --enable-application=mobile/android
|
|
|
|
|
|
|
|
# Android
|
|
|
|
ac_add_options --target=arm-linux-androideabi
|
|
|
|
ac_add_options --with-arch=armv6
|
2013-05-08 15:25:03 -07:00
|
|
|
|
|
|
|
if test `uname -m` = 'x86_64'; then
|
2013-06-05 20:43:05 -07:00
|
|
|
ac_add_options --with-android-ndk="$topsrcdir/android-ndk"
|
2013-05-08 15:25:03 -07:00
|
|
|
ac_add_options --with-android-sdk="$topsrcdir/android-sdk-linux/platforms/android-16"
|
2013-06-06 15:32:37 -07:00
|
|
|
ac_add_options --with-android-gnu-compiler-version=4.7
|
2013-05-08 15:25:03 -07:00
|
|
|
else
|
|
|
|
ac_add_options --with-android-ndk="/tools/android-ndk-r8c"
|
|
|
|
ac_add_options --with-android-sdk="/tools/android-sdk-r16/platforms/android-16"
|
2013-06-06 15:32:37 -07:00
|
|
|
ac_add_options --with-android-gnu-compiler-version=4.6
|
2013-05-08 15:25:03 -07:00
|
|
|
fi
|
|
|
|
|
2013-03-14 20:28:07 -07:00
|
|
|
ac_add_options --with-android-version=9
|
2012-05-23 11:03:36 -07:00
|
|
|
ac_add_options --with-system-zlib
|
|
|
|
ac_add_options --enable-updater
|
|
|
|
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
|
|
|
|
|
|
|
export JAVA_HOME=/tools/jdk6
|
|
|
|
export MOZILLA_OFFICIAL=1
|
2012-06-19 06:24:53 -07:00
|
|
|
export MOZ_PKG_SPECIAL=armv6
|
2012-05-23 11:03:36 -07:00
|
|
|
|
|
|
|
ac_add_options --with-branding=mobile/android/branding/nightly
|
2013-01-22 11:16:20 -08:00
|
|
|
|
|
|
|
. "$topsrcdir/mobile/android/config/mozconfigs/common.override"
|