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 source_set("common") { | 5 # The files here go into the "gpu" component in a component build (with |
| 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 |
6 sources = [ | 24 sources = [ |
7 "bitfield_helpers.h", | 25 "bitfield_helpers.h", |
8 "buffer.cc", | 26 "buffer.cc", |
9 "buffer.h", | 27 "buffer.h", |
10 "capabilities.cc", | 28 "capabilities.cc", |
11 "capabilities.h", | 29 "capabilities.h", |
12 "cmd_buffer_common.cc", | 30 "cmd_buffer_common.cc", |
13 "cmd_buffer_common.h", | 31 "cmd_buffer_common.h", |
14 "command_buffer.h", | 32 "command_buffer.h", |
15 "constants.h", | 33 "constants.h", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ] | 66 ] |
49 | 67 |
50 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] | 68 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] |
51 | 69 |
52 deps = [ | 70 deps = [ |
53 "//base", | 71 "//base", |
54 ] | 72 ] |
55 | 73 |
56 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 74 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
57 } | 75 } |
OLD | NEW |