| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| # GYP version: mojo/mojo_services.gypi:mojo_gles2_service |
| source_set("gles2") { |
| public_deps = [ |
| ":lib", |
| ] |
| deps = [ |
| "//base", |
| "//gpu/command_buffer/service", |
| "//ui/gfx", |
| "//ui/gfx/geometry", |
| "//ui/gl", |
| ] |
| |
| sources = [ |
| "command_buffer_impl.cc", |
| "command_buffer_impl.h", |
| ] |
| } |
| |
| # GYP version: mojo/mojo_services.gypi:mojo_gles2_lib |
| source_set("lib") { |
| sources = [ |
| "command_buffer_type_conversions.cc", |
| "command_buffer_type_conversions.h", |
| "mojo_buffer_backing.cc", |
| "mojo_buffer_backing.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//gpu/command_buffer/common", |
| "//mojo/public/cpp/bindings", |
| "//mojo/services/public/interfaces/gpu", |
| ] |
| } |