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 19 matching lines...) Expand all Loading... |
30 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto | 30 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto |
31 # | 31 # |
32 # command_buffer/command_buffer.gyp:gles2_utils => | 32 # command_buffer/command_buffer.gyp:gles2_utils => |
33 # //gpu/command_buffer/common | 33 # //gpu/command_buffer/common |
34 # (Merged in to here because the separate file exists in GYP only to break | 34 # (Merged in to here because the separate file exists in GYP only to break |
35 # a .gyp file dependency cycle which GN doesn't have.) | 35 # a .gyp file dependency cycle which GN doesn't have.) |
36 # | 36 # |
37 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings | 37 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings |
38 | 38 |
39 component("gpu") { | 39 component("gpu") { |
40 deps = [ | 40 public_deps = [ |
41 "//gpu/command_buffer/client", | 41 "//gpu/command_buffer/client", |
42 "//gpu/command_buffer/client:gles2_cmd_helper_sources", | 42 "//gpu/command_buffer/client:gles2_cmd_helper_sources", |
43 "//gpu/command_buffer/common", | 43 "//gpu/command_buffer/common", |
44 "//gpu/command_buffer/service", | 44 "//gpu/command_buffer/service", |
45 "//gpu/config", | 45 "//gpu/config", |
46 "//gpu/ipc", | 46 "//gpu/ipc", |
47 ] | 47 ] |
48 } | 48 } |
49 | 49 |
50 source_set("test_support") { | 50 source_set("test_support") { |
51 testonly = true | 51 testonly = true |
52 sources = [ | 52 sources = [ |
53 "command_buffer/service/gles2_cmd_decoder_mock.cc", | 53 "command_buffer/service/gles2_cmd_decoder_mock.cc", |
54 "command_buffer/service/error_state_mock.cc", | 54 "command_buffer/service/error_state_mock.cc", |
55 "command_buffer/client/gles2_interface_stub.cc", | 55 "command_buffer/client/gles2_interface_stub.cc", |
56 "command_buffer/client/gles2_interface_stub.h", | 56 "command_buffer/client/gles2_interface_stub.h", |
57 ] | 57 ] |
58 | 58 |
59 deps = [ | 59 public_deps = [ |
60 ":gpu", | 60 ":gpu", |
61 "//gpu/command_buffer/client:gles2_interface", | 61 "//gpu/command_buffer/client:gles2_interface", |
| 62 ] |
| 63 deps = [ |
62 "//testing/gmock", | 64 "//testing/gmock", |
63 "//testing/gtest", | 65 "//testing/gtest", |
64 "//ui/gl:gl_unittest_utils", | 66 "//ui/gl:gl_unittest_utils", |
65 ] | 67 ] |
66 forward_dependent_configs_from = [ | |
67 "//gpu/command_buffer/client:gles2_interface", | |
68 ] | |
69 } | 68 } |
70 | 69 |
71 test("gl_tests") { | 70 test("gl_tests") { |
72 sources = [ | 71 sources = [ |
73 "command_buffer/tests/compressed_texture_test.cc", | 72 "command_buffer/tests/compressed_texture_test.cc", |
74 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", | 73 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", |
75 "command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc", | 74 "command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc", |
76 "command_buffer/tests/gl_chromium_path_rendering_unittest.cc", | 75 "command_buffer/tests/gl_chromium_path_rendering_unittest.cc", |
77 "command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc", | 76 "command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc", |
78 "command_buffer/tests/gl_depth_texture_unittest.cc", | 77 "command_buffer/tests/gl_depth_texture_unittest.cc", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 ] | 248 ] |
250 | 249 |
251 deps = [ | 250 deps = [ |
252 "//base", | 251 "//base", |
253 "//base/third_party/dynamic_annotations", | 252 "//base/third_party/dynamic_annotations", |
254 "//testing/gmock", | 253 "//testing/gmock", |
255 "//testing/gtest", | 254 "//testing/gtest", |
256 "//third_party/angle:translator_static", | 255 "//third_party/angle:translator_static", |
257 ] | 256 ] |
258 } | 257 } |
OLD | NEW |