Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 859577e1a330bd13b44119563554a79a0ba16f18..1f90d6f9f119484f6fe5ed64f4ae4b0836015b40 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -451,6 +451,9 @@ |
[ 'skia_sanitizer == "thread"', { |
'defines': [ 'THREAD_SANITIZER' ], |
}], |
+ [ 'skia_sanitizer == "memory"', { |
+ 'cflags': [ '-fsanitize-memory-track-origins' ], |
+ }], |
], |
}], |
[ 'skia_clang_build', { |