diff --git a/testing/chromium/build b/testing/chromium/build index daafaa1b..211090d6 100755 --- a/testing/chromium/build +++ b/testing/chromium/build @@ -19,6 +19,10 @@ exec python2 "\$@" EOF chmod +x ./fix-python-bin/python +# Use system nodejs. +mkdir -p third_party/node/linux/node-linux-x64/bin +ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/ + # Use system libraries. for dep in ffmpeg fontconfig harfbuzz-ng libdrm libevent libjpeg \ libpng libwebp libxml libxslt opus re2 snappy yasm; do @@ -37,7 +41,7 @@ python2 build/linux/unbundle/replace_gn_files.py \ --system-libraries ffmpeg fontconfig harfbuzz-ng libdrm libevent libjpeg libpng libwebp libxml libxslt opus re2 snappy yasm python2 tools/gn/bootstrap/bootstrap.py -s -v \ - --gn-gen-args 'is_debug=false use_jumbo_build=true enable_nacl=false symbol_level=0 blink_symbol_level=0 enable_nacl_nonsfi=false use_gold=false treat_warnings_as_errors=false fatal_linker_warnings=false use_sysroot=false use_cups=false rtc_use_x11=true is_clang=false use_atk=false use_dbus=false safe_browsing_mode=0 use_pulseaudio=false use_gperf=false use_gconf=false use_gio=false use_gnome_keyring=false use_kerberos=false' + --gn-gen-args 'is_debug=false use_jumbo_build=true enable_nacl=false symbol_level=0 blink_symbol_level=0 enable_nacl_nonsfi=false use_gold=false treat_warnings_as_errors=false fatal_linker_warnings=false use_sysroot=false use_cups=false rtc_use_x11=true is_clang=false use_atk=false use_dbus=false safe_browsing_mode=0 use_pulseaudio=false use_gperf=false use_gconf=false use_gio=false use_gnome_keyring=false use_kerberos=false use_allocator="none" use_allocator_shim=false use_system_harfbuzz=true clang_use_chrome_plugins=false custom_toolchain="//build/toolchain/linux/unbundle:default" linux_use_bundled_binutils=false use_custom_libcxx=false use_lld=false' out/Release/gn gen out/Release \ --script-executable=/usr/bin/python2