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 = [ | 9 deps = [ |
10 ":bindings", | 10 ":bindings", |
11 ] | |
12 deps = [ | |
13 "//base", | 11 "//base", |
14 "//gpu/command_buffer/service", | 12 "//gpu/command_buffer/service", |
15 "//ui/gfx", | 13 "//ui/gfx", |
16 "//ui/gfx/geometry", | 14 "//ui/gfx/geometry", |
17 "//ui/gl", | 15 "//ui/gl", |
18 ] | 16 ] |
19 | 17 |
20 sources = [ | 18 sources = [ |
21 "command_buffer_impl.cc", | 19 "command_buffer_impl.cc", |
22 "command_buffer_impl.h", | 20 "command_buffer_impl.h", |
23 ] | 21 ] |
24 } | 22 } |
25 | 23 |
26 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings | 24 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings |
27 mojom("interfaces") { | 25 mojom("interfaces") { |
28 sources = [ | 26 sources = [ |
29 "command_buffer.mojom", | 27 "command_buffer.mojom", |
30 ] | 28 ] |
31 } | 29 } |
32 | 30 |
33 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings | 31 # GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings |
34 source_set("bindings") { | 32 source_set("bindings") { |
35 sources = [ | 33 sources = [ |
36 "command_buffer_type_conversions.cc", | 34 "command_buffer_type_conversions.cc", |
37 "command_buffer_type_conversions.h", | 35 "command_buffer_type_conversions.h", |
38 "mojo_buffer_backing.cc", | 36 "mojo_buffer_backing.cc", |
39 "mojo_buffer_backing.h", | 37 "mojo_buffer_backing.h", |
40 ] | 38 ] |
41 | 39 |
42 public_deps = [ | 40 deps = [ |
43 ":interfaces", | 41 ":interfaces", |
44 ] | |
45 deps = [ | |
46 "//base", | |
47 "//gpu/command_buffer/common", | 42 "//gpu/command_buffer/common", |
48 "//mojo/public/cpp/bindings", | |
49 "//mojo/services/gles2:interfaces", | |
50 ] | 43 ] |
51 } | 44 } |
OLD | NEW |