summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 800cefe..b2e8e6e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -855,6 +855,13 @@
'enable_prod_wallet_service%': 1,
}],
+ # Enable Control Flow Integrity for the official Linux Chrome.
+ # This triggers an LTO build that requires LLVM Gold plugin to be
+ # downloaded. See src/tools/clang/scripts/update.py
+ ['OS=="linux" and target_arch=="x64" and buildtype=="Official" and branding=="Chrome" and chromeos==0', {
+ 'cfi_vptr%': 1,
+ }],
+
# Enable hotwording on Chrome-branded ChromeOS builds.
['branding=="Chrome" and chromeos==1', {
'enable_hotwording%': 1,