2019-07-21 09:11:03 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
git clone --depth 1 \
|
|
|
|
https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
|
|
|
2019-07-28 05:34:41 +00:00
|
|
|
export PATH="$PATH:$PWD/depot_tools"
|
2019-07-28 05:54:42 +00:00
|
|
|
export DEPOT_TOOLS_WIN_TOOLCHAIN=0
|
2019-07-28 05:29:09 +00:00
|
|
|
|
2019-07-28 05:54:42 +00:00
|
|
|
gclient config https://chromium.googlesource.com/chromium/src.git
|
2019-07-28 05:49:13 +00:00
|
|
|
gclient runhooks
|
|
|
|
|
2019-07-28 05:37:31 +00:00
|
|
|
PYTHONDONTWRITEBYTECODE=1 python2 "$PWD/depot_tools/gn.py" gen out/Default \
|
2019-07-25 16:41:55 +00:00
|
|
|
--args='target_cpu="x64" is_debug=false use_jumbo_build=true enable_nacl=false symbol_level=0 blink_symbol_level=0 enable_nacl_nonsfi=false use_gtk3=true use_gold=false treat_warnings_as_errors=false fatal_linker_warnings=false use_sysroot=false use_cups=false rtc_use_x11=true use_dbus=false safe_browsing_mode=0 use_pulseaudio=false use_use_gconf=false use_gio=false use_gnome_keyring=false use_kerberos=false'
|
|
|
|
|
2019-07-21 09:11:03 +00:00
|
|
|
ninja -C out/Release chrome chromedriver
|