| 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 13 matching lines...) Expand all Loading... |
| 24 public_deps = [ | 24 public_deps = [ |
| 25 "//gpu", | 25 "//gpu", |
| 26 ] | 26 ] |
| 27 } else { | 27 } else { |
| 28 public_deps = [ | 28 public_deps = [ |
| 29 ":gles2_cmd_helper_sources", | 29 ":gles2_cmd_helper_sources", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 | 33 |
| 34 component("client_sources_for_ppapi") { | |
| 35 public_deps = [ | |
| 36 ":client_sources", | |
| 37 ":gles2_implementation", | |
| 38 "//gpu/ipc/common:command_buffer_traits", | |
| 39 ] | |
| 40 } | |
| 41 | |
| 42 source_set("client_sources") { | 34 source_set("client_sources") { |
| 43 # External code should depend on this via //gpu/client above rather than | 35 # External code should depend on this via //gpu/client above rather than |
| 44 # depending on this directly or the component build will break. | 36 # depending on this directly or the component build will break. |
| 45 visibility = [ "//gpu/*" ] | 37 visibility = [ "//gpu/*" ] |
| 46 | 38 |
| 47 sources = [ | 39 sources = [ |
| 48 "cmd_buffer_helper.cc", | 40 "cmd_buffer_helper.cc", |
| 49 "cmd_buffer_helper.h", | 41 "cmd_buffer_helper.h", |
| 50 "fenced_allocator.cc", | 42 "fenced_allocator.cc", |
| 51 "fenced_allocator.h", | 43 "fenced_allocator.h", |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 ] | 234 ] |
| 243 deps = [ | 235 deps = [ |
| 244 ":client", | 236 ":client", |
| 245 ":gles2_implementation_no_check", | 237 ":gles2_implementation_no_check", |
| 246 ":gles2_interface", | 238 ":gles2_interface", |
| 247 "//base", | 239 "//base", |
| 248 "//base/third_party/dynamic_annotations", | 240 "//base/third_party/dynamic_annotations", |
| 249 "//gpu/command_buffer/common", | 241 "//gpu/command_buffer/common", |
| 250 ] | 242 ] |
| 251 } | 243 } |
| OLD | NEW |