OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 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=="android" or 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 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', |
10 ], | 11 ], |
11 }, | 12 }, |
12 }], | 13 }], |
13 ['OS=="linux"', { | 14 ['OS=="linux"', { |
14 'variables': { | 15 'variables': { |
15 'command': [ | 16 'command': [ |
16 '../testing/xvfb.py', | 17 '../../testing/xvfb.py', |
17 '<(PRODUCT_DIR)', | 18 '<(PRODUCT_DIR)', |
18 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | 19 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', |
19 '--brave-new-test-launcher', | 20 '--brave-new-test-launcher', |
20 '--test-launcher-bot-mode', | 21 '--test-launcher-bot-mode', |
21 '--asan=<(asan)', | 22 '--asan=<(asan)', |
22 '--lsan=<(lsan)', | 23 '--lsan=<(lsan)', |
23 ], | 24 ], |
24 'files': [ | 25 'files': [ |
25 '../testing/xvfb.py', | 26 '../../testing/xvfb.py', |
| 27 '<(PRODUCT_DIR)/libosmesa.so', |
26 ], | 28 ], |
27 }, | 29 }, |
28 }], | 30 }], |
29 ['OS=="linux" and use_ozone==0', { | 31 ['OS=="linux" and use_ozone==0', { |
30 'variables': { | 32 'variables': { |
31 'files': [ | 33 'files': [ |
32 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', | 34 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
33 ], | 35 ], |
34 }, | 36 }, |
35 }], | 37 }], |
36 ['OS=="linux" or OS=="mac" or OS=="win"', { | 38 ['OS=="mac"', { |
37 'variables': { | 39 'variables': { |
38 'files': [ | 40 'files': [ |
39 '../testing/test_env.py', | 41 '<(PRODUCT_DIR)/osmesa.so', |
40 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | |
41 ], | 42 ], |
42 'read_only': 1, | 43 }, |
| 44 }], |
| 45 ['OS=="win"', { |
| 46 'variables': { |
| 47 'files': [ |
| 48 '<(PRODUCT_DIR)/osmesa.dll', |
| 49 ], |
43 }, | 50 }, |
44 }], | 51 }], |
45 ['OS=="mac" or OS=="win"', { | 52 ['OS=="mac" or OS=="win"', { |
46 'variables': { | 53 'variables': { |
47 'command': [ | 54 'command': [ |
48 '../testing/test_env.py', | 55 '../../testing/test_env.py', |
49 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | 56 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', |
50 '--brave-new-test-launcher', | 57 '--brave-new-test-launcher', |
51 '--test-launcher-bot-mode', | 58 '--test-launcher-bot-mode', |
52 '--asan=<(asan)', | 59 '--asan=<(asan)', |
53 '--lsan=<(lsan)', | 60 '--lsan=<(lsan)', |
54 ], | 61 ], |
55 }, | 62 }, |
56 }], | 63 }], |
57 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { | |
58 'variables': { | |
59 'files': [ | |
60 '<(PRODUCT_DIR)/base_unittests.exe.pdb', | |
61 ], | |
62 }, | |
63 }], | |
64 ], | 64 ], |
65 'includes': [ | 65 'includes': [ |
66 'base.isolate', | 66 '../../base/base.isolate', |
67 ], | 67 ], |
68 } | 68 } |
OLD | NEW |