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 import("//mojo/public/tools/bindings/mojom.gni")
7 config("mojo_use_gles2") {
8 defines = [ "MOJO_USE_GLES2_IMPL" ]
11 config("gles2_use_mojo") {
12 defines = [ "GLES2_USE_MOJO" ]
15 # GYP version: mojo/mojo_base.gyp:mojo_gles2_impl
17 output_name = "mojo_gles2_impl"
21 "//base/third_party/dynamic_annotations",
22 "//gpu/command_buffer/client",
23 "//gpu/command_buffer/common",
24 "//gpu/command_buffer/client:gles2_implementation",
25 "//gpu/command_buffer/client:gles2_interface",
26 "//mojo/public/c/system:for_component",
27 "//mojo/services/gles2:bindings",
28 "//mojo/services/gles2:interfaces",
29 "//mojo/environment:chromium",
33 "GL_GLEXT_PROTOTYPES",
34 "MOJO_GLES2_IMPL_IMPLEMENTATION",
35 "MOJO_GLES2_IMPLEMENTATION",
42 public_configs = [ ":gles2_use_mojo" ]
43 all_dependent_configs = [ ":mojo_use_gles2" ]
46 "command_buffer_client_impl.cc",
47 "command_buffer_client_impl.h",
48 "gles2_impl_export.h",