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 'conditions': [ | 5 'conditions': [ |
6 ['OS=="linux" or OS=="mac" or OS=="win"', { | 6 ['use_x11==0', { |
7 'variables': { | 7 'variables': { |
8 'files': [ | 8 'command': [ |
9 'test/data/', | |
10 '../testing/test_env.py', | 9 '../testing/test_env.py', |
11 '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)', | 10 '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)', |
| 11 '--brave-new-test-launcher', |
| 12 '--test-launcher-bot-mode', |
| 13 '--asan=<(asan)', |
| 14 '--msan=<(msan)', |
| 15 '--tsan=<(tsan)', |
12 ], | 16 ], |
13 }, | 17 }, |
14 }], | 18 }], |
15 ['OS=="linux"', { | 19 ['use_x11==1', { |
16 'variables': { | 20 'variables': { |
17 'command': [ | 21 'command': [ |
18 '../testing/xvfb.py', | 22 '../testing/xvfb.py', |
19 '<(PRODUCT_DIR)', | 23 '<(PRODUCT_DIR)', |
20 '<(PRODUCT_DIR)/cc_unittests', | 24 '<(PRODUCT_DIR)/cc_unittests', |
21 '--brave-new-test-launcher', | 25 '--brave-new-test-launcher', |
22 '--test-launcher-bot-mode', | 26 '--test-launcher-bot-mode', |
23 '--asan=<(asan)', | 27 '--asan=<(asan)', |
24 '--msan=<(msan)', | 28 '--msan=<(msan)', |
25 '--tsan=<(tsan)', | 29 '--tsan=<(tsan)', |
26 ], | 30 ], |
27 'files': [ | 31 'files': [ |
28 '../testing/xvfb.py', | 32 '../testing/xvfb.py', |
| 33 '<(PRODUCT_DIR)/xdisplaycheck', |
| 34 ], |
| 35 }, |
| 36 }], |
| 37 ['OS=="linux" or OS=="mac" or OS=="win"', { |
| 38 'variables': { |
| 39 'files': [ |
| 40 'test/data/', |
| 41 '../testing/test_env.py', |
| 42 '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)', |
| 43 ], |
| 44 }, |
| 45 }], |
| 46 ['OS=="linux"', { |
| 47 'variables': { |
| 48 'files': [ |
29 '<(PRODUCT_DIR)/libffmpegsumo.so', | 49 '<(PRODUCT_DIR)/libffmpegsumo.so', |
30 '<(PRODUCT_DIR)/libosmesa.so', | 50 '<(PRODUCT_DIR)/libosmesa.so', |
31 ], | 51 ], |
32 }, | 52 }, |
33 }], | 53 }], |
34 ['OS=="linux" and use_ozone==0', { | |
35 'variables': { | |
36 'files': [ | |
37 '<(PRODUCT_DIR)/xdisplaycheck', | |
38 ], | |
39 }, | |
40 }], | |
41 ['OS=="mac"', { | 54 ['OS=="mac"', { |
42 'variables': { | 55 'variables': { |
43 'command': [ | |
44 '../testing/test_env.py', | |
45 '<(PRODUCT_DIR)/cc_unittests', | |
46 '--brave-new-test-launcher', | |
47 '--test-launcher-bot-mode', | |
48 '--asan=<(asan)', | |
49 '--msan=<(msan)', | |
50 '--tsan=<(tsan)', | |
51 ], | |
52 'files': [ | 56 'files': [ |
53 '<(PRODUCT_DIR)/ffmpegsumo.so', | 57 '<(PRODUCT_DIR)/ffmpegsumo.so', |
54 '<(PRODUCT_DIR)/osmesa.so', | 58 '<(PRODUCT_DIR)/osmesa.so', |
55 ], | 59 ], |
56 }, | 60 }, |
57 }], | 61 }], |
58 ['OS=="win"', { | 62 ['OS=="win"', { |
59 'variables': { | 63 'variables': { |
60 'command': [ | |
61 '../testing/test_env.py', | |
62 '<(PRODUCT_DIR)/cc_unittests.exe', | |
63 '--brave-new-test-launcher', | |
64 '--test-launcher-bot-mode', | |
65 '--asan=<(asan)', | |
66 '--msan=<(msan)', | |
67 '--tsan=<(tsan)', | |
68 ], | |
69 'files': [ | 64 'files': [ |
70 '<(PRODUCT_DIR)/ffmpegsumo.dll', | 65 '<(PRODUCT_DIR)/ffmpegsumo.dll', |
71 '<(PRODUCT_DIR)/osmesa.dll', | 66 '<(PRODUCT_DIR)/osmesa.dll', |
72 ], | 67 ], |
73 }, | 68 }, |
74 }], | 69 }], |
75 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { | 70 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
76 'variables': { | 71 'variables': { |
77 'files': [ | 72 'files': [ |
78 '<(PRODUCT_DIR)/cc_unittests.exe.pdb', | 73 '<(PRODUCT_DIR)/cc_unittests.exe.pdb', |
79 ], | 74 ], |
80 }, | 75 }, |
81 }], | 76 }], |
82 ['OS=="mac" and asan==1 and fastbuild==0', { | 77 ['OS=="mac" and asan==1 and fastbuild==0', { |
83 'variables': { | 78 'variables': { |
84 'files': [ | 79 'files': [ |
85 '<(PRODUCT_DIR)/cc_unittests.dSYM/', | 80 '<(PRODUCT_DIR)/cc_unittests.dSYM/', |
86 ], | 81 ], |
87 }, | 82 }, |
88 }], | 83 }], |
89 ], | 84 ], |
90 'includes': [ | 85 'includes': [ |
91 '../base/base.isolate', | 86 '../base/base.isolate', |
| 87 '../third_party/angle/angle.isolate', |
92 ], | 88 ], |
93 } | 89 } |
OLD | NEW |