Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index 0c1ad352b06dc065aecf0e245827cf5dcf607412..a534d5ccb76b211fbc66503a1c08018348354d34 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -639,6 +639,12 @@ |
'module_dir': 'base' |
}, |
'conditions': [ |
+ ['cfi_vptr==1 and cfi_cast==1', { |
+ 'defines': [ |
+ # TODO(krasin): remove CFI_CAST_CHECK, see https://crbug.com/626794. |
+ 'CFI_CAST_CHECK', |
+ ], |
+ }], |
['OS == "ios" or OS == "mac"', { |
'dependencies': [ |
'base_unittests_arc', |