Roll src/third_party/WebKit 116cf7f:79abaa8 (svn 189234:189235)
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob49569770c2c9d93d29f811450bf11d9f5d2595e6
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=="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     ['OS=="mac"', {
149       'variables': {
150         'files': [
151           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
152           '<(PRODUCT_DIR)/content_shell.pak',
153           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
154           '<(PRODUCT_DIR)/osmesa.so',
155           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
156           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
157           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
158         ],
159       },
160     }],
161     ['OS=="mac" or OS=="win"', {
162       'variables': {
163         'command': [
164           '../testing/test_env.py',
165           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
166           '--test-launcher-bot-mode',
167           '--asan=<(asan)',
168           '--lsan=<(lsan)',
169         ],
170       },
171     }],
172     ['OS=="win"', {
173       'variables': {
174         'files': [
175           '../native_client/build/build_nexe.py',
176           '<(PRODUCT_DIR)/chrome_elf.dll',
177           '<(PRODUCT_DIR)/clearkeycdm.dll',
178           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
179           '<(PRODUCT_DIR)/plugins/',
180           '<(PRODUCT_DIR)/ppapi_tests.dll',
181           'tools/build/repack_locales.py',
182         ],
183       },
184     }],
185     ['OS=="win" and target_arch=="ia32"', {
186       'variables': {
187         'files': [
188           '<(PRODUCT_DIR)/wow_helper.exe',
189         ],
190       },
191     }],
192     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
193       'variables': {
194         'files': [
195           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
196         ],
197       },
198     }],
199     ['OS=="win" and libpeer_target_type=="loadable_module"', {
200       'variables': {
201         'files': [
202           '<(PRODUCT_DIR)/libpeerconnection.dll',
203         ],
204       },
205     }],
206     ['chromeos==1', {
207       'variables': {
208         'files': [
209           '../chromeos/test/data/',
210           '../ui/file_manager/file_manager/',
211           '../ui/file_manager/gallery/',
212           '../ui/file_manager/image_loader/',
213           '../ui/file_manager/integration_tests/',
214           '../ui/webui/resources/js/',
215           '../chrome/browser/resources/chromeos/wallpaper_manager/',
216           '<(PRODUCT_DIR)/chromevox_test_data/',
217           '<(PRODUCT_DIR)/content_shell.pak',
218           '<(PRODUCT_DIR)/keyboard_resources.pak',
219           '<(PRODUCT_DIR)/libexif.so',
220           '<(PRODUCT_DIR)/locales/',
221           '<(PRODUCT_DIR)/nacl_helper',
222           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
223           '<(PRODUCT_DIR)/resources/chromeos/',
224           'browser/chromeos/login/test/https_forwarder.py',
225         ],
226       },
227     }],
228   ],
229   'includes': [
230     '../base/base.isolate',
231     'chrome.isolate',
232   ],