From e8c3033c47d158e798c5a8e2e960bde2cc727841 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 1 Aug 2019 11:08:15 +0300 Subject: [PATCH] chromium: Do official builds. --- testing/chromium/build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/testing/chromium/build b/testing/chromium/build index c335f803..348bcbdb 100755 --- a/testing/chromium/build +++ b/testing/chromium/build @@ -46,14 +46,18 @@ set -- \ use_unofficial_version_number=false \ fieldtrial_testing_like_official_build=false \ proprietary_codecs=false \ - target_cpu="x64" - # Clang is needed for this as well as additional patches/workarounds. - # is_official_build=true + target_cpu="x64" \ + is_official_build=true \ + is_cfi=true for patch in *.patch; do patch -p1 < "$patch" done +# Allow building against system libraries in official builds. +sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ + tools/generate_shim_headers/generate_shim_headers.py + # Fix 'python2' shebangs. find . -type f -name \*.py -exec sed -i '1s|python$|&2|' {} \;