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