Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 6aad19325c20f5db52f73e155b51b654733d7b79..f457a2b20fd4f86a09fe299eeb4242630e77c713 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -622,6 +622,7 @@ |
}, |
'Debug_Base': { |
'abstract': 1, |
+ 'defines': ['DYNAMIC_ANNOTATIONS_ENABLED=1'], |
'xcode_settings': { |
'COPY_PHASE_STRIP': 'NO', |
'GCC_OPTIMIZATION_LEVEL': '<(mac_debug_optimization)', |
@@ -694,7 +695,9 @@ |
}, |
'conditions': [ |
['release_valgrind_build==0', { |
- 'defines': ['NVALGRIND'], |
+ 'defines': ['NVALGRIND', 'DYNAMIC_ANNOTATIONS_ENABLED=0'], |
+ }, { |
+ 'defines': ['DYNAMIC_ANNOTATIONS_ENABLED=1'], |
}], |
['win_use_allocator_shim==0', { |
'defines': ['NO_TCMALLOC'], |