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}" |
(...skipping 10 matching lines...) Expand all Loading... |
21 ":irt_manifest_file($newlib)", | 21 ":irt_manifest_file($newlib)", |
22 ":partly_invalid($newlib)", | 22 ":partly_invalid($newlib)", |
23 ":pnacl_debug_url_test($pnacl)", | 23 ":pnacl_debug_url_test($pnacl)", |
24 ":pnacl_dyncode_syscall_disabled_test($pnacl)", | 24 ":pnacl_dyncode_syscall_disabled_test($pnacl)", |
25 ":pnacl_error_handling_test($pnacl)", | 25 ":pnacl_error_handling_test($pnacl)", |
26 ":pnacl_hw_eh_disabled_test($pnacl)", | 26 ":pnacl_hw_eh_disabled_test($pnacl)", |
27 ":pnacl_mime_type_test($glibc)", | 27 ":pnacl_mime_type_test($glibc)", |
28 ":pnacl_mime_type_test($newlib)", | 28 ":pnacl_mime_type_test($newlib)", |
29 ":pnacl_mime_type_test($pnacl)", | 29 ":pnacl_mime_type_test($pnacl)", |
30 ":pnacl_options_test($pnacl)", | 30 ":pnacl_options_test($pnacl)", |
| 31 ":pnacl_url_loader_test($pnacl)", |
31 ":ppapi_bad_get_ppp_instance_crash($newlib)", | 32 ":ppapi_bad_get_ppp_instance_crash($newlib)", |
32 ":ppapi_bad_no_ppp_instance($newlib)", | 33 ":ppapi_bad_no_ppp_instance($newlib)", |
33 ":ppapi_bad_ppp_initialize($newlib)", | 34 ":ppapi_bad_ppp_initialize($newlib)", |
34 ":ppapi_bad_ppp_initialize_crash($newlib)", | 35 ":ppapi_bad_ppp_initialize_crash($newlib)", |
35 ":ppapi_bad_ppp_instance_didcreate($newlib)", | 36 ":ppapi_bad_ppp_instance_didcreate($newlib)", |
36 ":ppapi_bad_ppp_instance_didcreate_crash($newlib)", | 37 ":ppapi_bad_ppp_instance_didcreate_crash($newlib)", |
37 ":ppapi_crash_in_callback($glibc)", | 38 ":ppapi_crash_in_callback($glibc)", |
38 ":ppapi_crash_in_callback($newlib)", | 39 ":ppapi_crash_in_callback($newlib)", |
39 ":ppapi_crash_in_callback($pnacl)", | 40 ":ppapi_crash_in_callback($pnacl)", |
40 ":ppapi_crash_off_main_thread($glibc)", | 41 ":ppapi_crash_off_main_thread($glibc)", |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 generate_nmf = false | 426 generate_nmf = false |
426 destination_dir = "nacl_test_data" | 427 destination_dir = "nacl_test_data" |
427 test_files = [ | 428 test_files = [ |
428 "pnacl_nmf_options/pnacl_options.html", | 429 "pnacl_nmf_options/pnacl_options.html", |
429 "pnacl_nmf_options/pnacl_o_0.nmf", | 430 "pnacl_nmf_options/pnacl_o_0.nmf", |
430 "pnacl_nmf_options/pnacl_o_2.nmf", | 431 "pnacl_nmf_options/pnacl_o_2.nmf", |
431 "pnacl_nmf_options/pnacl_o_large.nmf", | 432 "pnacl_nmf_options/pnacl_o_large.nmf", |
432 ] | 433 ] |
433 } | 434 } |
434 | 435 |
| 436 nacl_test_data("pnacl_url_loader_test") { |
| 437 output_name = "pnacl_url_loader" |
| 438 sources = [ |
| 439 "pnacl_url_loader/pnacl_url_loader.cc", |
| 440 ] |
| 441 deps = [ |
| 442 "//ppapi:ppapi_cpp_lib", |
| 443 ] |
| 444 generate_nmf = true |
| 445 destination_dir = "nacl_test_data" |
| 446 test_files = [ "pnacl_url_loader/pnacl_url_loader.html" ] |
| 447 } |
| 448 |
435 nacl_test_data("pnacl_dyncode_syscall_disabled_test") { | 449 nacl_test_data("pnacl_dyncode_syscall_disabled_test") { |
436 output_name = "pnacl_dyncode_syscall_disabled" | 450 output_name = "pnacl_dyncode_syscall_disabled" |
437 sources = [ | 451 sources = [ |
438 "pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc", | 452 "pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc", |
439 ] | 453 ] |
440 deps = [ | 454 deps = [ |
441 ":ppapi_test_lib", | 455 ":ppapi_test_lib", |
442 "//native_client/src/untrusted/nacl:nacl_dyncode_private", | 456 "//native_client/src/untrusted/nacl:nacl_dyncode_private", |
443 ] | 457 ] |
444 destination_dir = "nacl_test_data" | 458 destination_dir = "nacl_test_data" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 "nonsfi/libc_free.nmf", | 604 "nonsfi/libc_free.nmf", |
591 ] | 605 ] |
592 outputs = [ | 606 outputs = [ |
593 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", | 607 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", |
594 ] | 608 ] |
595 deps = [ | 609 deps = [ |
596 ":nonsfi_libc_free_nexe", | 610 ":nonsfi_libc_free_nexe", |
597 ] | 611 ] |
598 } | 612 } |
599 } | 613 } |
OLD | NEW |