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