Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 1cbdd7b45a62b79c7572f94fb56e031b3ffd0e29..22eb9a5d83de05dd41d896a0809deb8cc8158b0c 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -286,6 +286,11 @@ |
'ldflags': [ |
'-fsanitize=<(skia_sanitizer)', |
], |
+ 'conditions' : [ |
+ [ 'skia_sanitizer == "thread"', { |
+ 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], |
+ }], |
+ ], |
}], |
[ 'skia_clang_build', { |
'cflags': [ |