| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 shared_library("ppapi_tests") { | 33 shared_library("ppapi_tests") { |
| 34 sources = ppapi_sources.test_common_source_files + | 34 sources = ppapi_sources.test_common_source_files + |
| 35 ppapi_sources.test_trusted_source_files | 35 ppapi_sources.test_trusted_source_files |
| 36 | 36 |
| 37 configs += [ "//build/config:precompiled_headers" ] | 37 configs += [ "//build/config:precompiled_headers" ] |
| 38 defines = [ "GL_GLEXT_PROTOTYPES" ] | 38 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 39 include_dirs = [ "lib/gl/include" ] | 39 include_dirs = [ "lib/gl/include" ] |
| 40 | 40 |
| 41 deps = [ | 41 deps = [ |
| 42 ":copy_test_files", |
| 43 ":copy_test_files2", |
| 44 "//build/config/sanitizers:deps", |
| 42 "//ppapi/cpp", | 45 "//ppapi/cpp", |
| 43 "//ppapi/shared_impl", | 46 "//ppapi/shared_impl", |
| 44 ":copy_test_files", | |
| 45 ":copy_test_files2", | |
| 46 ] | 47 ] |
| 47 } | 48 } |
| 48 | 49 |
| 49 shared_library("power_saver_test_plugin") { | 50 shared_library("power_saver_test_plugin") { |
| 50 sources = [ | 51 sources = [ |
| 51 "tests/power_saver_test_plugin.cc", | 52 "tests/power_saver_test_plugin.cc", |
| 52 "tests/test_utils.cc", | 53 "tests/test_utils.cc", |
| 53 ] | 54 ] |
| 54 | 55 |
| 55 deps = [ | 56 deps = [ |
| 57 "//build/config/sanitizers:deps", |
| 56 "//ppapi/cpp", | 58 "//ppapi/cpp", |
| 57 "//ppapi/shared_impl", | 59 "//ppapi/shared_impl", |
| 58 ] | 60 ] |
| 59 } | 61 } |
| 60 | 62 |
| 61 test("ppapi_unittests") { | 63 test("ppapi_unittests") { |
| 62 sources = [ | 64 sources = [ |
| 63 "host/resource_message_filter_unittest.cc", | 65 "host/resource_message_filter_unittest.cc", |
| 64 "proxy/device_enumeration_resource_helper_unittest.cc", | 66 "proxy/device_enumeration_resource_helper_unittest.cc", |
| 65 "proxy/file_chooser_resource_unittest.cc", | 67 "proxy/file_chooser_resource_unittest.cc", |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ] | 132 ] |
| 131 } | 133 } |
| 132 | 134 |
| 133 executable("pepper_hash_for_uma") { | 135 executable("pepper_hash_for_uma") { |
| 134 sources = [ | 136 sources = [ |
| 135 "tools/pepper_hash_for_uma.cc", | 137 "tools/pepper_hash_for_uma.cc", |
| 136 ] | 138 ] |
| 137 | 139 |
| 138 deps = [ | 140 deps = [ |
| 139 "//base", | 141 "//base", |
| 142 "//build/config/sanitizers:deps", |
| 140 ] | 143 ] |
| 141 } | 144 } |
| 142 | 145 |
| 143 source_set("ppapi_cpp_lib") { | 146 source_set("ppapi_cpp_lib") { |
| 144 sources = ppapi_sources.cpp_source_files | 147 sources = ppapi_sources.cpp_source_files |
| 145 sources += [ | 148 sources += [ |
| 146 "cpp/module_embedder.h", | 149 "cpp/module_embedder.h", |
| 147 "cpp/ppp_entrypoints.cc", | 150 "cpp/ppp_entrypoints.cc", |
| 148 ] | 151 ] |
| 149 } | 152 } |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 ] | 193 ] |
| 191 } | 194 } |
| 192 } | 195 } |
| 193 | 196 |
| 194 group("ppapi_nacl_tests") { | 197 group("ppapi_nacl_tests") { |
| 195 deps = [] | 198 deps = [] |
| 196 if (target_cpu == "x86" || target_cpu == "x64") { | 199 if (target_cpu == "x86" || target_cpu == "x64") { |
| 197 deps += [ ":nacl_tests_copy(//native_client/build/toolchain/nacl:clang_newli
b_${target_cpu})" ] | 200 deps += [ ":nacl_tests_copy(//native_client/build/toolchain/nacl:clang_newli
b_${target_cpu})" ] |
| 198 } | 201 } |
| 199 } | 202 } |
| OLD | NEW |