OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//ppapi/native_client/nacl_test_data.gni") | 6 import("//ppapi/native_client/nacl_test_data.gni") |
7 | 7 |
8 group("nacl") { | 8 group("nacl") { |
9 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" | 9 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" |
10 glibc = "//build/toolchain/nacl:glibc_${target_cpu}" | 10 glibc = "//build/toolchain/nacl:glibc_${target_cpu}" |
11 pnacl = "//build/toolchain/nacl:newlib_pnacl" | 11 pnacl = "//build/toolchain/nacl:newlib_pnacl" |
12 data_deps = [ | 12 data_deps = [ |
13 ":exit_status_test($glibc)", | 13 ":exit_status_test($glibc)", |
14 ":exit_status_test($newlib)", | 14 ":exit_status_test($newlib)", |
15 ":exit_status_test($pnacl)", | 15 ":exit_status_test($pnacl)", |
16 ":extension_validation_cache($glibc)", | 16 ":extension_validation_cache($glibc)", |
17 ":extension_validation_cache($newlib)", | 17 ":extension_validation_cache($newlib)", |
18 ":irt_exception_test($glibc)", | 18 ":irt_exception_test($glibc)", |
19 ":irt_exception_test($newlib)", | 19 ":irt_exception_test($newlib)", |
20 ":irt_exception_test($pnacl)", | 20 ":irt_exception_test($pnacl)", |
21 ":irt_manifest_file($newlib)", | 21 ":irt_manifest_file($newlib)", |
22 ":pnacl_debug_url_test($pnacl)", | 22 ":pnacl_debug_url_test($pnacl)", |
23 ":pnacl_dyncode_syscall_disabled_test($pnacl)", | 23 ":pnacl_dyncode_syscall_disabled_test($pnacl)", |
24 ":pnacl_error_handling_test($pnacl)", | 24 ":pnacl_error_handling_test($pnacl)", |
25 ":pnacl_hw_eh_disabled_test($pnacl)", | 25 ":pnacl_hw_eh_disabled_test($pnacl)", |
26 ":pnacl_mime_type_test($glibc)", | 26 ":pnacl_mime_type_test($glibc)", |
27 ":pnacl_mime_type_test($newlib)", | 27 ":pnacl_mime_type_test($newlib)", |
28 ":pnacl_mime_type_test($pnacl)", | 28 ":pnacl_mime_type_test($pnacl)", |
29 ":pnacl_options_test($pnacl)", | 29 ":pnacl_options_test($pnacl)", |
| 30 ":pnacl_url_loader_test($pnacl)", |
30 ":ppapi_bad_get_ppp_instance_crash($newlib)", | 31 ":ppapi_bad_get_ppp_instance_crash($newlib)", |
31 ":ppapi_bad_no_ppp_instance($newlib)", | 32 ":ppapi_bad_no_ppp_instance($newlib)", |
32 ":ppapi_bad_ppp_initialize($newlib)", | 33 ":ppapi_bad_ppp_initialize($newlib)", |
33 ":ppapi_bad_ppp_initialize_crash($newlib)", | 34 ":ppapi_bad_ppp_initialize_crash($newlib)", |
34 ":ppapi_bad_ppp_instance_didcreate($newlib)", | 35 ":ppapi_bad_ppp_instance_didcreate($newlib)", |
35 ":ppapi_bad_ppp_instance_didcreate_crash($newlib)", | 36 ":ppapi_bad_ppp_instance_didcreate_crash($newlib)", |
36 ":ppapi_crash_in_callback($glibc)", | 37 ":ppapi_crash_in_callback($glibc)", |
37 ":ppapi_crash_in_callback($newlib)", | 38 ":ppapi_crash_in_callback($newlib)", |
38 ":ppapi_crash_in_callback($pnacl)", | 39 ":ppapi_crash_in_callback($pnacl)", |
39 ":ppapi_crash_off_main_thread($glibc)", | 40 ":ppapi_crash_off_main_thread($glibc)", |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 generate_nmf = false | 428 generate_nmf = false |
428 destination_dir = "nacl_test_data" | 429 destination_dir = "nacl_test_data" |
429 test_files = [ | 430 test_files = [ |
430 "pnacl_nmf_options/pnacl_options.html", | 431 "pnacl_nmf_options/pnacl_options.html", |
431 "pnacl_nmf_options/pnacl_o_0.nmf", | 432 "pnacl_nmf_options/pnacl_o_0.nmf", |
432 "pnacl_nmf_options/pnacl_o_2.nmf", | 433 "pnacl_nmf_options/pnacl_o_2.nmf", |
433 "pnacl_nmf_options/pnacl_o_large.nmf", | 434 "pnacl_nmf_options/pnacl_o_large.nmf", |
434 ] | 435 ] |
435 } | 436 } |
436 | 437 |
| 438 nacl_test_data("pnacl_url_loader_test") { |
| 439 output_name = "pnacl_url_loader" |
| 440 sources = [ |
| 441 "pnacl_url_loader/pnacl_url_loader.cc", |
| 442 ] |
| 443 deps = [ |
| 444 "//ppapi:ppapi_cpp_lib", |
| 445 ] |
| 446 generate_nmf = true |
| 447 destination_dir = "nacl_test_data" |
| 448 test_files = [ "pnacl_url_loader/pnacl_url_loader.html" ] |
| 449 } |
| 450 |
437 nacl_test_data("pnacl_dyncode_syscall_disabled_test") { | 451 nacl_test_data("pnacl_dyncode_syscall_disabled_test") { |
438 output_name = "pnacl_dyncode_syscall_disabled" | 452 output_name = "pnacl_dyncode_syscall_disabled" |
439 sources = [ | 453 sources = [ |
440 "pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc", | 454 "pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc", |
441 ] | 455 ] |
442 deps = [ | 456 deps = [ |
443 ":ppapi_test_lib", | 457 ":ppapi_test_lib", |
444 "//native_client/src/untrusted/nacl:nacl_dyncode_private", | 458 "//native_client/src/untrusted/nacl:nacl_dyncode_private", |
445 ] | 459 ] |
446 destination_dir = "nacl_test_data" | 460 destination_dir = "nacl_test_data" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 "nonsfi/libc_free.nmf", | 606 "nonsfi/libc_free.nmf", |
593 ] | 607 ] |
594 outputs = [ | 608 outputs = [ |
595 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", | 609 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", |
596 ] | 610 ] |
597 deps = [ | 611 deps = [ |
598 ":nonsfi_libc_free_nexe", | 612 ":nonsfi_libc_free_nexe", |
599 ] | 613 ] |
600 } | 614 } |
601 } | 615 } |
OLD | NEW |