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