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