| 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("extensions") { | 8 group("extensions") { |
| 9 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" | 9 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" |
| 10 pnacl = "//build/toolchain/nacl:newlib_pnacl" | 10 pnacl = "//build/toolchain/nacl:newlib_pnacl" |
| 11 data_deps = [ | 11 deps = [ |
| 12 ":ppapi_tests_extensions_background_keepalive($newlib)", | 12 ":ppapi_tests_extensions_background_keepalive($newlib)", |
| 13 ":ppapi_tests_extensions_load_unload($newlib)", | 13 ":ppapi_tests_extensions_load_unload($newlib)", |
| 14 ":ppapi_tests_extensions_media_galleries($newlib)", | 14 ":ppapi_tests_extensions_media_galleries($newlib)", |
| 15 ":ppapi_tests_extensions_multicast_permissions($newlib)", | 15 ":ppapi_tests_extensions_multicast_permissions($newlib)", |
| 16 ":ppapi_tests_extensions_no_socket_permissions($newlib)", | 16 ":ppapi_tests_extensions_no_socket_permissions($newlib)", |
| 17 ":ppapi_tests_extensions_packaged_app($newlib)", | 17 ":ppapi_tests_extensions_packaged_app($newlib)", |
| 18 ":ppapi_tests_extensions_packaged_app($pnacl)", | 18 ":ppapi_tests_extensions_packaged_app($pnacl)", |
| 19 ":ppapi_tests_extensions_popup($newlib)", | 19 ":ppapi_tests_extensions_popup($newlib)", |
| 20 ":ppapi_tests_extensions_socket_permissions($newlib)", | 20 ":ppapi_tests_extensions_socket_permissions($newlib)", |
| 21 ] | 21 ] |
| 22 if ((target_cpu == "x86" || target_cpu == "x64") && is_linux) { | 22 if ((target_cpu == "x86" || target_cpu == "x64") && is_linux) { |
| 23 nonsfi = "//build/toolchain/nacl:newlib_pnacl_nonsfi" | 23 nonsfi = "//build/toolchain/nacl:newlib_pnacl_nonsfi" |
| 24 data_deps += [ ":ppapi_tests_extensions_packaged_app($nonsfi)" ] | 24 deps += [ ":ppapi_tests_extensions_packaged_app($nonsfi)" ] |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 | 27 |
| 28 if (is_nacl && !is_nacl_nonsfi) { | 28 if (is_nacl && !is_nacl_nonsfi) { |
| 29 nacl_test_data("ppapi_tests_extensions_background_keepalive") { | 29 nacl_test_data("ppapi_tests_extensions_background_keepalive") { |
| 30 sources = [ | 30 sources = [ |
| 31 "background_keepalive/background.cc", | 31 "background_keepalive/background.cc", |
| 32 ] | 32 ] |
| 33 destination_dir = "test_data/ppapi/tests/extensions/background_keepalive" | 33 destination_dir = "test_data/ppapi/tests/extensions/background_keepalive" |
| 34 test_files = [ | 34 test_files = [ |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 "-xtest_file122:test_file.txt", | 260 "-xtest_file122:test_file.txt", |
| 261 "-xtest_file123:test_file2.txt", | 261 "-xtest_file123:test_file2.txt", |
| 262 "-xtest_file124:test_file.txt", | 262 "-xtest_file124:test_file.txt", |
| 263 "-xtest_file125:test_file2.txt", | 263 "-xtest_file125:test_file2.txt", |
| 264 "-xtest_file126:test_file.txt", | 264 "-xtest_file126:test_file.txt", |
| 265 "-xtest_file127:test_file2.txt", | 265 "-xtest_file127:test_file2.txt", |
| 266 "-xtest_file128:test_file.txt", | 266 "-xtest_file128:test_file.txt", |
| 267 ] | 267 ] |
| 268 } | 268 } |
| 269 } | 269 } |
| OLD | NEW |