summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 6aad1932..f457a2b 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'],