Mobile/QA/Tegra/MozconfigRelease

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../rel
mk_add_options MOZ_MAKE_FLAGS="-s"
ac_add_options --enable-application=browser

# Either --enable-debug or --enable-optimize should be specified;
# --enable-debugger-info-mobules ensures that debugging symbols are available
# even with an optimized build.

#ac_add_options --enable-debug
ac_add_options --enable-optimize
#ac_add_options --enable-debugger-info-modules

# Have to do libxul builds, or else the linker complains (it's buggy?)
ac_add_options --enable-libxul

ac_add_options --enable-jemalloc
ac_add_options --enable-splashscreen
ac_add_options --enable-faststripe

# buggy for ARM at the moment
ac_add_options --disable-ogg

ac_add_options --disable-windows-mobile-components

# Note that you need to give both CFLAGS and CXXFLAGS
export CFLAGS="-QRarch6 -QRfpe-"
export CXXFLAGS="-QRarch6 -QRfpe-"

# No need to build the tests for now
ac_add_options --enable-tests

# Disable some things that aren't necessary right now;
# these might or might not actually work should they be needed.
ac_add_options --disable-javaxpcom
ac_add_options --disable-accessibility
ac_add_options --disable-printing
ac_add_options --disable-oji
ac_add_options --disable-vista-sdk-requirements
ac_add_options --disable-updater
ac_add_options --disable-installer
ac_add_options --disable-dbm
 
CROSS_COMPILE=1
MIDL=/c/Program\ Files/Microsoft\ Visual\ Studio\ 9/VC/ce/bin/x86_arm/midl.exe

ac_add_options --target=arm-wince
ac_add_options --enable-win32-target=WINCE

ac_add_options --with-wince-sdk="c:/program files/windows ce tools/wce500/standardsdk_500"