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.
7 '../../../../ppapi/ppapi_nacl_test_common.gypi',
11 'target_name': 'shared_test_files',
16 'build_pnacl_newlib': 1,
17 'nexe_destination_dir': 'nacl_test_data',
19 # TODO(ncbray) move into chrome/test/data/nacl when all tests are
21 '<(DEPTH)/ppapi/native_client/tests/ppapi_browser/progress_event_listener.js',
22 '<(DEPTH)/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.js',
23 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nacltest.js',
28 'target_name': 'simple_test',
31 'nexe_target': 'simple',
34 'build_pnacl_newlib': 1,
35 'nexe_destination_dir': 'nacl_test_data',
40 'nacl_load_test.html',
45 'target_name': 'exit_status_test',
48 'nexe_target': 'pm_exit_status_test',
51 'build_pnacl_newlib': 1,
52 'nexe_destination_dir': 'nacl_test_data',
54 'exit_status/pm_exit_status_test.cc',
57 'exit_status/pm_exit_status_test.html',
62 'target_name': 'sysconf_nprocessors_onln_test',
65 'nexe_target': 'sysconf_nprocessors_onln_test',
68 'build_pnacl_newlib': 1,
69 'nexe_destination_dir': 'nacl_test_data',
71 'sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc',
74 'sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.html',
79 'target_name': 'ppapi_test_lib',
82 'nlib_target': 'libppapi_test_lib.a',
83 'nso_target': 'libppapi_test_lib.so',
86 'build_pnacl_newlib': 1,
87 'nexe_destination_dir': 'nacl_test_data',
89 # TODO(ncbray) move these files once SCons no longer depends on them.
90 '../../../../ppapi/native_client/tests/ppapi_test_lib/get_browser_interface.cc',
91 '../../../../ppapi/native_client/tests/ppapi_test_lib/internal_utils.cc',
92 '../../../../ppapi/native_client/tests/ppapi_test_lib/module_instance.cc',
93 '../../../../ppapi/native_client/tests/ppapi_test_lib/testable_callback.cc',
94 '../../../../ppapi/native_client/tests/ppapi_test_lib/test_interface.cc',
98 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
102 'target_name': 'ppapi_progress_events',
105 'nexe_target': 'ppapi_progress_events',
108 'build_pnacl_newlib': 1,
109 'nexe_destination_dir': 'nacl_test_data',
117 'progress_events/ppapi_progress_events.cc',
120 'progress_events/ppapi_progress_events.html',
124 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
125 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
126 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
127 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib',
128 '<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib',
133 'target_name': 'pnacl_error_handling_test',
136 'build_pnacl_newlib': 1,
137 'nexe_destination_dir': 'nacl_test_data',
138 # No need to translate AOT.
142 # Use prebuilt NMF files.
145 'pnacl_error_handling/pnacl_error_handling.html',
146 'pnacl_error_handling/bad.pexe',
147 'pnacl_error_handling/pnacl_bad_pexe.nmf',
148 'pnacl_error_handling/pnacl_bad_doesnotexist.nmf',
149 'pnacl_error_handling/pnacl_illformed_manifest.nmf',
153 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
157 'target_name': 'pnacl_mime_type_test',
162 'build_pnacl_newlib': 1,
163 'nexe_destination_dir': 'nacl_test_data',
164 # No need to translate AOT.
169 'pnacl_mime_type/pnacl_mime_type.html',
174 'target_name': 'pnacl_options_test',
177 'nexe_target': 'pnacl_options',
178 'build_pnacl_newlib': 1,
179 'nexe_destination_dir': 'nacl_test_data',
180 # No need to translate these AOT, when we just need the pexe.
188 'pnacl_nmf_options/pnacl_options.html',
189 'pnacl_nmf_options/pnacl_o_0.nmf',
190 'pnacl_nmf_options/pnacl_o_2.nmf',
191 'pnacl_nmf_options/pnacl_o_large.nmf',
195 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
199 'target_name': 'pnacl_dyncode_syscall_disabled_test',
202 # This tests that nexes produced by translation in the browser are not
203 # able to use the dyncode syscalls. Pre-translated nexes are not
204 # subject to this constraint, so we do not test them.
208 'nexe_target': 'pnacl_dyncode_syscall_disabled',
209 'build_pnacl_newlib': 1,
210 'nexe_destination_dir': 'nacl_test_data',
216 # The "_private" variant of the library calls the syscalls
217 # directly, which allows us to test the syscalls directly,
218 # even when the dyncode IRT interface is also disabled under
220 '-lnacl_dyncode_private',
223 'pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc',
226 'pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html',
230 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
231 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
232 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_dyncode_private_lib',
233 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
234 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib',
235 '<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib',
240 'target_name': 'pnacl_exception_handling_disabled_test',
243 # This tests that nexes produced by translation in the browser are not
244 # able to use hardware exception handling. Pre-translated nexes are
245 # not subject to this constraint, so we do not test them.
249 'nexe_target': 'pnacl_exception_handling_disabled',
250 'build_pnacl_newlib': 1,
251 'nexe_destination_dir': 'nacl_test_data',
257 # The "_private" variant of the library calls the syscalls
258 # directly, which allows us to test the syscalls directly,
259 # even when the exception-handling IRT interface is also
260 # disabled under PNaCl.
261 '-lnacl_exception_private',
264 'pnacl_exception_handling_disabled/pnacl_exception_handling_disabled.cc',
267 'pnacl_exception_handling_disabled/pnacl_exception_handling_disabled.html',
271 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
272 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
273 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_exception_private_lib',
274 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
275 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib',
276 '<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib',
280 # Legacy NaCl PPAPI interface tests being here.
282 'target_name': 'ppapi_ppb_core',
285 'nexe_target': 'ppapi_ppb_core',
288 'build_pnacl_newlib': 1,
289 'nexe_destination_dir': 'nacl_test_data',
297 'ppapi/ppb_core/ppapi_ppb_core.cc',
300 'ppapi/ppb_core/ppapi_ppb_core.html',
304 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
305 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
306 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
307 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib',
308 '<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib',