| 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("client") { | 5 source_set("client") { |
| 6 sources = [ | 6 sources = [ |
| 7 "cmd_buffer_helper.cc", | 7 "cmd_buffer_helper.cc", |
| 8 "cmd_buffer_helper.h", | 8 "cmd_buffer_helper.h", |
| 9 "fenced_allocator.cc", | 9 "fenced_allocator.cc", |
| 10 "fenced_allocator.h", | 10 "fenced_allocator.h", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 27 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
| 28 | 28 |
| 29 deps = [ | 29 deps = [ |
| 30 "//gpu/command_buffer/common", | 30 "//gpu/command_buffer/common", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 group("gles2_cmd_helper") { | 34 group("gles2_cmd_helper") { |
| 35 if (is_component_build) { | 35 if (is_component_build) { |
| 36 deps = [ "//gpu" ] | 36 deps = [ |
| 37 "//gpu", |
| 38 ] |
| 37 } else { | 39 } else { |
| 38 deps = [ ":gles2_cmd_helper_sources" ] | 40 deps = [ |
| 41 ":gles2_cmd_helper_sources", |
| 42 ] |
| 39 } | 43 } |
| 40 } | 44 } |
| 41 | 45 |
| 42 source_set("gles2_cmd_helper_sources") { | 46 source_set("gles2_cmd_helper_sources") { |
| 43 visibility = [ ":gles2_cmd_helper", "//gpu" ] | 47 visibility = [ |
| 48 ":gles2_cmd_helper", |
| 49 "//gpu", |
| 50 ] |
| 44 sources = [ | 51 sources = [ |
| 45 "gles2_cmd_helper.cc", | 52 "gles2_cmd_helper.cc", |
| 46 "gles2_cmd_helper.h", | 53 "gles2_cmd_helper.h", |
| 47 "gles2_cmd_helper_autogen.h", | 54 "gles2_cmd_helper_autogen.h", |
| 48 ] | 55 ] |
| 49 | 56 |
| 50 defines = [ "GPU_IMPLEMENTATION" ] | 57 defines = [ "GPU_IMPLEMENTATION" ] |
| 51 | 58 |
| 52 if (is_win) { | 59 if (is_win) { |
| 53 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 60 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 54 cflags = [ "/wd4267" ] # size_t to int truncation. | 61 cflags = [ "/wd4267" ] # size_t to int truncation. |
| 55 } | 62 } |
| 56 | 63 |
| 57 deps = [ ":client" ] | 64 deps = [ |
| 65 ":client", |
| 66 ] |
| 58 } | 67 } |
| 59 | 68 |
| 60 gles2_c_lib_source_files = [ | 69 gles2_c_lib_source_files = [ |
| 61 "gles2_c_lib.cc", | 70 "gles2_c_lib.cc", |
| 62 "gles2_c_lib_autogen.h", | 71 "gles2_c_lib_autogen.h", |
| 63 "gles2_c_lib_export.h", | 72 "gles2_c_lib_export.h", |
| 64 "gles2_lib.h", | 73 "gles2_lib.h", |
| 65 "gles2_lib.cc", | 74 "gles2_lib.cc", |
| 66 ] | 75 ] |
| 67 | 76 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 90 "share_group.cc", | 99 "share_group.cc", |
| 91 "share_group.h", | 100 "share_group.h", |
| 92 "vertex_array_object_manager.cc", | 101 "vertex_array_object_manager.cc", |
| 93 "vertex_array_object_manager.h", | 102 "vertex_array_object_manager.h", |
| 94 ] | 103 ] |
| 95 | 104 |
| 96 # Provides GLES2 interface, but does not cause any implementation to be linked | 105 # Provides GLES2 interface, but does not cause any implementation to be linked |
| 97 # in. Useful when a target uses the interface, but permits its users to choose | 106 # in. Useful when a target uses the interface, but permits its users to choose |
| 98 # an implementation. | 107 # an implementation. |
| 99 source_set("gles2_interface") { | 108 source_set("gles2_interface") { |
| 100 sources = [ "gles2_interface.h" ] | 109 sources = [ |
| 110 "gles2_interface.h", |
| 111 ] |
| 101 public_configs = [ "//third_party/khronos:khronos_headers" ] | 112 public_configs = [ "//third_party/khronos:khronos_headers" ] |
| 102 deps = [ | 113 deps = [ |
| 103 "//base", | 114 "//base", |
| 104 ] | 115 ] |
| 105 } | 116 } |
| 106 | 117 |
| 107 source_set("gpu_memory_buffer_manager") { | 118 source_set("gpu_memory_buffer_manager") { |
| 108 sources = [ | 119 sources = [ |
| 109 "gpu_memory_buffer_manager.cc", | 120 "gpu_memory_buffer_manager.cc", |
| 110 "gpu_memory_buffer_manager.h", | 121 "gpu_memory_buffer_manager.h", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 } | 177 } |
| 167 | 178 |
| 168 deps = [ | 179 deps = [ |
| 169 ":client", | 180 ":client", |
| 170 ":gles2_interface", | 181 ":gles2_interface", |
| 171 "//base", | 182 "//base", |
| 172 "//base/third_party/dynamic_annotations", | 183 "//base/third_party/dynamic_annotations", |
| 173 "//gpu/command_buffer/common", | 184 "//gpu/command_buffer/common", |
| 174 ] | 185 ] |
| 175 } | 186 } |
| 176 | |
| OLD | NEW |