mobile/android/config/mozconfigs/android/debug
author Lukas Blakk <lsblakk@mozilla.com>
Mon, 03 Feb 2014 17:04:18 -0800
changeset 176211 60c04d0987f1a263b1b5a9184c2cd44e0d89ed61
parent 175187 f6256a62e800338b486350466b15017e79510121
permissions -rw-r--r--
Merging in branding changes NO BUG CLOSED TREE ba=release

. "$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

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

ac_add_options --with-branding=mobile/android/branding/beta

# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
ac_add_options --enable-warnings-as-errors

# Use ccache
ac_add_options --with-ccache=/usr/bin/ccache

. "$topsrcdir/mobile/android/config/mozconfigs/common.override"