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 18 matching lines...) Expand all Loading... |
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("//ppapi/ppapi_sources.gni") | 32 import("//ppapi/ppapi_sources.gni") |
33 import("//testing/test.gni") | 33 import("//testing/test.gni") |
34 | 34 |
35 shared_library("ppapi_tests") { | 35 shared_library("ppapi_tests") { |
36 sources = ppapi_sources.test_common_source_files + | 36 sources = ppapi_sources.test_common_source_files + |
37 ppapi_sources.test_trusted_source_files | 37 ppapi_sources.test_trusted_source_files |
38 | 38 |
39 configs += [ "//build/config:precompiled_headers" ] | 39 configs += [ |
| 40 "//build/config:precompiled_headers", |
| 41 "//v8:external_startup_data", |
| 42 ] |
| 43 |
40 defines = [ "GL_GLEXT_PROTOTYPES" ] | 44 defines = [ "GL_GLEXT_PROTOTYPES" ] |
41 include_dirs = [ "lib/gl/include" ] | 45 include_dirs = [ "lib/gl/include" ] |
42 | 46 |
43 deps = [ | 47 deps = [ |
44 ":copy_test_files", | 48 ":copy_test_files", |
45 ":copy_test_files2", | 49 ":copy_test_files2", |
46 "//build/config/sanitizers:deps", | 50 "//build/config/sanitizers:deps", |
47 "//ppapi/cpp", | 51 "//ppapi/cpp", |
48 "//ppapi/shared_impl", | 52 "//ppapi/shared_impl", |
49 ] | 53 ] |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 if (target_cpu == "x86" || target_cpu == "x64") { | 357 if (target_cpu == "x86" || target_cpu == "x64") { |
354 data_deps += [ | 358 data_deps += [ |
355 ":copy_test_files", | 359 ":copy_test_files", |
356 ":nacl_tests_copy(//build/toolchain/nacl:clang_newlib_${target_cpu})", | 360 ":nacl_tests_copy(//build/toolchain/nacl:clang_newlib_${target_cpu})", |
357 ":generate_nmf(//build/toolchain/nacl:glibc_${target_cpu})", | 361 ":generate_nmf(//build/toolchain/nacl:glibc_${target_cpu})", |
358 ":generate_nmf(//build/toolchain/nacl:newlib_pnacl)", | 362 ":generate_nmf(//build/toolchain/nacl:newlib_pnacl)", |
359 ] | 363 ] |
360 } | 364 } |
361 } | 365 } |
362 } | 366 } |
OLD | NEW |