| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 copy("copy_test_files") { | 5 copy("copy_test_files") { |
| 6 visibility = [ ":*" ] | 6 visibility = [ ":*" ] |
| 7 sources = [ | 7 sources = [ |
| 8 # Keep "test_case.html.mock-http-headers" with "test_case.html". | 8 # Keep "test_case.html.mock-http-headers" with "test_case.html". |
| 9 "tests/ppapi_nacl_tests_newlib.nmf", | 9 "tests/ppapi_nacl_tests_newlib.nmf", |
| 10 "tests/test_case.html", | 10 "tests/test_case.html", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 sources = [ | 22 sources = [ |
| 23 "tests/test_url_loader_data/hello.txt", | 23 "tests/test_url_loader_data/hello.txt", |
| 24 ] | 24 ] |
| 25 outputs = [ | 25 outputs = [ |
| 26 "$root_out_dir/test_url_loader_data/{{source_file_part}}", | 26 "$root_out_dir/test_url_loader_data/{{source_file_part}}", |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 | 29 |
| 30 import("//build/config/features.gni") | 30 import("//build/config/features.gni") |
| 31 import("//build/config/nacl/config.gni") | 31 import("//build/config/nacl/config.gni") |
| 32 import("//build_overrides/v8.gni") |
| 32 import("//ppapi/ppapi_sources.gni") | 33 import("//ppapi/ppapi_sources.gni") |
| 33 import("//testing/test.gni") | 34 import("//testing/test.gni") |
| 34 | 35 |
| 35 shared_library("ppapi_tests") { | 36 shared_library("ppapi_tests") { |
| 36 sources = ppapi_sources.test_common_source_files + | 37 sources = ppapi_sources.test_common_source_files + |
| 37 ppapi_sources.test_trusted_source_files | 38 ppapi_sources.test_trusted_source_files |
| 38 | 39 |
| 39 configs += [ "//build/config:precompiled_headers" ] | 40 configs += [ "//build/config:precompiled_headers" ] |
| 40 defines = [ "GL_GLEXT_PROTOTYPES" ] | 41 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 41 include_dirs = [ "lib/gl/include" ] | 42 include_dirs = [ "lib/gl/include" ] |
| 42 | 43 |
| 43 deps = [ | 44 deps = [ |
| 44 ":copy_test_files", | 45 ":copy_test_files", |
| 45 ":copy_test_files2", | 46 ":copy_test_files2", |
| 46 "//build/config/sanitizers:deps", | 47 "//build/config/sanitizers:deps", |
| 47 "//ppapi/cpp", | 48 "//ppapi/cpp", |
| 48 "//ppapi/shared_impl", | 49 "//ppapi/shared_impl", |
| 49 ] | 50 ] |
| 51 |
| 52 if (v8_use_external_startup_data) { |
| 53 configs += [ "//v8:external_startup_data" ] |
| 54 } |
| 50 } | 55 } |
| 51 | 56 |
| 52 shared_library("power_saver_test_plugin") { | 57 shared_library("power_saver_test_plugin") { |
| 53 sources = [ | 58 sources = [ |
| 54 "tests/power_saver_test_plugin.cc", | 59 "tests/power_saver_test_plugin.cc", |
| 55 "tests/test_utils.cc", | 60 "tests/test_utils.cc", |
| 56 ] | 61 ] |
| 57 | 62 |
| 58 deps = [ | 63 deps = [ |
| 59 "//build/config/sanitizers:deps", | 64 "//build/config/sanitizers:deps", |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 if (target_cpu == "x86" || target_cpu == "x64") { | 358 if (target_cpu == "x86" || target_cpu == "x64") { |
| 354 data_deps += [ | 359 data_deps += [ |
| 355 ":copy_test_files", | 360 ":copy_test_files", |
| 356 ":nacl_tests_copy(//build/toolchain/nacl:clang_newlib_${target_cpu})", | 361 ":nacl_tests_copy(//build/toolchain/nacl:clang_newlib_${target_cpu})", |
| 357 ":generate_nmf(//build/toolchain/nacl:glibc_${target_cpu})", | 362 ":generate_nmf(//build/toolchain/nacl:glibc_${target_cpu})", |
| 358 ":generate_nmf(//build/toolchain/nacl:newlib_pnacl)", | 363 ":generate_nmf(//build/toolchain/nacl:newlib_pnacl)", |
| 359 ] | 364 ] |
| 360 } | 365 } |
| 361 } | 366 } |
| 362 } | 367 } |
| OLD | NEW |