| 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 source_set("common") { |
| 6 # "command_buffer_common" just forwarding) and goes into a static library in | |
| 7 # non-component build. This needs to match the GYP build which was likely an | |
| 8 # attempt to make larger components to help with loading. | |
| 9 group("common") { | |
| 10 if (is_component_build) { | |
| 11 public_deps = [ | |
| 12 "//gpu", | |
| 13 ] | |
| 14 } else { | |
| 15 public_deps = [ | |
| 16 ":common_sources", | |
| 17 ] | |
| 18 } | |
| 19 } | |
| 20 | |
| 21 source_set("common_sources") { | |
| 22 visibility = [ "//gpu/*" ] | |
| 23 | |
| 24 sources = [ | 6 sources = [ |
| 25 "bitfield_helpers.h", | 7 "bitfield_helpers.h", |
| 26 "buffer.cc", | 8 "buffer.cc", |
| 27 "buffer.h", | 9 "buffer.h", |
| 28 "capabilities.cc", | 10 "capabilities.cc", |
| 29 "capabilities.h", | 11 "capabilities.h", |
| 30 "cmd_buffer_common.cc", | 12 "cmd_buffer_common.cc", |
| 31 "cmd_buffer_common.h", | 13 "cmd_buffer_common.h", |
| 32 "command_buffer.h", | 14 "command_buffer.h", |
| 33 "constants.h", | 15 "constants.h", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 ] | 48 ] |
| 67 | 49 |
| 68 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] | 50 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] |
| 69 | 51 |
| 70 deps = [ | 52 deps = [ |
| 71 "//base", | 53 "//base", |
| 72 ] | 54 ] |
| 73 | 55 |
| 74 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 56 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
| 75 } | 57 } |
| OLD | NEW |