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
3 # found in the LICENSE file.
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
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.
10 if (is_component_build) {
21 source_set("common_sources") {
22 visibility = [ "//gpu/*" ]
30 "cmd_buffer_common.cc",
31 "cmd_buffer_common.h",
34 "debug_marker_manager.cc",
35 "debug_marker_manager.h",
36 "gles2_cmd_format.cc",
38 "gles2_cmd_format_autogen.h",
40 "gles2_cmd_ids_autogen.h",
53 configs += [ "//gpu:gpu_implementation" ]
61 component("gles2_utils") {
65 "gles2_utils_export.h",
68 defines = [ "GLES2_UTILS_IMPLEMENTATION" ]
74 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]