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

Side by Side Diff: ui/events/events_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/base/ui_base_unittests.isolate ('k') | ui/message_center/message_center_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 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', 10 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
11 ], 11 ],
12 }, 12 },
13 }], 13 }],
14 ['use_x11==0', { 14 ['OS=="linux"', {
15 'variables': {
16 'command': [
17 '../../testing/test_env.py',
18 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
19 '--brave-new-test-launcher',
20 '--test-launcher-bot-mode',
21 '--asan=<(asan)',
22 '--lsan=<(lsan)',
23 ],
24 },
25 }],
26 ['use_x11==1', {
27 'variables': { 15 'variables': {
28 'command': [ 16 'command': [
29 '../../testing/xvfb.py', 17 '../../testing/xvfb.py',
30 '<(PRODUCT_DIR)', 18 '<(PRODUCT_DIR)',
31 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', 19 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
32 '--brave-new-test-launcher', 20 '--brave-new-test-launcher',
33 '--test-launcher-bot-mode', 21 '--test-launcher-bot-mode',
34 '--asan=<(asan)', 22 '--asan=<(asan)',
35 '--lsan=<(lsan)', 23 '--lsan=<(lsan)',
36 ], 24 ],
37 'files': [ 25 'files': [
38 '../../testing/xvfb.py', 26 '../../testing/xvfb.py',
39 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 27 '<(PRODUCT_DIR)/libosmesa.so',
40 ], 28 ],
41 }, 29 },
42 }], 30 }],
43 ['OS=="linux" and use_ozone==0', { 31 ['OS=="linux" and use_ozone==0', {
44 'variables': { 32 'variables': {
45 'files': [ 33 'files': [
46 '<(PRODUCT_DIR)/libosmesa.so', 34 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
47 ], 35 ],
48 }, 36 },
49 }], 37 }],
50 ['OS=="mac"', { 38 ['OS=="mac"', {
51 'variables': { 39 'variables': {
52 'files': [ 40 'files': [
53 '<(PRODUCT_DIR)/osmesa.so', 41 '<(PRODUCT_DIR)/osmesa.so',
54 ], 42 ],
55 }, 43 },
56 }], 44 }],
57 ['OS=="win"', { 45 ['OS=="win"', {
58 'variables': { 46 'variables': {
59 'files': [ 47 'files': [
60 '<(PRODUCT_DIR)/osmesa.dll', 48 '<(PRODUCT_DIR)/osmesa.dll',
61 ], 49 ],
62 }, 50 },
63 }], 51 }],
52 ['OS=="mac" or OS=="win"', {
53 'variables': {
54 'command': [
55 '../../testing/test_env.py',
56 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
57 '--brave-new-test-launcher',
58 '--test-launcher-bot-mode',
59 '--asan=<(asan)',
60 '--lsan=<(lsan)',
61 ],
62 },
63 }],
64 ], 64 ],
65 'includes': [ 65 'includes': [
66 '../../base/base.isolate', 66 '../../base/base.isolate',
67 ], 67 ],
68 } 68 }
OLDNEW
« no previous file with comments | « ui/base/ui_base_unittests.isolate ('k') | ui/message_center/message_center_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698