Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: build/common.gypi

Issue 1502233004: Enable Control Flow Integrity for the official Linux Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/sanitizers/sanitizers.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index dc57c6cad03ca88801fc5072ec2126d41d211ac9..905116638b554d7c56ee1436b923cde20ab5f42b 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
pcc1 2015/12/08 21:03:01 FYI, update.sh is no more. (Probably can be addres
krasin 2015/12/08 21:08:16 Thanks. I agree and will address in a follow up.
+ ['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,
« no previous file with comments | « no previous file | build/config/sanitizers/sanitizers.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698