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

Side by Side Diff: media/cast/cast_unittests.isolate

Issue 996173004: Convert more isolate files to respect use_x11 for Xvfb usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 ['use_x11==0', {
7 'variables': {
8 'command': [
9 '../../testing/test_env.py',
10 '<(PRODUCT_DIR)/cast_unittests<(EXECUTABLE_SUFFIX)',
11 '--brave-new-test-launcher',
12 '--test-launcher-bot-mode',
13 '--asan=<(asan)',
14 '--msan=<(msan)',
15 '--tsan=<(tsan)',
16 ],
17 },
18 }],
19 ['use_x11==1', {
7 'variables': { 20 'variables': {
8 'command': [ 21 'command': [
9 '../../testing/xvfb.py', 22 '../../testing/xvfb.py',
10 '<(PRODUCT_DIR)', 23 '<(PRODUCT_DIR)',
11 '<(PRODUCT_DIR)/cast_unittests<(EXECUTABLE_SUFFIX)', 24 '<(PRODUCT_DIR)/cast_unittests<(EXECUTABLE_SUFFIX)',
12 '--brave-new-test-launcher', 25 '--brave-new-test-launcher',
13 '--test-launcher-bot-mode', 26 '--test-launcher-bot-mode',
14 '--asan=<(asan)', 27 '--asan=<(asan)',
15 '--msan=<(msan)', 28 '--msan=<(msan)',
16 '--tsan=<(tsan)', 29 '--tsan=<(tsan)',
17 ], 30 ],
18 'files': [ 31 'files': [
19 '../../testing/xvfb.py', 32 '../../testing/xvfb.py',
33 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
34 ],
35 },
36 }],
37 ['OS=="linux"', {
38 'variables': {
39 'files': [
20 '<(PRODUCT_DIR)/libffmpegsumo.so', 40 '<(PRODUCT_DIR)/libffmpegsumo.so',
21 ], 41 ],
22 }, 42 },
23 }], 43 }],
24 ['OS=="linux" and use_ozone==0', {
25 'variables': {
26 'files': [
27 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
28 ],
29 },
30 }],
31 ['OS=="linux" or OS=="mac" or OS=="win"', { 44 ['OS=="linux" or OS=="mac" or OS=="win"', {
32 'variables': { 45 'variables': {
33 'files': [ 46 'files': [
34 '../../testing/test_env.py', 47 '../../testing/test_env.py',
35 '<(PRODUCT_DIR)/cast_unittests<(EXECUTABLE_SUFFIX)', 48 '<(PRODUCT_DIR)/cast_unittests<(EXECUTABLE_SUFFIX)',
36 ], 49 ],
37 }, 50 },
38 }], 51 }],
39 ['OS=="mac"', { 52 ['OS=="mac"', {
40 'variables': { 53 'variables': {
41 'files': [ 54 'files': [
42 '<(PRODUCT_DIR)/ffmpegsumo.so', 55 '<(PRODUCT_DIR)/ffmpegsumo.so',
43 ], 56 ],
44 }, 57 },
45 }], 58 }],
46 ['OS=="mac" or OS=="win"', {
47 'variables': {
48 'command': [
49 '../../testing/test_env.py',
50 '<(PRODUCT_DIR)/cast_unittests<(EXECUTABLE_SUFFIX)',
51 '--brave-new-test-launcher',
52 '--test-launcher-bot-mode',
53 '--asan=<(asan)',
54 '--msan=<(msan)',
55 '--tsan=<(tsan)',
56 ],
57 },
58 }],
59 ['OS=="mac" and asan==1 and fastbuild==0', { 59 ['OS=="mac" and asan==1 and fastbuild==0', {
60 'variables': { 60 'variables': {
61 'files': [ 61 'files': [
62 '<(PRODUCT_DIR)/cast_unittests.dSYM/', 62 '<(PRODUCT_DIR)/cast_unittests.dSYM/',
63 ], 63 ],
64 }, 64 },
65 }], 65 }],
66 ['OS=="win"', { 66 ['OS=="win"', {
67 'variables': { 67 'variables': {
68 'files': [ 68 'files': [
69 '<(PRODUCT_DIR)/ffmpegsumo.dll', 69 '<(PRODUCT_DIR)/ffmpegsumo.dll',
70 ], 70 ],
71 }, 71 },
72 }], 72 }],
73 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 73 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
74 'variables': { 74 'variables': {
75 'files': [ 75 'files': [
76 '<(PRODUCT_DIR)/cast_unittests.exe.pdb', 76 '<(PRODUCT_DIR)/cast_unittests.exe.pdb',
77 ], 77 ],
78 }, 78 },
79 }], 79 }],
80 ], 80 ],
81 'includes': [ 81 'includes': [
82 '../../base/base.isolate', 82 '../../base/base.isolate',
83 ], 83 ],
84 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698