From f24795ca972b89a178ed4b2f8b4a23b80c94cb92 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 28 Jul 2019 08:34:41 +0300 Subject: [PATCH] chromium: Fix build. --- testing/chromium/build | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/testing/chromium/build b/testing/chromium/build index 19476133..63e81b2b 100755 --- a/testing/chromium/build +++ b/testing/chromium/build @@ -3,15 +3,9 @@ git clone --depth 1 \ https://chromium.googlesource.com/chromium/tools/depot_tools.git -export PATH="$PWD/depot_tools:$PATH" +export PATH="$PATH:$PWD/depot_tools" -# Fix python2 being assumed to be python. -cat << EOF > ./depot_tools/python -#!/bin/sh -python2 "$@" -EOF - -gn gen out/Default \ +PYTHONDONTWRITEBYTECODE=1 python2 ./gn.py gen out/Default \ --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' ninja -C out/Release chrome chromedriver