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/features.gni") |
5 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
6 import("//ppapi/native_client/nacl_test_data.gni") | 7 import("//ppapi/native_client/nacl_test_data.gni") |
7 | 8 |
8 group("extensions") { | 9 group("extensions") { |
9 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" | 10 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" |
10 pnacl = "//build/toolchain/nacl:newlib_pnacl" | 11 pnacl = "//build/toolchain/nacl:newlib_pnacl" |
11 data_deps = [ | 12 data_deps = [ |
12 ":ppapi_tests_extensions_background_keepalive($newlib)", | 13 ":ppapi_tests_extensions_background_keepalive($newlib)", |
13 ":ppapi_tests_extensions_load_unload($newlib)", | 14 ":ppapi_tests_extensions_load_unload($newlib)", |
14 ":ppapi_tests_extensions_media_galleries($newlib)", | 15 ":ppapi_tests_extensions_media_galleries($newlib)", |
15 ":ppapi_tests_extensions_multicast_permissions($newlib)", | 16 ":ppapi_tests_extensions_multicast_permissions($newlib)", |
16 ":ppapi_tests_extensions_no_socket_permissions($newlib)", | 17 ":ppapi_tests_extensions_no_socket_permissions($newlib)", |
17 ":ppapi_tests_extensions_packaged_app($newlib)", | 18 ":ppapi_tests_extensions_packaged_app($newlib)", |
18 ":ppapi_tests_extensions_packaged_app($pnacl)", | 19 ":ppapi_tests_extensions_packaged_app($pnacl)", |
19 ":ppapi_tests_extensions_popup($newlib)", | 20 ":ppapi_tests_extensions_popup($newlib)", |
20 ":ppapi_tests_extensions_socket_permissions($newlib)", | 21 ":ppapi_tests_extensions_socket_permissions($newlib)", |
21 ] | 22 ] |
22 if ((target_cpu == "x86" || target_cpu == "x64") && is_linux) { | 23 if ((target_cpu == "x86" || target_cpu == "x64") && is_linux && |
| 24 enable_nacl_nonsfi) { |
23 nonsfi = "//build/toolchain/nacl:newlib_pnacl_nonsfi" | 25 nonsfi = "//build/toolchain/nacl:newlib_pnacl_nonsfi" |
24 data_deps += [ ":ppapi_tests_extensions_packaged_app($nonsfi)" ] | 26 data_deps += [ ":ppapi_tests_extensions_packaged_app($nonsfi)" ] |
25 } | 27 } |
26 } | 28 } |
27 | 29 |
28 if (is_nacl && !is_nacl_nonsfi) { | 30 if (is_nacl && !is_nacl_nonsfi) { |
29 nacl_test_data("ppapi_tests_extensions_background_keepalive") { | 31 nacl_test_data("ppapi_tests_extensions_background_keepalive") { |
30 sources = [ | 32 sources = [ |
31 "background_keepalive/background.cc", | 33 "background_keepalive/background.cc", |
32 ] | 34 ] |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 "-xtest_file122:test_file.txt", | 286 "-xtest_file122:test_file.txt", |
285 "-xtest_file123:test_file2.txt", | 287 "-xtest_file123:test_file2.txt", |
286 "-xtest_file124:test_file.txt", | 288 "-xtest_file124:test_file.txt", |
287 "-xtest_file125:test_file2.txt", | 289 "-xtest_file125:test_file2.txt", |
288 "-xtest_file126:test_file.txt", | 290 "-xtest_file126:test_file.txt", |
289 "-xtest_file127:test_file2.txt", | 291 "-xtest_file127:test_file2.txt", |
290 "-xtest_file128:test_file.txt", | 292 "-xtest_file128:test_file.txt", |
291 ] | 293 ] |
292 } | 294 } |
293 } | 295 } |
OLD | NEW |