disable two ClientCertStoreChromeOSTest.* unit_tests on Valgrind bots
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob6de780bd5a88eb1228497d20512e2278ff5874be
1 # Copyright (c) 2012 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)/browser_tests<(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)/browser_tests<(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=="linux"', {
36       'variables': {
37         'files': [
38           '<(PRODUCT_DIR)/libclearkeycdm.so',
39           '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
40           '<(PRODUCT_DIR)/libpower_saver_test_plugin.so',
41           '<(PRODUCT_DIR)/libppapi_tests.so',
42         ],
43       },
44     }],
45     ['OS=="linux" and branding=="Chrome" and enable_pepper_cdms==1', {
46       'variables': {
47         'files': [
48           '<(PRODUCT_DIR)/libwidevinecdm.so',
49           '<(PRODUCT_DIR)/libwidevinecdmadapter.so',
50         ],
51       },
52     }],
53     ['OS=="linux" and libpeer_target_type=="loadable_module"', {
54       'variables': {
55         'files': [
56           '<(PRODUCT_DIR)/lib/libpeerconnection.so',
57         ],
58       },
59     }],
60     ['OS=="linux" or OS=="mac" or OS=="win"', {
61       'variables': {
62         'files': [
63           '../content/test/data/',
64           '../google_apis/test/',
65           '../media/test/data/',
66           '../media/test/data/',
67           '../net/data/',
68           '../net/tools/testserver/',
69           '../ppapi/tests/test_case.html',
70           '../ppapi/tests/test_case.html.mock-http-headers',
71           '../ppapi/tests/test_page.css',
72           '../ppapi/tests/test_page.css.mock-http-headers',
73           '../testing/test_env.py',
74           '../third_party/accessibility-audit/axs_testing.js',
75           '../third_party/mocha/mocha.js',
76           '../third_party/pyftpdlib/',
77           '../third_party/pywebsocket/',
78           '../third_party/safe_browsing/',
79           '../third_party/simplejson/',
80           '../third_party/tlslite/',
81           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
82           '<(PRODUCT_DIR)/browser_tests.pak',
83           '<(PRODUCT_DIR)/pseudo_locales/',
84           '<(PRODUCT_DIR)/pyproto/',
85           # TODO(jam): above is directory for GYP. GN uses:
86           #'<(SHARED_INTERMEDIATE_DIR)/google/',
87           #'<(SHARED_INTERMEDIATE_DIR)/policy/proto/',
88           '<(PRODUCT_DIR)/remoting/unittests/',
89           '<(PRODUCT_DIR)/test_case.html',
90           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
91           '<(PRODUCT_DIR)/test_data/',
92           '<(PRODUCT_DIR)/test_page.css',
93           '<(PRODUCT_DIR)/test_page.css.mock-http-headers',
94           '<(PRODUCT_DIR)/test_url_loader_data/',
95           'browser/policy/test/asn1der.py',
96           'browser/policy/test/policy_testserver.py',
97           'common/extensions/docs/examples/apps/calculator/',
98           'test/data/',
99           'third_party/mock4js/',
100         ],
101       },
102     }],
103     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', {
104       'variables': {
105         'files': [
106           '<(PRODUCT_DIR)/nacl_test_data/',
107           '<(PRODUCT_DIR)/pnacl/',
108           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
109           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
110         ],
111       },
112     }],
113     ['OS=="linux" or OS=="win"', {
114       'variables': {
115         'files': [
116           '../third_party/bidichecker/',
117         ],
118       },
119     }],
120     ['disable_nacl==0 and (OS=="linux" or OS=="win")', {
121       'variables': {
122         'files': [
123           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
124         ],
125       },
126     }],
127     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and (target_arch=="x64" or target_arch=="ia32")', {
128       'variables': {
129         'files': [
130           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
131         ],
132       },
133     }],
134     ['disable_nacl==0 and OS=="linux" and (target_arch=="ia32" or target_arch=="x64" or target_arch=="arm")', {
135       'variables': {
136         'files': [
137           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf',
138         ],
139       },
140     }],
141     ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', {
142       'variables': {
143         'files': [
144           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe',
145           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe',
146           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe',
147         ],
148       },
149     }],
150     ['disable_nacl==0 and (OS=="win" or ((OS=="linux" or OS=="mac") and target_arch=="x64"))', {
151       'variables': {
152         'files': [
153           '<(PRODUCT_DIR)/lib64/',
154           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
155           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
156           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
157         ],
158       },
159     }],
160     ['disable_nacl==0 and target_arch=="ia32" and (OS=="mac" or OS=="linux" or OS=="win")', {
161       'variables': {
162         'files': [
163           '<(PRODUCT_DIR)/lib32/',
164           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
165           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
166           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
167         ],
168       },
169     }],
170     ['disable_nacl==0 and OS=="linux" and (target_arch=="x64" or target_arch=="ia32")', {
171       'variables': {
172         'files': [
173           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe',
174         ],
175       },
176     }],
177     ['OS=="mac"', {
178       'variables': {
179         'files': [
180           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
181           '<(PRODUCT_DIR)/content_shell.pak',
182           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
183           '<(PRODUCT_DIR)/osmesa.so',
184           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
185           '<(PRODUCT_DIR)/power_saver_test_plugin.plugin/Contents/MacOS/power_saver_test_plugin',
186           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
187         ],
188       },
189     }],
190     ['OS=="mac" and branding=="Chrome" and enable_pepper_cdms==1', {
191       'variables': {
192         'files': [
193           '<(PRODUCT_DIR)/libwidevinecdm.dylib',
194           '<(PRODUCT_DIR)/widevinecdmadapter.plugin',
195         ],
196       },
197     }],
198     ['OS=="win"', {
199       'variables': {
200         'files': [
201           '../native_client/build/build_nexe.py',
202           '<(PRODUCT_DIR)/chrome_elf.dll',
203           '<(PRODUCT_DIR)/clearkeycdm.dll',
204           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
205           '<(PRODUCT_DIR)/plugins/',
206           '<(PRODUCT_DIR)/power_saver_test_plugin.dll',
207           '<(PRODUCT_DIR)/ppapi_tests.dll',
208           'tools/build/repack_locales.py',
209         ],
210       },
211     }],
212     ['OS=="win" and branding=="Chrome" and enable_pepper_cdms==1', {
213       'variables': {
214         'files': [
215           '<(PRODUCT_DIR)/widevinecdm.dll',
216           '<(PRODUCT_DIR)/widevinecdmadapter.dll',
217         ],
218       },
219     }],
220     ['OS=="win" and target_arch=="ia32"', {
221       'variables': {
222         'files': [
223           '<(PRODUCT_DIR)/wow_helper.exe',
224         ],
225       },
226     }],
227     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
228       'variables': {
229         'files': [
230           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
231         ],
232       },
233     }],
234     ['OS=="mac" and asan==1 and fastbuild==0', {
235       'variables': {
236         'files': [
237           '<(PRODUCT_DIR)/browser_tests.dSYM/',
238         ],
239       },
240     }],
241     ['chromeos==1', {
242       'variables': {
243         'files': [
244           '../chromeos/test/data/',
245           '../components/chrome_apps/webstore_widget/cws_widget/',
246           '../ui/file_manager/file_manager/',
247           '../ui/file_manager/gallery/',
248           '../ui/file_manager/image_loader/',
249           '../ui/file_manager/integration_tests/',
250           '../ui/webui/resources/js/',
251           '../third_party/analytics/',
252           '../chrome/browser/resources/chromeos/wallpaper_manager/',
253           '<(PRODUCT_DIR)/chromevox_test_data/',
254           '<(PRODUCT_DIR)/content_shell.pak',
255           '<(PRODUCT_DIR)/keyboard_resources.pak',
256           '<(PRODUCT_DIR)/libexif.so',
257           '<(PRODUCT_DIR)/locales/',
258           '<(PRODUCT_DIR)/nacl_helper',
259           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
260           '<(PRODUCT_DIR)/resources/chromeos/',
261           'browser/chromeos/login/test/https_forwarder.py',
262         ],
263       },
264     }],
265   ],
266   'includes': [
267     '../base/base.isolate',
268     'chrome.isolate',
269   ],