OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'variables': { | 5 'variables': { |
6 'command': [ | 6 'command': [ |
7 '../testing/test_env.py', | 7 '../testing/test_env.py', |
8 '<(PRODUCT_DIR)/crypto_unittests<(EXECUTABLE_SUFFIX)', | 8 '<(PRODUCT_DIR)/skia_unittests<(EXECUTABLE_SUFFIX)', |
9 '--brave-new-test-launcher', | 9 '--brave-new-test-launcher', |
10 '--test-launcher-bot-mode', | 10 '--test-launcher-bot-mode', |
11 '--asan=<(asan)', | 11 '--asan=<(asan)', |
12 '--msan=<(msan)', | 12 '--msan=<(msan)', |
13 '--tsan=<(tsan)', | 13 '--tsan=<(tsan)', |
14 ], | 14 ], |
15 }, | 15 }, |
16 'conditions': [ | 16 'conditions': [ |
17 ['OS=="linux" or OS=="mac" or OS=="win"', { | 17 ['OS=="linux" or OS=="mac" or OS=="win"', { |
18 'variables': { | 18 'variables': { |
19 'files': [ | 19 'files': [ |
20 '../testing/test_env.py', | 20 '../testing/test_env.py', |
21 '<(PRODUCT_DIR)/crypto_unittests<(EXECUTABLE_SUFFIX)', | 21 '<(PRODUCT_DIR)/skia_unittests<(EXECUTABLE_SUFFIX)', |
22 ], | 22 ], |
23 'read_only': 1, | 23 'read_only': 1, |
24 }, | 24 }, |
25 }], | 25 }], |
26 ['OS=="mac" and asan==1 and fastbuild==0', { | 26 ['OS=="mac" and asan==1 and fastbuild==0', { |
27 'variables': { | 27 'variables': { |
28 'files': [ | 28 'files': [ |
29 '<(PRODUCT_DIR)/crypto_unittests.dSYM/', | 29 '<(PRODUCT_DIR)/skia_unittests.dSYM/', |
30 ], | 30 ], |
31 }, | 31 }, |
32 }], | 32 }], |
33 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { | 33 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
34 'variables': { | 34 'variables': { |
35 'files': [ | 35 'files': [ |
36 '<(PRODUCT_DIR)/crypto_unittests.exe.pdb', | 36 '<(PRODUCT_DIR)/skia_unittests.exe.pdb', |
37 ], | 37 ], |
38 }, | 38 }, |
39 }], | 39 }], |
40 ], | 40 ], |
41 'includes': [ | 41 'includes': [ |
42 '../base/base.isolate', | 42 '../base/base.isolate', |
43 ], | 43 ], |
44 } | 44 } |
Nico
2015/06/30 18:24:29
much boilerplate wow :-(
M-A Ruel
2015/06/30 18:28:18
The ASAN stuff (lines 26-39) is not really needed
| |
OLD | NEW |