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