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