From eef272bf9477b03e8a38a5f4fd43c9ea9aa5e1c0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 28 Jul 2019 08:29:09 +0300 Subject: [PATCH] chromium: Fix build. --- testing/chromium/build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/testing/chromium/build b/testing/chromium/build index 0489417c..19476133 100755 --- a/testing/chromium/build +++ b/testing/chromium/build @@ -3,7 +3,13 @@ git clone --depth 1 \ https://chromium.googlesource.com/chromium/tools/depot_tools.git -export PATH="$PATH:$PWD/depot_tools" +export PATH="$PWD/depot_tools:$PATH" + +# Fix python2 being assumed to be python. +cat << EOF > ./depot_tools/python +#!/bin/sh +python2 "$@" +EOF gn 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'