Add more ScopedTrackers to track down jank in the RDH
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blobee822a2bc6dc05b1218a10b5873a4db83820eb77
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           '<(PRODUCT_DIR)/remoting/unittests/',
63           '<(PRODUCT_DIR)/test_case.html',
64           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
65           '<(PRODUCT_DIR)/test_data/',
66           '<(PRODUCT_DIR)/test_page.css',
67           '<(PRODUCT_DIR)/test_url_loader_data/',
68           'browser/policy/test/asn1der.py',
69           'browser/policy/test/policy_testserver.py',
70           'common/extensions/docs/examples/apps/calculator/',
71           'test/data/',
72           'third_party/mock4js/',
73         ],
74         'read_only': 1,
75       },
76     }],
77     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', {
78       'variables': {
79         'files': [
80           '<(PRODUCT_DIR)/nacl_test_data/',
81           '<(PRODUCT_DIR)/pnacl/',
82           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
83           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
84         ],
85         'read_only': 1,
86       },
87     }],
88     ['OS=="linux" or OS=="win"', {
89       'variables': {
90         'files': [
91           '../third_party/bidichecker/',
92         ],
93       },
94     }],
95     ['disable_nacl==0 and (OS=="linux" or OS=="win")', {
96       'variables': {
97         'files': [
98           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
99         ],
100       },
101     }],
102     [('disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and '
103          '(target_arch=="x64" or target_arch=="ia32")'), {
104       'variables': {
105         'files': [
106           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
107         ],
108       },
109     }],
110     [('disable_nacl==0 and OS=="linux" and '
111       '(target_arch=="ia32" or target_arch=="x64" or target_arch=="arm")'), {
112       'variables': {
113         'files': [
114           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf',
115         ],
116       },
117     }],
118     ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', {
119       'variables': {
120         'files': [
121           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe',
122           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe',
123           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe',
124         ],
125       },
126     }],
127     ['disable_nacl==0 and (OS=="win" or '
128          '((OS=="linux" or OS=="mac") and target_arch=="x64"))', {
129       'variables': {
130         'files': [
131           '<(PRODUCT_DIR)/lib64/',
132           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
133           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
134           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
135         ],
136       },
137     }],
138     ['disable_nacl==0 and target_arch=="ia32" and'
139          '(OS=="mac" or OS=="linux" or OS=="win")', {
140       'variables': {
141         'files': [
142           '<(PRODUCT_DIR)/lib32/',
143           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
144           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
145           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
146         ],
147       },
148     }],
149     ['disable_nacl==0 and OS=="linux" and '
150          '(target_arch=="x64" or target_arch=="ia32")', {
151       'variables': {
152         'files': [
153           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe',
154         ],
155       },
156     }],
157     ['OS=="mac"', {
158       'variables': {
159         'files': [
160           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
161           '<(PRODUCT_DIR)/content_shell.pak',
162           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
163           '<(PRODUCT_DIR)/osmesa.so',
164           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
165           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
166           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
167         ],
168       },
169     }],
170     ['OS=="mac" or OS=="win"', {
171       'variables': {
172         'command': [
173           '../testing/test_env.py',
174           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
175           '--test-launcher-bot-mode',
176           '--asan=<(asan)',
177           '--msan=<(msan)',
178           '--tsan=<(tsan)',
179         ],
180       },
181     }],
182     ['OS=="win"', {
183       'variables': {
184         'files': [
185           '../native_client/build/build_nexe.py',
186           '<(PRODUCT_DIR)/chrome_elf.dll',
187           '<(PRODUCT_DIR)/clearkeycdm.dll',
188           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
189           '<(PRODUCT_DIR)/plugins/',
190           '<(PRODUCT_DIR)/ppapi_tests.dll',
191           'tools/build/repack_locales.py',
192         ],
193       },
194     }],
195     ['OS=="win" and target_arch=="ia32"', {
196       'variables': {
197         'files': [
198           '<(PRODUCT_DIR)/wow_helper.exe',
199         ],
200       },
201     }],
202     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
203       'variables': {
204         'files': [
205           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
206         ],
207       },
208     }],
209     ['OS=="mac" and asan==1 and fastbuild==0', {
210       'variables': {
211         'files': [
212           '<(PRODUCT_DIR)/browser_tests.dSYM/',
213         ],
214       },
215     }],
216     ['chromeos==1', {
217       'variables': {
218         'files': [
219           '../chromeos/test/data/',
220           '../ui/file_manager/file_manager/',
221           '../ui/file_manager/gallery/',
222           '../ui/file_manager/image_loader/',
223           '../ui/file_manager/integration_tests/',
224           '../ui/webui/resources/js/',
225           '../third_party/analytics/',
226           '../chrome/browser/resources/chromeos/wallpaper_manager/',
227           '<(PRODUCT_DIR)/chromevox_test_data/',
228           '<(PRODUCT_DIR)/content_shell.pak',
229           '<(PRODUCT_DIR)/keyboard_resources.pak',
230           '<(PRODUCT_DIR)/libexif.so',
231           '<(PRODUCT_DIR)/locales/',
232           '<(PRODUCT_DIR)/nacl_helper',
233           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
234           '<(PRODUCT_DIR)/resources/chromeos/',
235           'browser/chromeos/login/test/https_forwarder.py',
236         ],
237       },
238     }],
239   ],
240   'includes': [
241     '../base/base.isolate',
242     'chrome.isolate',
243   ],