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_common" just forwarding) and goes into a static library in | 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 | 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. | 8 # attempt to make larger components to help with loading. |
9 group("common") { | 9 group("common") { |
10 if (is_component_build) { | 10 if (is_component_build) { |
(...skipping 26 matching lines...) Expand all Loading... |
37 "gles2_cmd_format.h", | 37 "gles2_cmd_format.h", |
38 "gles2_cmd_format_autogen.h", | 38 "gles2_cmd_format_autogen.h", |
39 "gles2_cmd_ids.h", | 39 "gles2_cmd_ids.h", |
40 "gles2_cmd_ids_autogen.h", | 40 "gles2_cmd_ids_autogen.h", |
41 "id_allocator.cc", | 41 "id_allocator.cc", |
42 "id_allocator.h", | 42 "id_allocator.h", |
43 "mailbox.cc", | 43 "mailbox.cc", |
44 "mailbox.h", | 44 "mailbox.h", |
45 "mailbox_holder.cc", | 45 "mailbox_holder.cc", |
46 "mailbox_holder.h", | 46 "mailbox_holder.h", |
47 "sync_token.cc", | |
48 "sync_token.h", | |
49 "thread_local.h", | 47 "thread_local.h", |
50 "time.h", | 48 "time.h", |
51 "value_state.cc", | 49 "value_state.cc", |
52 "value_state.h", | 50 "value_state.h", |
53 ] | 51 ] |
54 | 52 |
55 configs += [ "//gpu:gpu_implementation" ] | 53 configs += [ "//gpu:gpu_implementation" ] |
56 | 54 |
57 deps = [ | 55 deps = [ |
58 ":gles2_utils", | 56 ":gles2_utils", |
59 "//base", | 57 "//base", |
60 ] | 58 ] |
61 } | 59 } |
62 | 60 |
63 component("gles2_utils") { | 61 component("gles2_utils") { |
64 sources = [ | 62 sources = [ |
65 "gles2_cmd_utils.cc", | 63 "gles2_cmd_utils.cc", |
66 "gles2_cmd_utils.h", | 64 "gles2_cmd_utils.h", |
67 "gles2_utils_export.h", | 65 "gles2_utils_export.h", |
68 ] | 66 ] |
69 | 67 |
70 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] | 68 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] |
71 | 69 |
72 deps = [ | 70 deps = [ |
73 "//base", | 71 "//base", |
74 ] | 72 ] |
75 | 73 |
76 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 74 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
77 } | 75 } |
OLD | NEW |