ozone: drm: Fix HardwareDisplayController use-after-free
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob89f843931ad9769adddc06897cee3ec758f0d6be
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)/libppapi_tests.so',
41         ],
42       },
43     }],
44     ['OS=="linux" and branding=="Chrome" and enable_pepper_cdms==1', {
45       'variables': {
46         'files': [
47           '<(PRODUCT_DIR)/libwidevinecdm.so',
48           '<(PRODUCT_DIR)/libwidevinecdmadapter.so',
49         ],
50       },
51     }],
52     ['OS=="linux" and libpeer_target_type=="loadable_module"', {
53       'variables': {
54         'files': [
55           '<(PRODUCT_DIR)/lib/libpeerconnection.so',
56         ],
57       },
58     }],
59     ['OS=="linux" or OS=="mac" or OS=="win"', {
60       'variables': {
61         'files': [
62           '../content/test/data/',
63           '../google_apis/test/',
64           '../media/test/data/',
65           '../media/test/data/',
66           '../net/data/',
67           '../net/tools/testserver/',
68           '../ppapi/tests/test_case.html',
69           '../ppapi/tests/test_page.css',
70           '../testing/test_env.py',
71           '../third_party/accessibility-audit/axs_testing.js',
72           '../third_party/pyftpdlib/',
73           '../third_party/pywebsocket/',
74           '../third_party/safe_browsing/',
75           '../third_party/simplejson/',
76           '../third_party/tlslite/',
77           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
78           '<(PRODUCT_DIR)/browser_tests.pak',
79           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
80           '<(PRODUCT_DIR)/pseudo_locales/',
81           '<(PRODUCT_DIR)/pyproto/',
82           # TODO(jam): above is directory for GYP. GN uses:
83           #'<(SHARED_INTERMEDIATE_DIR)/google/',
84           #'<(SHARED_INTERMEDIATE_DIR)/policy/proto/',
85           '<(PRODUCT_DIR)/remoting/unittests/',
86           '<(PRODUCT_DIR)/test_case.html',
87           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
88           '<(PRODUCT_DIR)/test_data/',
89           '<(PRODUCT_DIR)/test_page.css',
90           '<(PRODUCT_DIR)/test_url_loader_data/',
91           'browser/policy/test/asn1der.py',
92           'browser/policy/test/policy_testserver.py',
93           'common/extensions/docs/examples/apps/calculator/',
94           'test/data/',
95           'third_party/mock4js/',
96         ],
97         'read_only': 1,
98       },
99     }],
100     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', {
101       'variables': {
102         'files': [
103           '<(PRODUCT_DIR)/nacl_test_data/',
104           '<(PRODUCT_DIR)/pnacl/',
105           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
106           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
107         ],
108         'read_only': 1,
109       },
110     }],
111     ['OS=="linux" or OS=="win"', {
112       'variables': {
113         'files': [
114           '../third_party/bidichecker/',
115         ],
116       },
117     }],
118     ['disable_nacl==0 and (OS=="linux" or OS=="win")', {
119       'variables': {
120         'files': [
121           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
122         ],
123       },
124     }],
125     [('disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and '
126          '(target_arch=="x64" or target_arch=="ia32")'), {
127       'variables': {
128         'files': [
129           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
130         ],
131       },
132     }],
133     [('disable_nacl==0 and OS=="linux" and '
134       '(target_arch=="ia32" or target_arch=="x64" or target_arch=="arm")'), {
135       'variables': {
136         'files': [
137           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf',
138         ],
139       },
140     }],
141     ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', {
142       'variables': {
143         'files': [
144           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe',
145           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe',
146           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe',
147         ],
148       },
149     }],
150     ['disable_nacl==0 and (OS=="win" or '
151          '((OS=="linux" or OS=="mac") and target_arch=="x64"))', {
152       'variables': {
153         'files': [
154           '<(PRODUCT_DIR)/lib64/',
155           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
156           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
157           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
158         ],
159       },
160     }],
161     ['disable_nacl==0 and target_arch=="ia32" and'
162          '(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 '
173          '(target_arch=="x64" or target_arch=="ia32")', {
174       'variables': {
175         'files': [
176           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe',
177         ],
178       },
179     }],
180     ['OS=="mac"', {
181       'variables': {
182         'files': [
183           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
184           '<(PRODUCT_DIR)/content_shell.pak',
185           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
186           '<(PRODUCT_DIR)/osmesa.so',
187           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
188           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.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)/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           '../ui/file_manager/file_manager/',
248           '../ui/file_manager/gallery/',
249           '../ui/file_manager/image_loader/',
250           '../ui/file_manager/integration_tests/',
251           '../ui/webui/resources/js/',
252           '../third_party/analytics/',
253           '../chrome/browser/resources/chromeos/wallpaper_manager/',
254           '<(PRODUCT_DIR)/chromevox_test_data/',
255           '<(PRODUCT_DIR)/content_shell.pak',
256           '<(PRODUCT_DIR)/keyboard_resources.pak',
257           '<(PRODUCT_DIR)/libexif.so',
258           '<(PRODUCT_DIR)/locales/',
259           '<(PRODUCT_DIR)/nacl_helper',
260           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
261           '<(PRODUCT_DIR)/resources/chromeos/',
262           'browser/chromeos/login/test/https_forwarder.py',
263         ],
264       },
265     }],
266   ],
267   'includes': [
268     '../base/base.isolate',
269     'chrome.isolate',
270   ],