Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: chrome/interactive_ui_tests.isolate

Issue 813363003: Use Xvfb in isolated testing only if use_x11 is set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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"', { 6 ['OS=="linux" and use_x11==1', {
7 'variables': { 7 'variables': {
8 'command': [ 8 'command': [
9 '../testing/xvfb.py', 9 '../testing/xvfb.py',
10 '<(PRODUCT_DIR)', 10 '<(PRODUCT_DIR)',
11 '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)', 11 '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
12 '--test-launcher-bot-mode', 12 '--test-launcher-bot-mode',
13 '--asan=<(asan)', 13 '--asan=<(asan)',
14 '--lsan=<(lsan)', 14 '--lsan=<(lsan)',
15 ], 15 ],
16 'files': [ 16 'files': [
17 '../testing/xvfb.py', 17 '../testing/xvfb.py',
18 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
19 ],
20 },
21 }],
22 ['OS=="linux"', {
23 'variables': {
24 'files': [
18 '<(PRODUCT_DIR)/libffmpegsumo.so', 25 '<(PRODUCT_DIR)/libffmpegsumo.so',
19 '<(PRODUCT_DIR)/libosmesa.so', 26 '<(PRODUCT_DIR)/libosmesa.so',
20 '<(PRODUCT_DIR)/libppapi_tests.so', 27 '<(PRODUCT_DIR)/libppapi_tests.so',
21 '<(PRODUCT_DIR)/pyproto/google/', 28 '<(PRODUCT_DIR)/pyproto/google/',
22 ], 29 ],
23 }, 30 },
24 }], 31 }],
25 ['OS=="linux" and use_ozone==0', {
26 'variables': {
27 'files': [
28 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
29 ],
30 },
31 }],
32 ['OS=="linux" or OS=="mac" or OS=="win"', { 32 ['OS=="linux" or OS=="mac" or OS=="win"', {
33 'variables': { 33 'variables': {
34 'files': [ 34 'files': [
35 '../net/data/ssl/certificates/', 35 '../net/data/ssl/certificates/',
36 '../net/tools/testserver/', 36 '../net/tools/testserver/',
37 '../ppapi/tests/test_case.html', 37 '../ppapi/tests/test_case.html',
38 '../ppapi/tests/test_page.css', 38 '../ppapi/tests/test_page.css',
39 '../testing/test_env.py', 39 '../testing/test_env.py',
40 '../third_party/pyftpdlib/', 40 '../third_party/pyftpdlib/',
41 '../third_party/pywebsocket/', 41 '../third_party/pywebsocket/',
(...skipping 19 matching lines...) Expand all
61 'variables': { 61 'variables': {
62 'files': [ 62 'files': [
63 '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/', 63 '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
64 '<(PRODUCT_DIR)/<(mac_product_name).app/', 64 '<(PRODUCT_DIR)/<(mac_product_name).app/',
65 '<(PRODUCT_DIR)/ffmpegsumo.so', 65 '<(PRODUCT_DIR)/ffmpegsumo.so',
66 '<(PRODUCT_DIR)/osmesa.so', 66 '<(PRODUCT_DIR)/osmesa.so',
67 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests', 67 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
68 ], 68 ],
69 }, 69 },
70 }], 70 }],
71 ['OS=="mac" or OS=="win"', { 71 ['OS=="mac" or OS=="win" or use_ozone==1', {
72 'variables': { 72 'variables': {
73 'command': [ 73 'command': [
74 '../testing/test_env.py', 74 '../testing/test_env.py',
75 '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)', 75 '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
76 '--test-launcher-bot-mode', 76 '--test-launcher-bot-mode',
77 '--asan=<(asan)', 77 '--asan=<(asan)',
78 '--lsan=<(lsan)', 78 '--lsan=<(lsan)',
79 ], 79 ],
80 }, 80 },
81 }], 81 }],
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 '<(PRODUCT_DIR)/resources/chromeos/', 118 '<(PRODUCT_DIR)/resources/chromeos/',
119 ], 119 ],
120 }, 120 },
121 }], 121 }],
122 ], 122 ],
123 'includes': [ 123 'includes': [
124 '../base/base.isolate', 124 '../base/base.isolate',
125 '../gin/v8.isolate', 125 '../gin/v8.isolate',
126 ], 126 ],
127 } 127 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698