Files.app: Stop to use file system URLs having externalfile:// scheme origin internally.
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blobffed8df969f290308d564cd9c50cad3b98044e80
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   'includes': [
6     'chrome.isolate',
7   ],
8   'conditions': [
9     ['OS=="linux"', {
10       'variables': {
11         'command': [
12           '../testing/xvfb.py',
13           '<(PRODUCT_DIR)',
14           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
15           '--test-launcher-bot-mode',
16           '--lsan=<(lsan)',
17         ],
18         'isolate_dependency_tracked': [
19           '../testing/xvfb.py',
20           '<(PRODUCT_DIR)/libclearkeycdm.so',
21           '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
22           '<(PRODUCT_DIR)/libppapi_tests.so',
23         ],
24       },
25     }],
26     ['OS=="linux" and use_ozone==0', {
27       'variables': {
28         'isolate_dependency_tracked': [
29           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
30         ],
31       },
32     }],
33     ['OS=="linux" and libpeer_target_type=="loadable_module"', {
34       'variables': {
35         'isolate_dependency_tracked': [
36           '<(PRODUCT_DIR)/lib/libpeerconnection.so',
37         ],
38       },
39     }],
40     ['OS=="linux" or OS=="mac" or OS=="win"', {
41       'variables': {
42         'isolate_dependency_tracked': [
43           '../media/test/data/',
44           '../ppapi/tests/test_case.html',
45           '../ppapi/tests/test_page.css',
46           '../testing/test_env.py',
47           '../third_party/accessibility-audit/axs_testing.js',
48           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
49           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
50           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
51           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
52           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
53           '<(PRODUCT_DIR)/test_case.html',
54           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
55           '<(PRODUCT_DIR)/test_page.css',
56           'browser/policy/test/asn1der.py',
57           'browser/policy/test/policy_testserver.py',
58         ],
59         'isolate_dependency_untracked': [
60           '../content/test/data/',
61           '../google_apis/test/',
62           '../media/test/data/',
63           '../net/data/',
64           '../net/tools/testserver/',
65           '../third_party/pyftpdlib/',
66           '../third_party/pywebsocket/',
67           '../third_party/safe_browsing/',
68           '../third_party/simplejson/',
69           '../third_party/tlslite/',
70           '<(PRODUCT_DIR)/nacl_test_data/',
71           '<(PRODUCT_DIR)/pnacl/',
72           '<(PRODUCT_DIR)/pseudo_locales/',
73           '<(PRODUCT_DIR)/pyproto/',
74           '<(PRODUCT_DIR)/remoting/unittests/',
75           '<(PRODUCT_DIR)/test_data/',
76           '<(PRODUCT_DIR)/test_url_loader_data/',
77           'common/extensions/docs/examples/apps/calculator/',
78           'test/data/',
79           'third_party/mock4js/',
80         ],
81         'read_only': 1,
82       },
83     }],
84     ['OS=="linux" or OS=="win"', {
85       'variables': {
86         'isolate_dependency_tracked': [
87           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
88         ],
89         'isolate_dependency_untracked': [
90           '../third_party/bidichecker/',
91         ],
92       },
93     }],
94     ['OS=="win" or (OS=="linux" and target_arch=="x64")', {
95       'variables': {
96         'isolate_dependency_tracked': [
97           '<(PRODUCT_DIR)/lib64/',
98           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
99           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
100           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
101         ],
102       },
103     }],
104     ['OS=="mac"', {
105       'variables': {
106         'isolate_dependency_tracked': [
107           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
108           '<(PRODUCT_DIR)/content_shell.pak',
109           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
110           '<(PRODUCT_DIR)/osmesa.so',
111           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
112         ],
113         'isolate_dependency_untracked': [
114           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
115           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
116         ],
117       },
118     }],
119     ['OS=="mac" and target_arch=="ia32"', {
120       'variables': {
121         'isolate_dependency_tracked': [
122           '<(PRODUCT_DIR)/lib32/',
123           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
124           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
125           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
126         ],
127       },
128     }],
129     ['OS=="mac" or OS=="win"', {
130       'variables': {
131         'command': [
132           '../testing/test_env.py',
133           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
134           '--test-launcher-bot-mode',
135         ],
136       },
137     }],
138     ['OS=="win"', {
139       'variables': {
140         'isolate_dependency_tracked': [
141           '../native_client/build/build_nexe.py',
142           '<(PRODUCT_DIR)/chrome_elf.dll',
143           '<(PRODUCT_DIR)/clearkeycdm.dll',
144           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
145           '<(PRODUCT_DIR)/ppapi_tests.dll',
146           'tools/build/repack_locales.py',
147         ],
148         'isolate_dependency_untracked': [
149           '<(PRODUCT_DIR)/plugins/',
150         ],
151       },
152     }],
153     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
154       'variables': {
155         'isolate_dependency_untracked': [
156           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
157         ],
158       },
159     }],
160     ['OS=="win" and libpeer_target_type=="loadable_module"', {
161       'variables': {
162         'isolate_dependency_tracked': [
163           '<(PRODUCT_DIR)/libpeerconnection.dll',
164         ],
165       },
166     }],
167     ['chromeos==1', {
168       'variables': {
169         'isolate_dependency_tracked': [
170           '<(PRODUCT_DIR)/content_shell.pak',
171           '<(PRODUCT_DIR)/keyboard_resources.pak',
172           '<(PRODUCT_DIR)/libexif.so',
173           '<(PRODUCT_DIR)/nacl_helper',
174           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
175           'browser/chromeos/login/test/https_forwarder.py',
176         ],
177         'isolate_dependency_untracked': [
178           '../chromeos/test/data/',
179           '../ui/file_manager/file_manager/',
180           '../ui/webui/resources/js/',
181           '<(PRODUCT_DIR)/chromevox_test_data/',
182           '<(PRODUCT_DIR)/locales/',
183           '<(PRODUCT_DIR)/resources/chromeos/',
184         ],
185       },
186     }],
187   ],