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

Side by Side Diff: content/content_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 | « content/content_browsertests.isolate ('k') | ui/app_list/app_list_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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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=="android" or OS=="linux" or OS=="mac" or OS=="win"', { 6 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
7 'variables': { 7 'variables': {
8 'files': [ 8 'files': [
9 '../media/test/data/', 9 '../media/test/data/',
10 'test/data/', 10 'test/data/',
(...skipping 15 matching lines...) Expand all
26 }, 26 },
27 }], 27 }],
28 ['OS=="linux" or OS=="mac" or OS=="win"', { 28 ['OS=="linux" or OS=="mac" or OS=="win"', {
29 'variables': { 29 'variables': {
30 'files': [ 30 'files': [
31 '../testing/test_env.py', 31 '../testing/test_env.py',
32 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)', 32 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
33 ], 33 ],
34 }, 34 },
35 }], 35 }],
36 ['use_x11==0', { 36 ['OS=="linux"', {
37 'variables': {
38 'command': [
39 '../testing/test_env.py',
40 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
41 '--brave-new-test-launcher',
42 '--test-launcher-bot-mode',
43 '--asan=<(asan)',
44 '--lsan=<(lsan)',
45 ],
46 },
47 }],
48 ['use_x11==1', {
49 'variables': { 37 'variables': {
50 'command': [ 38 'command': [
51 '../testing/xvfb.py', 39 '../testing/xvfb.py',
52 '<(PRODUCT_DIR)', 40 '<(PRODUCT_DIR)',
53 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)', 41 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
54 '--brave-new-test-launcher', 42 '--brave-new-test-launcher',
55 '--test-launcher-bot-mode', 43 '--test-launcher-bot-mode',
56 '--asan=<(asan)', 44 '--asan=<(asan)',
57 '--lsan=<(lsan)', 45 '--lsan=<(lsan)',
58 ], 46 ],
59 'files': [ 47 'files': [
60 '../testing/xvfb.py', 48 '../testing/xvfb.py',
61 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
62 ],
63 },
64 }],
65 ['OS=="linux"', {
66 'variables': {
67 'files': [
68 '<(PRODUCT_DIR)/libffmpegsumo.so', 49 '<(PRODUCT_DIR)/libffmpegsumo.so',
69 '<(PRODUCT_DIR)/libosmesa.so', 50 '<(PRODUCT_DIR)/libosmesa.so',
70 ], 51 ],
71 }, 52 },
72 }], 53 }],
54 ['OS=="linux" and use_ozone==0', {
55 'variables': {
56 'files': [
57 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
58 ],
59 },
60 }],
73 ['OS=="mac"', { 61 ['OS=="mac"', {
74 'variables': { 62 'variables': {
63 'command': [
64 '../testing/test_env.py',
65 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
66 '--brave-new-test-launcher',
67 '--test-launcher-bot-mode',
68 '--asan=<(asan)',
69 '--lsan=<(lsan)',
70 ],
75 'files': [ 71 'files': [
76 '<(PRODUCT_DIR)/ffmpegsumo.so', 72 '<(PRODUCT_DIR)/ffmpegsumo.so',
77 '<(PRODUCT_DIR)/osmesa.so', 73 '<(PRODUCT_DIR)/osmesa.so',
78 ], 74 ],
79 }, 75 },
80 }], 76 }],
81 ['OS=="win"', { 77 ['OS=="win"', {
82 'variables': { 78 'variables': {
79 'command': [
80 '../testing/test_env.py',
81 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
82 '--brave-new-test-launcher',
83 '--test-launcher-bot-mode',
84 '--asan=<(asan)',
85 '--lsan=<(lsan)',
86 ],
83 'files': [ 87 'files': [
84 '<(PRODUCT_DIR)/ffmpegsumo.dll', 88 '<(PRODUCT_DIR)/ffmpegsumo.dll',
85 '<(PRODUCT_DIR)/osmesa.dll', 89 '<(PRODUCT_DIR)/osmesa.dll',
86 ], 90 ],
87 }, 91 },
88 }], 92 }],
89 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 93 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
90 'variables': { 94 'variables': {
91 'files': [ 95 'files': [
92 '<(PRODUCT_DIR)/content_unittests.exe.pdb', 96 '<(PRODUCT_DIR)/content_unittests.exe.pdb',
93 ], 97 ],
94 }, 98 },
95 }], 99 }],
96 ], 100 ],
97 'includes': [ 101 'includes': [
98 '../base/base.isolate', 102 '../base/base.isolate',
99 '../gin/v8.isolate', 103 '../gin/v8.isolate',
100 ], 104 ],
101 } 105 }
OLDNEW
« no previous file with comments | « content/content_browsertests.isolate ('k') | ui/app_list/app_list_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698