Remove no longer needed toolbar layer method.
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob75a51b7de24d554ffb7fa285373c277bfe2a51ea
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           '--msan=<(msan)',
15           '--tsan=<(tsan)',
16         ],
17         'files': [
18           '../testing/xvfb.py',
19           '<(PRODUCT_DIR)/libclearkeycdm.so',
20           '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
21           '<(PRODUCT_DIR)/libppapi_tests.so',
22         ],
23       },
24     }],
25     ['OS=="linux" and use_ozone==0', {
26       'variables': {
27         'files': [
28           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
29         ],
30       },
31     }],
32     ['OS=="linux" and libpeer_target_type=="loadable_module"', {
33       'variables': {
34         'files': [
35           '<(PRODUCT_DIR)/lib/libpeerconnection.so',
36         ],
37       },
38     }],
39     ['OS=="linux" or OS=="mac" or OS=="win"', {
40       'variables': {
41         'files': [
42           '../content/test/data/',
43           '../google_apis/test/',
44           '../media/test/data/',
45           '../media/test/data/',
46           '../net/data/',
47           '../net/tools/testserver/',
48           '../ppapi/tests/test_case.html',
49           '../ppapi/tests/test_page.css',
50           '../testing/test_env.py',
51           '../third_party/accessibility-audit/axs_testing.js',
52           '../third_party/pyftpdlib/',
53           '../third_party/pywebsocket/',
54           '../third_party/safe_browsing/',
55           '../third_party/simplejson/',
56           '../third_party/tlslite/',
57           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
58           '<(PRODUCT_DIR)/browser_tests.pak',
59           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
60           '<(PRODUCT_DIR)/pseudo_locales/',
61           '<(PRODUCT_DIR)/pyproto/',
62           # TODO(jam): above is directory for GYP. GN uses:
63           #'<(SHARED_INTERMEDIATE_DIR)/google/',
64           #'<(SHARED_INTERMEDIATE_DIR)/policy/proto/',
65           '<(PRODUCT_DIR)/remoting/unittests/',
66           '<(PRODUCT_DIR)/test_case.html',
67           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
68           '<(PRODUCT_DIR)/test_data/',
69           '<(PRODUCT_DIR)/test_page.css',
70           '<(PRODUCT_DIR)/test_url_loader_data/',
71           'browser/policy/test/asn1der.py',
72           'browser/policy/test/policy_testserver.py',
73           'common/extensions/docs/examples/apps/calculator/',
74           'test/data/',
75           'third_party/mock4js/',
76         ],
77         'read_only': 1,
78       },
79     }],
80     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', {
81       'variables': {
82         'files': [
83           '<(PRODUCT_DIR)/nacl_test_data/',
84           '<(PRODUCT_DIR)/pnacl/',
85           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
86           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
87         ],
88         'read_only': 1,
89       },
90     }],
91     ['OS=="linux" or OS=="win"', {
92       'variables': {
93         'files': [
94           '../third_party/bidichecker/',
95         ],
96       },
97     }],
98     ['disable_nacl==0 and (OS=="linux" or OS=="win")', {
99       'variables': {
100         'files': [
101           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
102         ],
103       },
104     }],
105     [('disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and '
106          '(target_arch=="x64" or target_arch=="ia32")'), {
107       'variables': {
108         'files': [
109           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
110         ],
111       },
112     }],
113     [('disable_nacl==0 and OS=="linux" and '
114       '(target_arch=="ia32" or target_arch=="x64" or target_arch=="arm")'), {
115       'variables': {
116         'files': [
117           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf',
118         ],
119       },
120     }],
121     ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', {
122       'variables': {
123         'files': [
124           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe',
125           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe',
126           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe',
127         ],
128       },
129     }],
130     ['disable_nacl==0 and (OS=="win" or '
131          '((OS=="linux" or OS=="mac") and target_arch=="x64"))', {
132       'variables': {
133         'files': [
134           '<(PRODUCT_DIR)/lib64/',
135           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
136           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
137           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
138         ],
139       },
140     }],
141     ['disable_nacl==0 and target_arch=="ia32" and'
142          '(OS=="mac" or OS=="linux" or OS=="win")', {
143       'variables': {
144         'files': [
145           '<(PRODUCT_DIR)/lib32/',
146           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
147           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
148           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
149         ],
150       },
151     }],
152     ['disable_nacl==0 and OS=="linux" and '
153          '(target_arch=="x64" or target_arch=="ia32")', {
154       'variables': {
155         'files': [
156           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe',
157         ],
158       },
159     }],
160     ['OS=="mac"', {
161       'variables': {
162         'files': [
163           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
164           '<(PRODUCT_DIR)/content_shell.pak',
165           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
166           '<(PRODUCT_DIR)/osmesa.so',
167           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
168           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
169           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
170         ],
171       },
172     }],
173     ['OS=="mac" or OS=="win"', {
174       'variables': {
175         'command': [
176           '../testing/test_env.py',
177           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
178           '--test-launcher-bot-mode',
179           '--asan=<(asan)',
180           '--msan=<(msan)',
181           '--tsan=<(tsan)',
182         ],
183       },
184     }],
185     ['OS=="win"', {
186       'variables': {
187         'files': [
188           '../native_client/build/build_nexe.py',
189           '<(PRODUCT_DIR)/chrome_elf.dll',
190           '<(PRODUCT_DIR)/clearkeycdm.dll',
191           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
192           '<(PRODUCT_DIR)/plugins/',
193           '<(PRODUCT_DIR)/ppapi_tests.dll',
194           'tools/build/repack_locales.py',
195         ],
196       },
197     }],
198     ['OS=="win" and target_arch=="ia32"', {
199       'variables': {
200         'files': [
201           '<(PRODUCT_DIR)/wow_helper.exe',
202         ],
203       },
204     }],
205     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
206       'variables': {
207         'files': [
208           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
209         ],
210       },
211     }],
212     ['OS=="mac" and asan==1 and fastbuild==0', {
213       'variables': {
214         'files': [
215           '<(PRODUCT_DIR)/browser_tests.dSYM/',
216         ],
217       },
218     }],
219     ['chromeos==1', {
220       'variables': {
221         'files': [
222           '../chromeos/test/data/',
223           '../ui/file_manager/file_manager/',
224           '../ui/file_manager/gallery/',
225           '../ui/file_manager/image_loader/',
226           '../ui/file_manager/integration_tests/',
227           '../ui/webui/resources/js/',
228           '../third_party/analytics/',
229           '../chrome/browser/resources/chromeos/wallpaper_manager/',
230           '<(PRODUCT_DIR)/chromevox_test_data/',
231           '<(PRODUCT_DIR)/content_shell.pak',
232           '<(PRODUCT_DIR)/keyboard_resources.pak',
233           '<(PRODUCT_DIR)/libexif.so',
234           '<(PRODUCT_DIR)/locales/',
235           '<(PRODUCT_DIR)/nacl_helper',
236           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
237           '<(PRODUCT_DIR)/resources/chromeos/',
238           'browser/chromeos/login/test/https_forwarder.py',
239         ],
240       },
241     }],
242   ],
243   'includes': [
244     '../base/base.isolate',
245     'chrome.isolate',
246   ],