Change a bug reference in a comment.
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob0cff82a8219e92a92b492b5674ecc39dc3bf7d23
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         '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/test_netscape_plugin.plugin/',
187           '<(PRODUCT_DIR)/power_saver_test_plugin.plugin/Contents/MacOS/power_saver_test_plugin',
188           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
189         ],
190       },
191     }],
192     ['OS=="mac" and branding=="Chrome" and enable_pepper_cdms==1', {
193       'variables': {
194         'files': [
195           '<(PRODUCT_DIR)/libwidevinecdm.dylib',
196           '<(PRODUCT_DIR)/widevinecdmadapter.plugin',
197         ],
198       },
199     }],
200     ['OS=="win"', {
201       'variables': {
202         'files': [
203           '../native_client/build/build_nexe.py',
204           '<(PRODUCT_DIR)/chrome_elf.dll',
205           '<(PRODUCT_DIR)/clearkeycdm.dll',
206           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
207           '<(PRODUCT_DIR)/plugins/',
208           '<(PRODUCT_DIR)/power_saver_test_plugin.dll',
209           '<(PRODUCT_DIR)/ppapi_tests.dll',
210           'tools/build/repack_locales.py',
211         ],
212       },
213     }],
214     ['OS=="win" and branding=="Chrome" and enable_pepper_cdms==1', {
215       'variables': {
216         'files': [
217           '<(PRODUCT_DIR)/widevinecdm.dll',
218           '<(PRODUCT_DIR)/widevinecdmadapter.dll',
219         ],
220       },
221     }],
222     ['OS=="win" and target_arch=="ia32"', {
223       'variables': {
224         'files': [
225           '<(PRODUCT_DIR)/wow_helper.exe',
226         ],
227       },
228     }],
229     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
230       'variables': {
231         'files': [
232           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
233         ],
234       },
235     }],
236     ['OS=="mac" and asan==1 and fastbuild==0', {
237       'variables': {
238         'files': [
239           '<(PRODUCT_DIR)/browser_tests.dSYM/',
240         ],
241       },
242     }],
243     ['chromeos==1', {
244       'variables': {
245         'files': [
246           '../chromeos/test/data/',
247           '../components/chrome_apps/webstore_widget/cws_widget/',
248           '../ui/file_manager/file_manager/',
249           '../ui/file_manager/gallery/',
250           '../ui/file_manager/image_loader/',
251           '../ui/file_manager/integration_tests/',
252           '../ui/webui/resources/js/',
253           '../third_party/analytics/',
254           '../chrome/browser/resources/chromeos/wallpaper_manager/',
255           '<(PRODUCT_DIR)/chromevox_test_data/',
256           '<(PRODUCT_DIR)/content_shell.pak',
257           '<(PRODUCT_DIR)/keyboard_resources.pak',
258           '<(PRODUCT_DIR)/libexif.so',
259           '<(PRODUCT_DIR)/locales/',
260           '<(PRODUCT_DIR)/nacl_helper',
261           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
262           '<(PRODUCT_DIR)/resources/chromeos/',
263           'browser/chromeos/login/test/https_forwarder.py',
264         ],
265       },
266     }],
267   ],
268   'includes': [
269     '../base/base.isolate',
270     'chrome.isolate',
271   ],