Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 7a03f64a7ecf09d9886e7519ff0c5cc7cb814117..ddfd1d300a1ebfd918c98a6afb30b8fde37e8333 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -435,8 +435,10 @@ |
# Enable asan, tsan, etc. |
[ 'skia_sanitizer', { |
'cflags': [ |
- '-fsanitize=<(skia_sanitizer)', |
- '-fno-sanitize-recover=<(skia_sanitizer)', |
+ '-fsanitize=<(skia_sanitizer)', # Turn on sanitizers. |
+ '-fno-sanitize-recover=<(skia_sanitizer)', # Make any failure fatal. |
+ '-fsanitize-blacklist=<(skia_sanitizer_blacklist)', # Compile in our blacklist. |
+ '-include <(skia_sanitizer_blacklist)', # Make every .cpp depend on it. |
], |
'ldflags': [ |
'-fsanitize=<(skia_sanitizer)', |