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 source_set("common") { |
6 sources = [ | 6 sources = [ |
7 "bitfield_helpers.h", | 7 "bitfield_helpers.h", |
8 "buffer.cc", | 8 "buffer.cc", |
9 "buffer.h", | 9 "buffer.h", |
10 "capabilities.cc", | 10 "capabilities.cc", |
11 "capabilities.h", | 11 "capabilities.h", |
12 "cmd_buffer_common.cc", | 12 "cmd_buffer_common.cc", |
13 "cmd_buffer_common.h", | 13 "cmd_buffer_common.h", |
14 "command_buffer.h", | 14 "command_buffer.h", |
15 "constants.h", | 15 "constants.h", |
16 "debug_marker_manager.cc", | 16 "debug_marker_manager.cc", |
17 "debug_marker_manager.h", | 17 "debug_marker_manager.h", |
18 "gles2_cmd_format.cc", | 18 "gles2_cmd_format.cc", |
19 "gles2_cmd_format.h", | 19 "gles2_cmd_format.h", |
20 "gles2_cmd_format.h", | 20 "gles2_cmd_format.h", |
21 "gles2_cmd_format_autogen.h", | 21 "gles2_cmd_format_autogen.h", |
22 "gles2_cmd_ids.h", | 22 "gles2_cmd_ids.h", |
23 "gles2_cmd_ids_autogen.h", | 23 "gles2_cmd_ids_autogen.h", |
24 "gles2_cmd_utils.cc", | |
25 "gles2_cmd_utils.h", | |
26 "gles2_utils_export.h", | |
27 "id_allocator.cc", | 24 "id_allocator.cc", |
28 "id_allocator.h", | 25 "id_allocator.h", |
29 "mailbox.cc", | 26 "mailbox.cc", |
30 "mailbox.h", | 27 "mailbox.h", |
31 "mailbox_holder.cc", | 28 "mailbox_holder.cc", |
32 "mailbox_holder.h", | 29 "mailbox_holder.h", |
33 "thread_local.h", | 30 "thread_local.h", |
34 "time.h", | 31 "time.h", |
35 ] | 32 ] |
36 | 33 |
37 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 34 defines = [ "GPU_IMPLEMENTATION" ] |
| 35 |
| 36 deps = [ |
| 37 ":gles2_utils", |
| 38 "//base", |
| 39 ] |
| 40 } |
| 41 |
| 42 component("gles2_utils") { |
| 43 sources = [ |
| 44 "gles2_cmd_utils.cc", |
| 45 "gles2_cmd_utils.h", |
| 46 "gles2_utils_export.h", |
| 47 ] |
| 48 |
| 49 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] |
38 | 50 |
39 deps = [ | 51 deps = [ |
40 "//base", | 52 "//base", |
41 ] | 53 ] |
| 54 |
| 55 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
42 } | 56 } |
OLD | NEW |