Commit 384ba48b authored by Alexander Dunaev's avatar Alexander Dunaev Committed by Commit Bot

--no-sandbox is added for Windows ASAN.

As sandbox is not yet supported by ASAN in Windows, it's better to add
--no-sandbox there.

Change-Id: I38430c95b4a0f5cfeee3ab389ddcb3e78721c027
Reviewed-on: https://chromium-review.googlesource.com/968421
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544765}
parent 76a76b64
......@@ -1022,6 +1022,11 @@ class MetaBuildWrapper(object):
self.WriteFailureAndRaise('No command line for %s found (test type %s).'
% (target, test_type), output_path=None)
if is_win and asan:
# Sandbox is not yet supported by ASAN for Windows.
# Perhaps this is only needed for tests that use the sandbox?
cmdline.append('--no-sandbox')
cmdline += isolate_map[target].get('args', [])
return cmdline, extra_files
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment