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