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

Side by Side Diff: chrome/browser_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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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)/browser_tests<(EXECUTABLE_SUFFIX)', 11 '<(PRODUCT_DIR)/browser_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)/libclearkeycdm.so', 25 '<(PRODUCT_DIR)/libclearkeycdm.so',
19 '<(PRODUCT_DIR)/libclearkeycdmadapter.so', 26 '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
20 '<(PRODUCT_DIR)/libppapi_tests.so', 27 '<(PRODUCT_DIR)/libppapi_tests.so',
21 ], 28 ],
22 }, 29 },
23 }], 30 }],
24 ['OS=="linux" and use_ozone==0', {
25 'variables': {
26 'files': [
27 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
28 ],
29 },
30 }],
31 ['OS=="linux" and libpeer_target_type=="loadable_module"', { 31 ['OS=="linux" and libpeer_target_type=="loadable_module"', {
32 'variables': { 32 'variables': {
33 'files': [ 33 'files': [
34 '<(PRODUCT_DIR)/lib/libpeerconnection.so', 34 '<(PRODUCT_DIR)/lib/libpeerconnection.so',
35 ], 35 ],
36 }, 36 },
37 }], 37 }],
38 ['OS=="linux" or OS=="mac" or OS=="win"', { 38 ['OS=="linux" or OS=="mac" or OS=="win"', {
39 'variables': { 39 'variables': {
40 'files': [ 40 'files': [
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 '<(PRODUCT_DIR)/clearkeycdmadapter.plugin', 151 '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
152 '<(PRODUCT_DIR)/content_shell.pak', 152 '<(PRODUCT_DIR)/content_shell.pak',
153 '<(PRODUCT_DIR)/libclearkeycdm.dylib', 153 '<(PRODUCT_DIR)/libclearkeycdm.dylib',
154 '<(PRODUCT_DIR)/osmesa.so', 154 '<(PRODUCT_DIR)/osmesa.so',
155 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/', 155 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
156 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/', 156 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
157 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests', 157 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
158 ], 158 ],
159 }, 159 },
160 }], 160 }],
161 ['OS=="mac" or OS=="win"', { 161 ['OS=="mac" or OS=="win" or use_ozone==1', {
162 'variables': { 162 'variables': {
163 'command': [ 163 'command': [
164 '../testing/test_env.py', 164 '../testing/test_env.py',
165 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', 165 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
166 '--test-launcher-bot-mode', 166 '--test-launcher-bot-mode',
167 '--asan=<(asan)', 167 '--asan=<(asan)',
168 '--lsan=<(lsan)', 168 '--lsan=<(lsan)',
169 ], 169 ],
170 }, 170 },
171 }], 171 }],
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 'browser/chromeos/login/test/https_forwarder.py', 224 'browser/chromeos/login/test/https_forwarder.py',
225 ], 225 ],
226 }, 226 },
227 }], 227 }],
228 ], 228 ],
229 'includes': [ 229 'includes': [
230 '../base/base.isolate', 230 '../base/base.isolate',
231 'chrome.isolate', 231 'chrome.isolate',
232 ], 232 ],
233 } 233 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698