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. | |
Dirk Pranke
2015/04/06 16:54:07
same comment?
| |
8 group("common") { | |
9 if (is_component_build) { | |
10 public_deps = [ | |
11 "//gpu", | |
12 ] | |
13 } else { | |
14 public_deps = [ | |
15 ":common_sources", | |
16 ] | |
17 } | |
18 } | |
19 | |
20 source_set("common_sources") { | |
21 visibility = [ "//gpu/*" ] | |
22 | |
6 sources = [ | 23 sources = [ |
7 "bitfield_helpers.h", | 24 "bitfield_helpers.h", |
8 "buffer.cc", | 25 "buffer.cc", |
9 "buffer.h", | 26 "buffer.h", |
10 "capabilities.cc", | 27 "capabilities.cc", |
11 "capabilities.h", | 28 "capabilities.h", |
12 "cmd_buffer_common.cc", | 29 "cmd_buffer_common.cc", |
13 "cmd_buffer_common.h", | 30 "cmd_buffer_common.h", |
14 "command_buffer.h", | 31 "command_buffer.h", |
15 "constants.h", | 32 "constants.h", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
48 ] | 65 ] |
49 | 66 |
50 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] | 67 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] |
51 | 68 |
52 deps = [ | 69 deps = [ |
53 "//base", | 70 "//base", |
54 ] | 71 ] |
55 | 72 |
56 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 73 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
57 } | 74 } |
OLD | NEW |