OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 6 |
| 7 source_set("gles2") { |
| 8 visibility = [ |
| 9 "//mojo/shell:lib", # For android |
| 10 "//mojo/services/native_viewport:*", |
| 11 ] |
| 12 |
| 13 sources = [ |
| 14 "command_buffer_driver.cc", |
| 15 "command_buffer_driver.h", |
| 16 "command_buffer_impl.cc", |
| 17 "command_buffer_impl.h", |
| 18 "gpu_state.cc", |
| 19 "gpu_state.h", |
| 20 "gpu_impl.cc", |
| 21 "gpu_impl.h", |
| 22 ] |
| 23 |
| 24 public_deps = [ |
| 25 ":lib", |
| 26 ] |
| 27 deps = [ |
| 28 "//base", |
| 29 "//gpu/command_buffer/service", |
| 30 "//mojo/converters/geometry", |
| 31 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 32 "//third_party/mojo_services/src/geometry/public/interfaces", |
| 33 "//third_party/mojo_services/src/gpu/public/interfaces", |
| 34 "//ui/gfx", |
| 35 "//ui/gfx/geometry", |
| 36 "//ui/gl", |
| 37 ] |
| 38 |
| 39 include_dirs = [ "../.." ] |
| 40 } |
| 41 |
| 42 source_set("lib") { |
| 43 sources = [ |
| 44 "command_buffer_type_conversions.cc", |
| 45 "command_buffer_type_conversions.h", |
| 46 "mojo_buffer_backing.cc", |
| 47 "mojo_buffer_backing.h", |
| 48 ] |
| 49 |
| 50 deps = [ |
| 51 "//base", |
| 52 "//gpu/command_buffer/common", |
| 53 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 54 "//third_party/mojo/src/mojo/public/cpp/system", |
| 55 "//third_party/mojo_services/src/gpu/public/interfaces", |
| 56 ] |
| 57 |
| 58 include_dirs = [ "../.." ] |
| 59 } |
OLD | NEW |