Accumulate damage from SurfaceDrawQuads in non-root RenderPasses.
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob7d97d28f4b309eeb8c650dfe894d9f4e509b4525
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 libpeer_target_type=="loadable_module"', {
45       'variables': {
46         'files': [
47           '<(PRODUCT_DIR)/lib/libpeerconnection.so',
48         ],
49       },
50     }],
51     ['OS=="linux" or OS=="mac" or OS=="win"', {
52       'variables': {
53         'files': [
54           '../content/test/data/',
55           '../google_apis/test/',
56           '../media/test/data/',
57           '../media/test/data/',
58           '../net/data/',
59           '../net/tools/testserver/',
60           '../ppapi/tests/test_case.html',
61           '../ppapi/tests/test_page.css',
62           '../testing/test_env.py',
63           '../third_party/accessibility-audit/axs_testing.js',
64           '../third_party/pyftpdlib/',
65           '../third_party/pywebsocket/',
66           '../third_party/safe_browsing/',
67           '../third_party/simplejson/',
68           '../third_party/tlslite/',
69           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
70           '<(PRODUCT_DIR)/browser_tests.pak',
71           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
72           '<(PRODUCT_DIR)/pseudo_locales/',
73           '<(PRODUCT_DIR)/pyproto/',
74           # TODO(jam): above is directory for GYP. GN uses:
75           #'<(SHARED_INTERMEDIATE_DIR)/google/',
76           #'<(SHARED_INTERMEDIATE_DIR)/policy/proto/',
77           '<(PRODUCT_DIR)/remoting/unittests/',
78           '<(PRODUCT_DIR)/test_case.html',
79           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
80           '<(PRODUCT_DIR)/test_data/',
81           '<(PRODUCT_DIR)/test_page.css',
82           '<(PRODUCT_DIR)/test_url_loader_data/',
83           'browser/policy/test/asn1der.py',
84           'browser/policy/test/policy_testserver.py',
85           'common/extensions/docs/examples/apps/calculator/',
86           'test/data/',
87           'third_party/mock4js/',
88         ],
89         'read_only': 1,
90       },
91     }],
92     ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', {
93       'variables': {
94         'files': [
95           '<(PRODUCT_DIR)/nacl_test_data/',
96           '<(PRODUCT_DIR)/pnacl/',
97           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
98           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
99         ],
100         'read_only': 1,
101       },
102     }],
103     ['OS=="linux" or OS=="win"', {
104       'variables': {
105         'files': [
106           '../third_party/bidichecker/',
107         ],
108       },
109     }],
110     ['disable_nacl==0 and (OS=="linux" or OS=="win")', {
111       'variables': {
112         'files': [
113           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
114         ],
115       },
116     }],
117     [('disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and '
118          '(target_arch=="x64" or target_arch=="ia32")'), {
119       'variables': {
120         'files': [
121           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
122         ],
123       },
124     }],
125     [('disable_nacl==0 and OS=="linux" and '
126       '(target_arch=="ia32" or target_arch=="x64" or target_arch=="arm")'), {
127       'variables': {
128         'files': [
129           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf',
130         ],
131       },
132     }],
133     ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', {
134       'variables': {
135         'files': [
136           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe',
137           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe',
138           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe',
139         ],
140       },
141     }],
142     ['disable_nacl==0 and (OS=="win" or '
143          '((OS=="linux" or OS=="mac") and target_arch=="x64"))', {
144       'variables': {
145         'files': [
146           '<(PRODUCT_DIR)/lib64/',
147           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
148           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
149           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
150         ],
151       },
152     }],
153     ['disable_nacl==0 and target_arch=="ia32" and'
154          '(OS=="mac" or OS=="linux" or OS=="win")', {
155       'variables': {
156         'files': [
157           '<(PRODUCT_DIR)/lib32/',
158           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
159           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
160           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
161         ],
162       },
163     }],
164     ['disable_nacl==0 and OS=="linux" and '
165          '(target_arch=="x64" or target_arch=="ia32")', {
166       'variables': {
167         'files': [
168           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe',
169         ],
170       },
171     }],
172     ['OS=="mac"', {
173       'variables': {
174         'files': [
175           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
176           '<(PRODUCT_DIR)/content_shell.pak',
177           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
178           '<(PRODUCT_DIR)/osmesa.so',
179           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
180           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
181           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
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   ],