

. $topsrcdir/browser/config/mozconfig

mk_add_options 'PROFILE_GEN_SCRIPT=$(PYTHON) $(OBJDIR)/_profile/pgo/profileserver.py'

##
## CPU Optimization
##
#ac_add_options --enable-optimize="-Ox -GLAs -fp:fast -GS- -D_CRT_NOFORCE_MANIFEST -D_STL_NOFORCE_MANIFEST -D_STATIC_CPPLIB"
#ac_add_options --enable-optimize="-Ox -GLAs -arch:SSE -fp:fast -GS- -D_CRT_NOFORCE_MANIFEST -D_STL_NOFORCE_MANIFEST -D_STATIC_CPPLIB"
#ac_add_options --enable-optimize="-Ox -GLAs -arch:SSE -fp:fast -GS- -D_CRT_NOFORCE_MANIFEST -D_STL_NOFORCE_MANIFEST -D_STATIC_CPPLIB"
ac_add_options --enable-optimize="-Ox -GLAs -arch:SSE2 -fp:fast -GS- -D_CRT_NOFORCE_MANIFEST -D_STL_NOFORCE_MANIFEST -D_STATIC_CPPLIB"

#
# Localized Firefox
#
ac_add_options --with-l10n-base=../l10n
#ac_add_options --enable-ui-locale=zh-TW
#ac_add_options --enable-ui-locale=zh-CN
ac_add_options --enable-ui-locale=ja
#ac_add_options --enable-ui-locale=de
#ac_add_options --enable-ui-locale=hu
#ac_add_options --enable-ui-locale=nl
#ac_add_options --enable-ui-locale=fr

##
## Official branding
##
ac_add_options --enable-official-branding

##
## Installer
##
ac_add_options --disable-installer

##
## Static or Dynmatic
##
ac_add_options --enable-shared
ac_add_options --disable-static
#ac_add_options --enable-static
#ac_add_options --disable-shared
#ac_add_options --disable-libxul

##
## Synchronize with official build
##
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --enable-update-channel=release
#ac_add_options --enable-update-channel=nightly
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --enable-update-packaging

##
## Other settings
##
ac_add_options --enable-jemalloc
ac_add_options --disable-crashreporter
ac_add_options --disable-auto-deps
ac_add_options --disable-debug
ac_add_options --disable-tests

