| 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 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 ":partly_invalid($newlib)", | 22 ":partly_invalid($newlib)", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 ":shared_test_files($pnacl)", | 67 ":shared_test_files($pnacl)", |
| 68 ":simple_test($glibc)", | 68 ":simple_test($glibc)", |
| 69 ":simple_test($newlib)", | 69 ":simple_test($newlib)", |
| 70 ":simple_test($pnacl)", | 70 ":simple_test($pnacl)", |
| 71 ":sysconf_nprocessors_onln_test($glibc)", | 71 ":sysconf_nprocessors_onln_test($glibc)", |
| 72 ":sysconf_nprocessors_onln_test($newlib)", | 72 ":sysconf_nprocessors_onln_test($newlib)", |
| 73 ":sysconf_nprocessors_onln_test($pnacl)", | 73 ":sysconf_nprocessors_onln_test($pnacl)", |
| 74 ] | 74 ] |
| 75 if (is_linux) { | 75 if (is_linux) { |
| 76 nonsfi = "//build/toolchain/nacl:newlib_pnacl_nonsfi" | 76 nonsfi = "//build/toolchain/nacl:newlib_pnacl_nonsfi" |
| 77 deps += [ | 77 data_deps += [ |
| 78 ":irt_exception_test($nonsfi)", | 78 ":irt_exception_test($nonsfi)", |
| 79 ":irt_manifest_file($nonsfi)", | 79 ":irt_manifest_file($nonsfi)", |
| 80 ":shared_test_files($nonsfi)", | 80 ":shared_test_files($nonsfi)", |
| 81 ] | 81 ] |
| 82 if (is_clang) { | 82 if (is_clang) { |
| 83 deps += [ ":nonsfi_libc_free" ] | 83 data_deps += [ ":nonsfi_libc_free" ] |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 } | 86 } |
| 87 | 87 |
| 88 if (is_nacl) { | 88 if (is_nacl) { |
| 89 copy("shared_test_files") { | 89 copy("shared_test_files") { |
| 90 sources = [ | 90 sources = [ |
| 91 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | 91 # TODO(ncbray) move into chrome/test/data/nacl when all tests are |
| 92 # converted. | 92 # converted. |
| 93 "//ppapi/native_client/tools/browser_tester/browserdata/nacltest.js", | 93 "//ppapi/native_client/tools/browser_tester/browserdata/nacltest.js", |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 "nonsfi/libc_free.nmf", | 566 "nonsfi/libc_free.nmf", |
| 567 ] | 567 ] |
| 568 outputs = [ | 568 outputs = [ |
| 569 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", | 569 "${root_build_dir}/nacl_test_data/libc-free/{{source_file_part}}", |
| 570 ] | 570 ] |
| 571 deps = [ | 571 deps = [ |
| 572 ":nonsfi_libc_free_nexe", | 572 ":nonsfi_libc_free_nexe", |
| 573 ] | 573 ] |
| 574 } | 574 } |
| 575 } | 575 } |
| OLD | NEW |