| 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 # GYP-to-GN project mappings: | 5 # GYP-to-GN project mappings: |
| 6 # | 6 # |
| 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client | 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client |
| 8 # | 8 # |
| 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common | 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common |
| 10 # | 10 # |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 deps = [ | 38 deps = [ |
| 39 "//gpu/command_buffer/client", | 39 "//gpu/command_buffer/client", |
| 40 "//gpu/command_buffer/common", | 40 "//gpu/command_buffer/common", |
| 41 "//gpu/command_buffer/service", | 41 "//gpu/command_buffer/service", |
| 42 "//gpu/command_buffer/client:gles2_cmd_helper", | 42 "//gpu/command_buffer/client:gles2_cmd_helper", |
| 43 "//gpu/config", | 43 "//gpu/config", |
| 44 "//gpu/ipc", | 44 "//gpu/ipc", |
| 45 ] | 45 ] |
| 46 } | 46 } |
| 47 | 47 |
| 48 source_set("gpu_unittest_utils") { | 48 source_set("test_support") { |
| 49 sources = [ | 49 sources = [ |
| 50 "command_buffer/service/gles2_cmd_decoder_mock.cc", | 50 "command_buffer/service/gles2_cmd_decoder_mock.cc", |
| 51 "command_buffer/service/error_state_mock.cc", | 51 "command_buffer/service/error_state_mock.cc", |
| 52 "command_buffer/client/gles2_interface_stub.cc", | 52 "command_buffer/client/gles2_interface_stub.cc", |
| 53 "command_buffer/client/gles2_interface_stub.h", | 53 "command_buffer/client/gles2_interface_stub.h", |
| 54 ] | 54 ] |
| 55 | 55 |
| 56 configs += [ "//third_party/khronos:khronos_headers" ] | 56 configs += [ "//third_party/khronos:khronos_headers" ] |
| 57 | 57 |
| 58 deps = [ | 58 deps = [ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "command_buffer/tests/gl_virtual_contexts_unittest.cc", | 90 "command_buffer/tests/gl_virtual_contexts_unittest.cc", |
| 91 "command_buffer/tests/occlusion_query_unittest.cc", | 91 "command_buffer/tests/occlusion_query_unittest.cc", |
| 92 ] | 92 ] |
| 93 | 93 |
| 94 defines = [ | 94 defines = [ |
| 95 "GL_GLEXT_PROTOTYPES", | 95 "GL_GLEXT_PROTOTYPES", |
| 96 ] | 96 ] |
| 97 | 97 |
| 98 deps = [ | 98 deps = [ |
| 99 ":gpu", | 99 ":gpu", |
| 100 ":gpu_unittest_utils", | 100 ":test_support", |
| 101 "//base", | 101 "//base", |
| 102 "//base/third_party/dynamic_annotations", | 102 "//base/third_party/dynamic_annotations", |
| 103 "//testing/gmock", | 103 "//testing/gmock", |
| 104 "//testing/gtest", | 104 "//testing/gtest", |
| 105 "//third_party/angle:translator", | 105 "//third_party/angle:translator", |
| 106 "//ui/gfx", | 106 "//ui/gfx", |
| 107 "//ui/gfx:test_support", | 107 "//ui/gfx:test_support", |
| 108 "//ui/gfx/geometry", | 108 "//ui/gfx/geometry", |
| 109 "//ui/gl", | 109 "//ui/gl", |
| 110 #"//gpu/command_buffer/client", # These are all part of //gpu, needed? | 110 #"//gpu/command_buffer/client", # These are all part of //gpu, needed? |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 "config/gpu_driver_bug_list_unittest.cc", | 216 "config/gpu_driver_bug_list_unittest.cc", |
| 217 "config/gpu_info_collector_unittest.cc", | 217 "config/gpu_info_collector_unittest.cc", |
| 218 "config/gpu_info_unittest.cc", | 218 "config/gpu_info_unittest.cc", |
| 219 "config/gpu_test_config_unittest.cc", | 219 "config/gpu_test_config_unittest.cc", |
| 220 "config/gpu_test_expectations_parser_unittest.cc", | 220 "config/gpu_test_expectations_parser_unittest.cc", |
| 221 "config/gpu_util_unittest.cc", | 221 "config/gpu_util_unittest.cc", |
| 222 ] | 222 ] |
| 223 | 223 |
| 224 deps = [ | 224 deps = [ |
| 225 ":gpu", | 225 ":gpu", |
| 226 ":gpu_unittest_utils", | 226 ":test_support", |
| 227 "//base", | 227 "//base", |
| 228 "//base/test:test_support", | 228 "//base/test:test_support", |
| 229 "//base/third_party/dynamic_annotations", | 229 "//base/third_party/dynamic_annotations", |
| 230 "//testing/gmock", | 230 "//testing/gmock", |
| 231 "//testing/gtest", | 231 "//testing/gtest", |
| 232 "//third_party/angle:translator", | 232 "//third_party/angle:translator", |
| 233 "//ui/gfx", | 233 "//ui/gfx", |
| 234 "//ui/gfx:test_support", | 234 "//ui/gfx:test_support", |
| 235 "//ui/gfx/geometry", | 235 "//ui/gfx/geometry", |
| 236 "//ui/gl", | 236 "//ui/gl", |
| 237 "//gpu/command_buffer/client:gles2_c_lib", | 237 "//gpu/command_buffer/client:gles2_c_lib", |
| 238 "//gpu/command_buffer/client:gles2_implementation_client_side_arrays", | 238 "//gpu/command_buffer/client:gles2_implementation_client_side_arrays", |
| 239 ] | 239 ] |
| 240 } | 240 } |
| 241 |
| 242 test("angle_unittests") { |
| 243 sources = [ |
| 244 "angle_unittest_main.cc", |
| 245 ] |
| 246 |
| 247 # TODO(GYP) / TODO(brettw) remove this when angle is rolled to include: |
| 248 # https://chromium-review.googlesource.com/#/c/209452/ |
| 249 include_dirs = [ "//third_party/angle/include" ] |
| 250 |
| 251 deps = [ |
| 252 "//base", |
| 253 "//base/third_party/dynamic_annotations", |
| 254 "//testing/gmock", |
| 255 "//testing/gtest", |
| 256 "//third_party/angle:translator_static", |
| 257 ] |
| 258 } |
| OLD | NEW |