Revert of [Password Manager] Support <input> elements not in a <form> element (patchs...
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blobb2a85bfd7959eec56d9394e674c8b487185b7fe8
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/pyftpdlib/',
76           '../third_party/pywebsocket/',
77           '../third_party/safe_browsing/',
78           '../third_party/simplejson/',
79           '../third_party/tlslite/',
80           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
81           '<(PRODUCT_DIR)/browser_tests.pak',
82           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
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         'read_only': 1,
102       },
103     }],
104     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', {
105       'variables': {
106         'files': [
107           '<(PRODUCT_DIR)/nacl_test_data/',
108           '<(PRODUCT_DIR)/pnacl/',
109           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
110           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
111         ],
112         'read_only': 1,
113       },
114     }],
115     ['OS=="linux" or OS=="win"', {
116       'variables': {
117         'files': [
118           '../third_party/bidichecker/',
119         ],
120       },
121     }],
122     ['disable_nacl==0 and (OS=="linux" or OS=="win")', {
123       'variables': {
124         'files': [
125           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
126         ],
127       },
128     }],
129     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and (target_arch=="x64" or target_arch=="ia32")', {
130       'variables': {
131         'files': [
132           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
133         ],
134       },
135     }],
136     ['disable_nacl==0 and OS=="linux" and (target_arch=="ia32" or target_arch=="x64" or target_arch=="arm")', {
137       'variables': {
138         'files': [
139           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf',
140         ],
141       },
142     }],
143     ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', {
144       'variables': {
145         'files': [
146           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe',
147           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe',
148           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe',
149         ],
150       },
151     }],
152     ['disable_nacl==0 and (OS=="win" or ((OS=="linux" or OS=="mac") and target_arch=="x64"))', {
153       'variables': {
154         'files': [
155           '<(PRODUCT_DIR)/lib64/',
156           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
157           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
158           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
159         ],
160       },
161     }],
162     ['disable_nacl==0 and target_arch=="ia32" and (OS=="mac" or OS=="linux" or OS=="win")', {
163       'variables': {
164         'files': [
165           '<(PRODUCT_DIR)/lib32/',
166           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
167           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
168           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
169         ],
170       },
171     }],
172     ['disable_nacl==0 and OS=="linux" and (target_arch=="x64" or target_arch=="ia32")', {
173       'variables': {
174         'files': [
175           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe',
176         ],
177       },
178     }],
179     ['OS=="mac"', {
180       'variables': {
181         'files': [
182           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
183           '<(PRODUCT_DIR)/content_shell.pak',
184           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
185           '<(PRODUCT_DIR)/osmesa.so',
186           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
187           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
188           '<(PRODUCT_DIR)/power_saver_test_plugin.plugin/Contents/MacOS/power_saver_test_plugin',
189           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
190         ],
191       },
192     }],
193     ['OS=="mac" and branding=="Chrome" and enable_pepper_cdms==1', {
194       'variables': {
195         'files': [
196           '<(PRODUCT_DIR)/libwidevinecdm.dylib',
197           '<(PRODUCT_DIR)/widevinecdmadapter.plugin',
198         ],
199       },
200     }],
201     ['OS=="win"', {
202       'variables': {
203         'files': [
204           '../native_client/build/build_nexe.py',
205           '<(PRODUCT_DIR)/chrome_elf.dll',
206           '<(PRODUCT_DIR)/clearkeycdm.dll',
207           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
208           '<(PRODUCT_DIR)/plugins/',
209           '<(PRODUCT_DIR)/power_saver_test_plugin.dll',
210           '<(PRODUCT_DIR)/ppapi_tests.dll',
211           'tools/build/repack_locales.py',
212         ],
213       },
214     }],
215     ['OS=="win" and branding=="Chrome" and enable_pepper_cdms==1', {
216       'variables': {
217         'files': [
218           '<(PRODUCT_DIR)/widevinecdm.dll',
219           '<(PRODUCT_DIR)/widevinecdmadapter.dll',
220         ],
221       },
222     }],
223     ['OS=="win" and target_arch=="ia32"', {
224       'variables': {
225         'files': [
226           '<(PRODUCT_DIR)/wow_helper.exe',
227         ],
228       },
229     }],
230     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
231       'variables': {
232         'files': [
233           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
234         ],
235       },
236     }],
237     ['OS=="mac" and asan==1 and fastbuild==0', {
238       'variables': {
239         'files': [
240           '<(PRODUCT_DIR)/browser_tests.dSYM/',
241         ],
242       },
243     }],
244     ['chromeos==1', {
245       'variables': {
246         'files': [
247           '../chromeos/test/data/',
248           '../components/chrome_apps/webstore_widget/cws_widget/',
249           '../ui/file_manager/file_manager/',
250           '../ui/file_manager/gallery/',
251           '../ui/file_manager/image_loader/',
252           '../ui/file_manager/integration_tests/',
253           '../ui/webui/resources/js/',
254           '../third_party/analytics/',
255           '../chrome/browser/resources/chromeos/wallpaper_manager/',
256           '<(PRODUCT_DIR)/chromevox_test_data/',
257           '<(PRODUCT_DIR)/content_shell.pak',
258           '<(PRODUCT_DIR)/keyboard_resources.pak',
259           '<(PRODUCT_DIR)/libexif.so',
260           '<(PRODUCT_DIR)/locales/',
261           '<(PRODUCT_DIR)/nacl_helper',
262           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
263           '<(PRODUCT_DIR)/resources/chromeos/',
264           'browser/chromeos/login/test/https_forwarder.py',
265         ],
266       },
267     }],
268   ],
269   'includes': [
270     '../base/base.isolate',
271     'chrome.isolate',
272   ],