Style/readability clean-up for certificate reporting code
[chromium-blink-merge.git] / content / content_browsertests.isolate
blobca92600e395b22203b16218e5fe673a912b7971a
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
3 # found in the LICENSE file.
5   'conditions': [
6     ['use_x11==0', {
7       'variables': {
8         'command': [
9           '../testing/test_env.py',
10           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
11           '--test-launcher-bot-mode',
12           '--asan=<(asan)',
13           '--msan=<(msan)',
14           '--tsan=<(tsan)',
15         ],
16       },
17     }],
18     ['use_x11==1', {
19       'variables': {
20         'command': [
21           '../testing/xvfb.py',
22           '<(PRODUCT_DIR)',
23           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
24           '--test-launcher-bot-mode',
25           '--asan=<(asan)',
26           '--msan=<(msan)',
27           '--tsan=<(tsan)',
28         ],
29         'files': [
30           '../testing/xvfb.py',
31           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
32         ],
33       },
34     }],
35     ['OS=="android"', {
36       'variables': {
37         'files': [
38           '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
39         ],
40       },
41     }],
42     ['chromeos==1', {
43       'variables': {
44         'files': [
45           '<(PRODUCT_DIR)/content_shell.pak',
46         ],
47       },
48     }],
49     ['OS=="linux" or OS=="mac" or OS=="win"', {
50       'variables': {
51         'files': [
52           '<(PRODUCT_DIR)/content_shell.pak',
53         ],
54       },
55     }],
56     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
57       'variables': {
58         'files': [
59           '../media/test/data/',
60           '../net/data/',
61           'test/data/',
62         ],
63       },
64     }],
65     ['OS=="linux"', {
66       'variables': {
67         'files': [
68           '<(PRODUCT_DIR)/content_shell.pak',
69           '<(PRODUCT_DIR)/libosmesa.so',
70         ],
71       },
72     }],
73     ['OS=="linux" and enable_plugins==1', {
74       'variables': {
75         'files': [
76           '<(PRODUCT_DIR)/libppapi_tests.so',
77         ],
78       },
79     }],
80     ['OS=="linux" or OS=="mac" or OS=="win"', {
81       'variables': {
82         'files': [
83           '../net/tools/testserver/',
84           '../ppapi/tests/test_case.html',
85           '../ppapi/tests/test_page.css',
86           '../testing/test_env.py',
87           '../third_party/pyftpdlib/',
88           '../third_party/pywebsocket/',
89           '../third_party/tlslite/',
90           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
91         ],
92       },
93     }],
94     ['OS=="mac"', {
95       'variables': {
96         'files': [
97           '<(PRODUCT_DIR)/Content Shell.app/',
98           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
99           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
100         ],
101       },
102     }],
103     ['OS=="mac" and asan==1 and fastbuild==0', {
104       'variables': {
105         'files': [
106           '<(PRODUCT_DIR)/Content Shell Framework.framework.dSYM/',
107           '<(PRODUCT_DIR)/Content Shell Helper.app.dSYM/',
108           '<(PRODUCT_DIR)/Content Shell.app.dSYM/',
109           '<(PRODUCT_DIR)/content_browsertests.dSYM/',
110           '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
111           '<(PRODUCT_DIR)/test_netscape_plugin.plugin.dSYM/',
112         ],
113       },
114     }],
115     ['OS=="win"', {
116       'variables': {
117         'files': [
118           '<(PRODUCT_DIR)/content_shell.pak',
119           '<(PRODUCT_DIR)/osmesa.dll',
120           '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll',
121           '<(PRODUCT_DIR)/ppapi_tests.dll',
122         ],
123       },
124     }],
125     ['OS=="win" and target_arch=="ia32"', {
126       'variables': {
127         'files': [
128           '<(PRODUCT_DIR)/wow_helper.exe',
129         ],
130       },
131     }],
132     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
133       'variables': {
134         'files': [
135           '<(PRODUCT_DIR)/content_browsertests.exe.pdb',
136         ],
137       },
138     }],
139   ],
140   'includes': [
141     '../base/base.isolate',
142     '../gin/v8.isolate',
143     '../ui/gl/gl.isolate',
144   ],