Revert of Linux MSan: enable swarming/sharding for browser_tests. (patchset #1 id...
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob912fbca62e879d58bc256d1c7f0a387818628a70
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     ['OS=="linux"', {
7       'variables': {
8         'command': [
9           '../testing/xvfb.py',
10           '<(PRODUCT_DIR)',
11           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
12           '--test-launcher-bot-mode',
13           '--asan=<(asan)',
14           '--lsan=<(lsan)',
15           '--msan=<(msan)',
16           '--tsan=<(tsan)',
17         ],
18         'files': [
19           '../testing/xvfb.py',
20           '<(PRODUCT_DIR)/libclearkeycdm.so',
21           '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
22           '<(PRODUCT_DIR)/libppapi_tests.so',
23         ],
24       },
25     }],
26     ['OS=="linux" and use_ozone==0', {
27       'variables': {
28         'files': [
29           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
30         ],
31       },
32     }],
33     ['OS=="linux" and libpeer_target_type=="loadable_module"', {
34       'variables': {
35         'files': [
36           '<(PRODUCT_DIR)/lib/libpeerconnection.so',
37         ],
38       },
39     }],
40     ['OS=="linux" or OS=="mac" or OS=="win"', {
41       'variables': {
42         'files': [
43           '../content/test/data/',
44           '../google_apis/test/',
45           '../media/test/data/',
46           '../media/test/data/',
47           '../net/data/',
48           '../net/tools/testserver/',
49           '../ppapi/tests/test_case.html',
50           '../ppapi/tests/test_page.css',
51           '../testing/test_env.py',
52           '../third_party/accessibility-audit/axs_testing.js',
53           '../third_party/pyftpdlib/',
54           '../third_party/pywebsocket/',
55           '../third_party/safe_browsing/',
56           '../third_party/simplejson/',
57           '../third_party/tlslite/',
58           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
59           '<(PRODUCT_DIR)/browser_tests.pak',
60           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
61           '<(PRODUCT_DIR)/pseudo_locales/',
62           '<(PRODUCT_DIR)/pyproto/',
63           '<(PRODUCT_DIR)/remoting/unittests/',
64           '<(PRODUCT_DIR)/test_case.html',
65           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
66           '<(PRODUCT_DIR)/test_data/',
67           '<(PRODUCT_DIR)/test_page.css',
68           '<(PRODUCT_DIR)/test_url_loader_data/',
69           'browser/policy/test/asn1der.py',
70           'browser/policy/test/policy_testserver.py',
71           'common/extensions/docs/examples/apps/calculator/',
72           'test/data/',
73           'third_party/mock4js/',
74         ],
75         'read_only': 1,
76       },
77     }],
78     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', {
79       'variables': {
80         'files': [
81           '<(PRODUCT_DIR)/nacl_test_data/',
82           '<(PRODUCT_DIR)/pnacl/',
83           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
84           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
85         ],
86         'read_only': 1,
87       },
88     }],
89     ['OS=="linux" or OS=="win"', {
90       'variables': {
91         'files': [
92           '../third_party/bidichecker/',
93         ],
94       },
95     }],
96     ['disable_nacl==0 and (OS=="linux" or OS=="win")', {
97       'variables': {
98         'files': [
99           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
100         ],
101       },
102     }],
103     [('disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and '
104          '(target_arch=="x64" or target_arch=="ia32")'), {
105       'variables': {
106         'files': [
107           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
108         ],
109       },
110     }],
111     [('disable_nacl==0 and OS=="linux" and '
112       '(target_arch=="ia32" or target_arch=="x64" or target_arch=="arm")'), {
113       'variables': {
114         'files': [
115           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf',
116         ],
117       },
118     }],
119     ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', {
120       'variables': {
121         'files': [
122           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe',
123           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe',
124           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe',
125         ],
126       },
127     }],
128     ['disable_nacl==0 and (OS=="win" or '
129          '((OS=="linux" or OS=="mac") and target_arch=="x64"))', {
130       'variables': {
131         'files': [
132           '<(PRODUCT_DIR)/lib64/',
133           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
134           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
135           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
136         ],
137       },
138     }],
139     ['disable_nacl==0 and target_arch=="ia32" and'
140          '(OS=="mac" or OS=="linux" or OS=="win")', {
141       'variables': {
142         'files': [
143           '<(PRODUCT_DIR)/lib32/',
144           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
145           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
146           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
147         ],
148       },
149     }],
150     ['disable_nacl==0 and OS=="linux" and '
151          '(target_arch=="x64" or target_arch=="ia32")', {
152       'variables': {
153         'files': [
154           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe',
155         ],
156       },
157     }],
158     ['OS=="mac"', {
159       'variables': {
160         'files': [
161           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
162           '<(PRODUCT_DIR)/content_shell.pak',
163           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
164           '<(PRODUCT_DIR)/osmesa.so',
165           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
166           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
167           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
168         ],
169       },
170     }],
171     ['OS=="mac" or OS=="win"', {
172       'variables': {
173         'command': [
174           '../testing/test_env.py',
175           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
176           '--test-launcher-bot-mode',
177           '--asan=<(asan)',
178           '--lsan=<(lsan)',
179           '--msan=<(msan)',
180           '--tsan=<(tsan)',
181         ],
182       },
183     }],
184     ['OS=="win"', {
185       'variables': {
186         'files': [
187           '../native_client/build/build_nexe.py',
188           '<(PRODUCT_DIR)/chrome_elf.dll',
189           '<(PRODUCT_DIR)/clearkeycdm.dll',
190           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
191           '<(PRODUCT_DIR)/plugins/',
192           '<(PRODUCT_DIR)/ppapi_tests.dll',
193           'tools/build/repack_locales.py',
194         ],
195       },
196     }],
197     ['OS=="win" and target_arch=="ia32"', {
198       'variables': {
199         'files': [
200           '<(PRODUCT_DIR)/wow_helper.exe',
201         ],
202       },
203     }],
204     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
205       'variables': {
206         'files': [
207           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
208         ],
209       },
210     }],
211     ['OS=="win" and libpeer_target_type=="loadable_module"', {
212       'variables': {
213         'files': [
214           '<(PRODUCT_DIR)/libpeerconnection.dll',
215         ],
216       },
217     }],
218     ['chromeos==1', {
219       'variables': {
220         'files': [
221           '../chromeos/test/data/',
222           '../ui/file_manager/file_manager/',
223           '../ui/file_manager/gallery/',
224           '../ui/file_manager/image_loader/',
225           '../ui/file_manager/integration_tests/',
226           '../ui/webui/resources/js/',
227           '../chrome/browser/resources/chromeos/wallpaper_manager/',
228           '<(PRODUCT_DIR)/chromevox_test_data/',
229           '<(PRODUCT_DIR)/content_shell.pak',
230           '<(PRODUCT_DIR)/keyboard_resources.pak',
231           '<(PRODUCT_DIR)/libexif.so',
232           '<(PRODUCT_DIR)/locales/',
233           '<(PRODUCT_DIR)/nacl_helper',
234           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
235           '<(PRODUCT_DIR)/resources/chromeos/',
236           'browser/chromeos/login/test/https_forwarder.py',
237         ],
238       },
239     }],
240   ],
241   'includes': [
242     '../base/base.isolate',
243     'chrome.isolate',
244   ],