Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: build/standalone.gypi

Issue 1089393004: Let asan imply clang and use_allocator=none. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698