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