OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 # GYP version: mojo/mojo_services.gypi:mojo_gles2_service | 7 # GYP version: mojo/mojo_services.gypi:mojo_gles2_service |
8 source_set("gles2") { | 8 source_set("gles2") { |
| 9 public_deps = [ |
| 10 ":bindings", |
| 11 ] |
9 deps = [ | 12 deps = [ |
10 ":bindings", | |
11 "//base", | 13 "//base", |
12 "//gpu/command_buffer/service", | 14 "//gpu/command_buffer/service", |
13 "//ui/gfx", | 15 "//ui/gfx", |
14 "//ui/gfx/geometry", | 16 "//ui/gfx/geometry", |
15 "//ui/gl", | 17 "//ui/gl", |
16 ] | 18 ] |
17 | 19 |
18 sources = [ | 20 sources = [ |
19 "command_buffer_impl.cc", | 21 "command_buffer_impl.cc", |
20 "command_buffer_impl.h", | 22 "command_buffer_impl.h", |
21 ] | 23 ] |
22 } | 24 } |
23 | 25 |
24 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings | 26 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings |
25 mojom("interfaces") { | 27 mojom("interfaces") { |
26 sources = [ | 28 sources = [ |
27 "command_buffer.mojom", | 29 "command_buffer.mojom", |
28 ] | 30 ] |
29 } | 31 } |
30 | 32 |
31 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings | 33 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings |
32 source_set("bindings") { | 34 source_set("bindings") { |
33 sources = [ | 35 sources = [ |
34 "command_buffer_type_conversions.cc", | 36 "command_buffer_type_conversions.cc", |
35 "command_buffer_type_conversions.h", | 37 "command_buffer_type_conversions.h", |
36 "mojo_buffer_backing.cc", | 38 "mojo_buffer_backing.cc", |
37 "mojo_buffer_backing.h", | 39 "mojo_buffer_backing.h", |
38 ] | 40 ] |
39 | 41 |
| 42 public_deps = [ |
| 43 ":interfaces", |
| 44 ] |
40 deps = [ | 45 deps = [ |
41 ":interfaces", | 46 "//base", |
42 "//gpu/command_buffer/common", | 47 "//gpu/command_buffer/common", |
| 48 "//mojo/public/cpp/bindings", |
| 49 "//mojo/services/gles2:interfaces", |
43 ] | 50 ] |
44 } | 51 } |
OLD | NEW |