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