Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 0ffcb8f44837fa08e3d4d88cf1f00c3b025d8344..ed704e36ee12ca4631dc3accc4f474f4e406006d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -847,6 +847,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.sh |
+ ['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, |