Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index e4e0bd4ce2d09aabfeca9e4f6d50f985a1bd72a1..2266d98346ac094614260105e18df31e69533ed6 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -66,6 +66,10 @@ |
'host_arch%': '<(host_arch)', |
'target_arch%': '<(target_arch)', |
'v8_target_arch%': '<(target_arch)', |
+ 'asan%': 0, |
+ 'lsan%': 0, |
+ 'msan%': 0, |
+ 'tsan%': 0, |
# goma settings. |
# 1 to use goma. |
@@ -87,6 +91,10 @@ |
'werror%': '-Werror', |
'use_goma%': '<(use_goma)', |
'gomadir%': '<(gomadir)', |
+ 'asan%': '<(asan)', |
+ 'lsan%': '<(lsan)', |
+ 'msan%': '<(msan)', |
+ 'tsan%': '<(tsan)', |
# .gyp files or targets should set v8_code to 1 if they build V8 specific |
# code, as opposed to external code. This variable is used to control such |
@@ -158,6 +166,10 @@ |
}, { |
'host_clang%': '0', |
}], |
+ ['asan==1 or lsan==1 or msan==1 or tsan==1', { |
+ 'clang%': 1, |
+ 'use_allocator%': 'none', |
+ }], |
], |
# Default ARM variable settings. |
'arm_version%': 'default', |