OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # The files here go into the "gpu" component in a component build (with | 5 # The files here go into the "gpu" component in a component build (with |
6 # "command_buffer_client" and "gles2_cmd_helper" just forwarding) and goes into | 6 # "command_buffer_client" and "gles2_cmd_helper" just forwarding) and goes into |
7 # separate static libraries in non-component build. This needs to match the | 7 # separate static libraries in non-component build. This needs to match the |
8 # GYP build which was likely an attempt to make larger components to help with | 8 # GYP build which was likely an attempt to make larger components to help with |
9 # loading. | 9 # loading. |
10 group("client") { | 10 group("client") { |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 component("client_sources_for_ppapi") { | 34 component("client_sources_for_ppapi") { |
35 public_deps = [ | 35 public_deps = [ |
36 ":client_sources", | 36 ":client_sources", |
37 ":gles2_implementation", | 37 ":gles2_implementation", |
38 "//gpu/ipc/common:command_buffer_traits", | 38 "//gpu/ipc/common:command_buffer_traits", |
39 ] | 39 ] |
40 } | 40 } |
41 | 41 |
42 source_set("client_sources") { | 42 source_set("client_sources") { |
| 43 # External code should depend on this via //gpu/client above rather than |
| 44 # depending on this directly or the component build will break. |
43 visibility = [ "//gpu/*" ] | 45 visibility = [ "//gpu/*" ] |
44 | 46 |
45 sources = [ | 47 sources = [ |
46 "cmd_buffer_helper.cc", | 48 "cmd_buffer_helper.cc", |
47 "cmd_buffer_helper.h", | 49 "cmd_buffer_helper.h", |
48 "fenced_allocator.cc", | 50 "fenced_allocator.cc", |
49 "fenced_allocator.h", | 51 "fenced_allocator.h", |
50 "gpu_control.h", | 52 "gpu_control.h", |
51 "gpu_memory_buffer_manager.cc", | 53 "gpu_memory_buffer_manager.cc", |
52 "gpu_memory_buffer_manager.h", | 54 "gpu_memory_buffer_manager.h", |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 ] | 242 ] |
241 deps = [ | 243 deps = [ |
242 ":client", | 244 ":client", |
243 ":gles2_implementation_no_check", | 245 ":gles2_implementation_no_check", |
244 ":gles2_interface", | 246 ":gles2_interface", |
245 "//base", | 247 "//base", |
246 "//base/third_party/dynamic_annotations", | 248 "//base/third_party/dynamic_annotations", |
247 "//gpu/command_buffer/common", | 249 "//gpu/command_buffer/common", |
248 ] | 250 ] |
249 } | 251 } |
OLD | NEW |