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)", | |
31 ":ppapi_bad_get_ppp_instance_crash($newlib)", | 30 ":ppapi_bad_get_ppp_instance_crash($newlib)", |
32 ":ppapi_bad_no_ppp_instance($newlib)", | 31 ":ppapi_bad_no_ppp_instance($newlib)", |
33 ":ppapi_bad_ppp_initialize($newlib)", | 32 ":ppapi_bad_ppp_initialize($newlib)", |
34 ":ppapi_bad_ppp_initialize_crash($newlib)", | 33 ":ppapi_bad_ppp_initialize_crash($newlib)", |
35 ":ppapi_bad_ppp_instance_didcreate($newlib)", | 34 ":ppapi_bad_ppp_instance_didcreate($newlib)", |
36 ":ppapi_bad_ppp_instance_didcreate_crash($newlib)", | 35 ":ppapi_bad_ppp_instance_didcreate_crash($newlib)", |
37 ":ppapi_crash_in_callback($glibc)", | 36 ":ppapi_crash_in_callback($glibc)", |
38 ":ppapi_crash_in_callback($newlib)", | 37 ":ppapi_crash_in_callback($newlib)", |
39 ":ppapi_crash_in_callback($pnacl)", | 38 ":ppapi_crash_in_callback($pnacl)", |
40 ":ppapi_crash_off_main_thread($glibc)", | 39 ":ppapi_crash_off_main_thread($glibc)", |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 generate_nmf = false | 427 generate_nmf = false |
429 destination_dir = "nacl_test_data" | 428 destination_dir = "nacl_test_data" |
430 test_files = [ | 429 test_files = [ |
431 "pnacl_nmf_options/pnacl_options.html", | 430 "pnacl_nmf_options/pnacl_options.html", |
432 "pnacl_nmf_options/pnacl_o_0.nmf", | 431 "pnacl_nmf_options/pnacl_o_0.nmf", |
433 "pnacl_nmf_options/pnacl_o_2.nmf", | 432 "pnacl_nmf_options/pnacl_o_2.nmf", |
434 "pnacl_nmf_options/pnacl_o_large.nmf", | 433 "pnacl_nmf_options/pnacl_o_large.nmf", |
435 ] | 434 ] |
436 } | 435 } |
437 | 436 |
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 | |
451 nacl_test_data("pnacl_dyncode_syscall_disabled_test") { | 437 nacl_test_data("pnacl_dyncode_syscall_disabled_test") { |
452 output_name = "pnacl_dyncode_syscall_disabled" | 438 output_name = "pnacl_dyncode_syscall_disabled" |
453 sources = [ | 439 sources = [ |
454 "pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc", | 440 "pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc", |
455 ] | 441 ] |
456 deps = [ | 442 deps = [ |
457 ":ppapi_test_lib", | 443 ":ppapi_test_lib", |
458 "//native_client/src/untrusted/nacl:nacl_dyncode_private", | 444 "//native_client/src/untrusted/nacl:nacl_dyncode_private", |
459 ] | 445 ] |
460 destination_dir = "nacl_test_data" | 446 destination_dir = "nacl_test_data" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 "nonsfi/libc_free.nmf", | 592 "nonsfi/libc_free.nmf", |
607 ] | 593 ] |
608 outputs = [ | 594 outputs = [ |
609 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", | 595 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", |
610 ] | 596 ] |
611 deps = [ | 597 deps = [ |
612 ":nonsfi_libc_free_nexe", | 598 ":nonsfi_libc_free_nexe", |
613 ] | 599 ] |
614 } | 600 } |
615 } | 601 } |
OLD | NEW |