forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.sh
10 lines (6 loc) · 1.04 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if [ `uname` == 'Darwin' ] ; then export GYP_GENERATORS="ninja,xcode"; else export GYP_GENERATORS="msvs,ninja" ; fi
if [ $1 == 'x86' ] ; then export ARCH="ia32"; else export ARCH="x64"; fi
echo "Building for $ARCH"
./src/build/gyp_chromium -Dffmpeg_branding=Chrome -Dproprietary_codecs=1 -Dtarget_arch=$ARCH --no-circular-check src/content/content.gyp
#-Denable_themes=0 -Denable_plugins=0 -Denable_settings_app=0 -Denable_plugin_installation=0 -Denable_background=0 -Denable_spellcheck=0 -Ddisable_nacl=1 -Ddisable_pnacl=1 -Denable_task_manager=0 -Djava_bridge=0 -Duse_system_zlib=1 -Dgoogle_tv=0 -Dchromeos=0 -Dfastbuild=1 -Ddcheck_always_on=0 -Dlogging_like_official_build=0 -Dtracing_like_official_build=0 -Denable_extensions=0 -Denable_google_now=0 -Denable_app_list=0 -Denable_settings_app=0 -Denable_managed_users=0 -Denable_enhanced_bookmarks=0 -Duse_ash=0 -Duse_aura=0 -Dclang_use_chrome_plugins=0 -Dnacl_untrusted_build=0 -Duse_brlapi=0 -Dinternal_pdf=0 -Denable_one_click_signin=0 -Dsafe_browsing=0 --no-circular-check content/content.gyp