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

Unified Diff: build/common.gypi

Issue 1264053002: CFI: Add a death test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build config Created 5 years, 5 months 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 | « base/tools_sanity_unittest.cc ('k') | no next file » | 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 3d2d05d24ace22cbf8b08a2f351db745f852902b..6d3ddfb45d78710880a81f2bc9aeaab831e4b68c 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -6166,6 +6166,17 @@
],
},
}],
+ ['cfi_vptr==1 and cfi_diag==0', {
+ 'target_defaults': {
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'defines': [
+ 'CFI_ENFORCEMENT',
+ ],
+ }],
+ ],
+ },
+ }],
['cfi_vptr==1', {
'target_defaults': {
'target_conditions': [
« no previous file with comments | « base/tools_sanity_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698