| 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. |
| 8 # GYP build which was likely an attempt to make larger components to help with | |
| 9 # loading. | |
| 10 group("client") { | 8 group("client") { |
| 11 if (is_component_build) { | 9 if (is_component_build) { |
| 12 public_deps = [ | 10 public_deps = [ |
| 13 "//gpu", | 11 "//gpu", |
| 14 ] | 12 ] |
| 15 } else { | 13 } else { |
| 16 public_deps = [ | 14 public_deps = [ |
| 17 ":client_sources", | 15 ":client_sources", |
| 18 ] | 16 ] |
| 19 } | 17 } |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 214 |
| 217 deps = [ | 215 deps = [ |
| 218 ":client", | 216 ":client", |
| 219 ":gles2_interface", | 217 ":gles2_interface", |
| 220 "//base", | 218 "//base", |
| 221 "//base/third_party/dynamic_annotations", | 219 "//base/third_party/dynamic_annotations", |
| 222 "//gpu/command_buffer/common", | 220 "//gpu/command_buffer/common", |
| 223 ] | 221 ] |
| 224 } | 222 } |
| 225 | 223 |
| 226 # GYP version: gpu/gpu.gyp:gles2_c_lib_nocheck | |
| 227 # Same as gles2_c_lib except with no parameter checking. Required for | 224 # Same as gles2_c_lib except with no parameter checking. Required for |
| 228 # OpenGL ES 2.0 conformance tests. | 225 # OpenGL ES 2.0 conformance tests. |
| 229 component("gles2_c_lib_nocheck") { | 226 component("gles2_c_lib_nocheck") { |
| 230 sources = gles2_c_lib_source_files | 227 sources = gles2_c_lib_source_files |
| 231 | 228 |
| 232 defines = [ | 229 defines = [ |
| 233 "GLES2_C_LIB_IMPLEMENTATION", | 230 "GLES2_C_LIB_IMPLEMENTATION", |
| 234 "GLES2_CONFORMANCE_TESTS=1", | 231 "GLES2_CONFORMANCE_TESTS=1", |
| 235 ] | 232 ] |
| 236 deps = [ | 233 deps = [ |
| 237 ":client", | 234 ":client", |
| 238 ":gles2_implementation_no_check", | 235 ":gles2_implementation_no_check", |
| 239 ":gles2_interface", | 236 ":gles2_interface", |
| 240 "//base", | 237 "//base", |
| 241 "//base/third_party/dynamic_annotations", | 238 "//base/third_party/dynamic_annotations", |
| 242 "//gpu/command_buffer/common", | 239 "//gpu/command_buffer/common", |
| 243 ] | 240 ] |
| 244 } | 241 } |
| OLD | NEW |