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

Side by Side Diff: ui/base/ui_base_unittests.isolate

Issue 843713002: Revert "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
« no previous file with comments | « ui/app_list/app_list_unittests.isolate ('k') | ui/events/events_unittests.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'test/data/data_pack_unittest/truncated-header.pak', 10 'test/data/data_pack_unittest/truncated-header.pak',
11 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)', 11 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
12 '<(PRODUCT_DIR)/ui_test.pak', 12 '<(PRODUCT_DIR)/ui_test.pak',
13 ], 13 ],
14 }, 14 },
15 }], 15 }],
16 ['OS=="linux" or OS=="win"', { 16 ['OS=="linux" or OS=="win"', {
17 'variables': { 17 'variables': {
18 'files': [ 18 'files': [
19 '<(PRODUCT_DIR)/ui/en-US.pak', 19 '<(PRODUCT_DIR)/ui/en-US.pak',
20 '<(PRODUCT_DIR)/ui/ui_resources_100_percent.pak', 20 '<(PRODUCT_DIR)/ui/ui_resources_100_percent.pak',
21 ], 21 ],
22 }, 22 },
23 }], 23 }],
24 ['use_x11==0', { 24 ['OS=="linux"', {
25 'variables': {
26 'command': [
27 '../../testing/test_env.py',
28 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
29 '--brave-new-test-launcher',
30 '--test-launcher-bot-mode',
31 '--asan=<(asan)',
32 '--lsan=<(lsan)',
33 ],
34 },
35 }],
36 ['use_x11==1', {
37 'variables': { 25 'variables': {
38 'command': [ 26 'command': [
39 '../../testing/xvfb.py', 27 '../../testing/xvfb.py',
40 '<(PRODUCT_DIR)', 28 '<(PRODUCT_DIR)',
41 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)', 29 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
42 '--brave-new-test-launcher', 30 '--brave-new-test-launcher',
43 '--test-launcher-bot-mode', 31 '--test-launcher-bot-mode',
44 '--asan=<(asan)', 32 '--asan=<(asan)',
45 '--lsan=<(lsan)', 33 '--lsan=<(lsan)',
46 ], 34 ],
47 'files': [ 35 'files': [
48 '../../testing/xvfb.py', 36 '../../testing/xvfb.py',
37 '<(PRODUCT_DIR)/libosmesa.so',
38 ],
39 },
40 }],
41 ['OS=="linux" and use_ozone==0', {
42 'variables': {
43 'files': [
49 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 44 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
50 ], 45 ],
51 }, 46 },
52 }], 47 }],
53 ['OS=="linux"', {
54 'variables': {
55 'files': [
56 '<(PRODUCT_DIR)/libosmesa.so',
57 ],
58 },
59 }],
60 ['OS=="mac"', { 48 ['OS=="mac"', {
61 'variables': { 49 'variables': {
62 'files': [ 50 'files': [
63 '<(PRODUCT_DIR)/ui_unittests Framework.framework/', 51 '<(PRODUCT_DIR)/ui_unittests Framework.framework/',
64 '<(PRODUCT_DIR)/osmesa.so', 52 '<(PRODUCT_DIR)/osmesa.so',
65 ], 53 ],
66 }, 54 },
67 }], 55 }],
68 ['OS=="win"', { 56 ['OS=="win"', {
69 'variables': { 57 'variables': {
70 'files': [ 58 'files': [
71 '<(PRODUCT_DIR)/osmesa.dll', 59 '<(PRODUCT_DIR)/osmesa.dll',
72 ], 60 ],
73 }, 61 },
74 }], 62 }],
63 ['OS=="mac" or OS=="win"', {
64 'variables': {
65 'command': [
66 '../../testing/test_env.py',
67 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
68 '--brave-new-test-launcher',
69 '--test-launcher-bot-mode',
70 '--asan=<(asan)',
71 '--lsan=<(lsan)',
72 ],
73 },
74 }],
75 ], 75 ],
76 'includes': [ 76 'includes': [
77 '../../base/base.isolate', 77 '../../base/base.isolate',
78 ], 78 ],
79 } 79 }
OLDNEW
« no previous file with comments | « ui/app_list/app_list_unittests.isolate ('k') | ui/events/events_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698