| 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_client" and "gles2_cmd_helper" just forwarding) and goes into | 6 # "command_buffer_client" and "gles2_cmd_helper" just forwarding) and goes into |
| 7 # separate static libraries in non-component build. This needs to match the | 7 # separate static libraries in non-component build. This needs to match the |
| 8 # GYP build which was likely an attempt to make larger components to help with | 8 # GYP build which was likely an attempt to make larger components to help with |
| 9 # loading. | 9 # loading. |
| 10 group("client") { | 10 group("client") { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 configs += [ | 53 configs += [ |
| 54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 55 "//build/config/compiler:no_size_t_to_int_warning", | 55 "//build/config/compiler:no_size_t_to_int_warning", |
| 56 "//gpu:gpu_implementation", | 56 "//gpu:gpu_implementation", |
| 57 ] | 57 ] |
| 58 | 58 |
| 59 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 59 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
| 60 | 60 |
| 61 deps = [ | 61 deps = [ |
| 62 "//base", |
| 62 "//gpu/command_buffer/common:common_sources", | 63 "//gpu/command_buffer/common:common_sources", |
| 64 "//gpu/command_buffer/common:gles2_utils", |
| 65 "//ui/gfx:memory_buffer", |
| 66 "//ui/gfx/geometry", |
| 63 ] | 67 ] |
| 64 } | 68 } |
| 65 | 69 |
| 66 source_set("gles2_cmd_helper_sources") { | 70 source_set("gles2_cmd_helper_sources") { |
| 67 visibility = [ "//gpu/*" ] | 71 visibility = [ "//gpu/*" ] |
| 68 sources = [ | 72 sources = [ |
| 69 "gles2_cmd_helper.cc", | 73 "gles2_cmd_helper.cc", |
| 70 "gles2_cmd_helper.h", | 74 "gles2_cmd_helper.h", |
| 71 "gles2_cmd_helper_autogen.h", | 75 "gles2_cmd_helper_autogen.h", |
| 72 ] | 76 ] |
| 73 | 77 |
| 74 configs += [ | 78 configs += [ |
| 75 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 79 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 76 "//build/config/compiler:no_size_t_to_int_warning", | 80 "//build/config/compiler:no_size_t_to_int_warning", |
| 77 "//gpu:gpu_implementation", | 81 "//gpu:gpu_implementation", |
| 78 ] | 82 ] |
| 79 | 83 |
| 80 deps = [ | 84 deps = [ |
| 81 ":client_sources", | 85 ":client_sources", |
| 86 "//base", |
| 87 "//gpu/command_buffer/common:common_sources", |
| 82 ] | 88 ] |
| 83 } | 89 } |
| 84 | 90 |
| 85 gles2_c_lib_source_files = [ | 91 gles2_c_lib_source_files = [ |
| 86 "gles2_c_lib.cc", | 92 "gles2_c_lib.cc", |
| 87 "gles2_c_lib_autogen.h", | 93 "gles2_c_lib_autogen.h", |
| 88 "gles2_c_lib_export.h", | 94 "gles2_c_lib_export.h", |
| 89 "gles2_lib.cc", | 95 "gles2_lib.cc", |
| 90 "gles2_lib.h", | 96 "gles2_lib.h", |
| 91 ] | 97 ] |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 144 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 139 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 145 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 140 | 146 |
| 141 defines = [ "GLES2_IMPL_IMPLEMENTATION" ] | 147 defines = [ "GLES2_IMPL_IMPLEMENTATION" ] |
| 142 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 148 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
| 143 | 149 |
| 144 deps = [ | 150 deps = [ |
| 145 ":gles2_cmd_helper", | 151 ":gles2_cmd_helper", |
| 146 ":gles2_interface", | 152 ":gles2_interface", |
| 147 "//base", | 153 "//base", |
| 154 "//gpu/command_buffer/client", |
| 155 "//gpu/command_buffer/common", |
| 148 "//gpu/command_buffer/common:gles2_utils", | 156 "//gpu/command_buffer/common:gles2_utils", |
| 149 "//ui/gfx/geometry", | 157 "//ui/gfx/geometry", |
| 150 ] | 158 ] |
| 151 } | 159 } |
| 152 | 160 |
| 153 # Library emulates GLES2 using command_buffers. | 161 # Library emulates GLES2 using command_buffers. |
| 154 component("gles2_implementation_no_check") { | 162 component("gles2_implementation_no_check") { |
| 155 sources = gles2_implementation_source_files | 163 sources = gles2_implementation_source_files |
| 156 | 164 |
| 157 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 165 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 158 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 166 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 159 | 167 |
| 160 defines = [ | 168 defines = [ |
| 161 "GLES2_IMPL_IMPLEMENTATION", | 169 "GLES2_IMPL_IMPLEMENTATION", |
| 162 "GLES2_CONFORMANCE_TESTS=1", | 170 "GLES2_CONFORMANCE_TESTS=1", |
| 163 ] | 171 ] |
| 164 | 172 |
| 165 deps = [ | 173 deps = [ |
| 174 ":client", |
| 166 ":gles2_cmd_helper", | 175 ":gles2_cmd_helper", |
| 176 ":gles2_interface", |
| 167 "//base", | 177 "//base", |
| 178 "//gpu/command_buffer/common", |
| 168 "//gpu/command_buffer/common:gles2_utils", | 179 "//gpu/command_buffer/common:gles2_utils", |
| 169 "//ui/gfx", | 180 "//ui/gfx", |
| 170 "//ui/gfx/geometry", | 181 "//ui/gfx/geometry", |
| 171 ] | 182 ] |
| 172 } | 183 } |
| 173 | 184 |
| 174 component("gl_in_process_context") { | 185 component("gl_in_process_context") { |
| 175 sources = [ | 186 sources = [ |
| 176 "gl_in_process_context.cc", | 187 "gl_in_process_context.cc", |
| 177 "gl_in_process_context.h", | 188 "gl_in_process_context.h", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 ] | 230 ] |
| 220 deps = [ | 231 deps = [ |
| 221 ":client", | 232 ":client", |
| 222 ":gles2_implementation_no_check", | 233 ":gles2_implementation_no_check", |
| 223 ":gles2_interface", | 234 ":gles2_interface", |
| 224 "//base", | 235 "//base", |
| 225 "//base/third_party/dynamic_annotations", | 236 "//base/third_party/dynamic_annotations", |
| 226 "//gpu/command_buffer/common", | 237 "//gpu/command_buffer/common", |
| 227 ] | 238 ] |
| 228 } | 239 } |
| OLD | NEW |