1 # Copyright 2014 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 config("mojo_use_gles2") {
6 defines = [ "MOJO_USE_GLES2_IMPL" ]
9 config("gles2_use_mojo") {
10 defines = [ "GLES2_USE_MOJO" ]
13 source_set("headers") {
15 "command_buffer_client_impl.h",
21 "//components/view_manager/public/interfaces",
22 "//gpu/command_buffer/client",
23 "//gpu/command_buffer/client:gles2_implementation",
24 "//gpu/command_buffer/common",
25 "//third_party/mojo/src/mojo/public/c/gles2:headers",
26 "//third_party/mojo/src/mojo/public/cpp/bindings",
32 "command_buffer_client_impl.cc",
33 "command_buffer_client_impl.h",
40 "GL_GLEXT_PROTOTYPES",
41 "MOJO_GLES2_IMPLEMENTATION",
48 public_configs = [ ":gles2_use_mojo" ]
49 all_dependent_configs = [ ":mojo_use_gles2" ]
53 "//base/third_party/dynamic_annotations",
54 "//components/view_manager/gles2:lib",
55 "//components/view_manager/public/interfaces",
56 "//gpu/command_buffer/client",
57 "//gpu/command_buffer/client:gles2_cmd_helper",
58 "//gpu/command_buffer/client:gles2_implementation",
59 "//gpu/command_buffer/client:gles2_interface",
60 "//gpu/command_buffer/service:service_sources",
61 "//gpu/command_buffer/common",
62 "//mojo/environment:chromium",
63 "//mojo/platform_handle:defs",
64 "//third_party/mojo/src/mojo/public/c/gles2:headers",
65 "//third_party/mojo/src/mojo/public/c/system",
66 "//third_party/mojo/src/mojo/public/cpp/bindings",
67 "//third_party/mojo/src/mojo/public/cpp/system",
70 include_dirs = [ ".." ]