Let asan imply clang and use_allocator=none.
authormachenbach <machenbach@chromium.org>
Fri, 17 Apr 2015 08:13:20 +0000 (01:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Apr 2015 08:13:12 +0000 (08:13 +0000)
BUG=

Review URL: https://codereview.chromium.org/1089393004

Cr-Commit-Position: refs/heads/master@{#27905}

build/standalone.gypi

index e4e0bd4..2266d98 100644 (file)
       '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.
     '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
       }, {
         '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',