Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 5d02b3cb6b2f4c55e0dc855f12bf47e15c2dfb40..8f33f653527a793247d36d3f378a6d0ff03b44ab 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.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, |