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 source_set("gles2") { | |
6 visibility = [ | |
7 "//components/view_manager:lib", | |
8 "//components/view_manager/surfaces:*", | |
9 "//mojo/runner:lib", # For android | |
10 ] | |
11 | |
12 sources = [ | |
13 "command_buffer_driver.cc", | |
14 "command_buffer_driver.h", | |
15 "command_buffer_impl.cc", | |
16 "command_buffer_impl.h", | |
17 "command_buffer_impl_observer.h", | |
18 "command_buffer_local.cc", | |
19 "command_buffer_local.h", | |
20 "command_buffer_local_client.h", | |
21 "gpu_impl.cc", | |
22 "gpu_impl.h", | |
23 "gpu_memory_tracker.cc", | |
24 "gpu_memory_tracker.h", | |
25 "gpu_state.cc", | |
26 "gpu_state.h", | |
27 ] | |
28 | |
29 public_deps = [ | |
30 ":lib", | |
31 ] | |
32 deps = [ | |
33 "//base", | |
34 "//components/view_manager/public/interfaces", | |
35 "//gpu/command_buffer/client", | |
36 "//gpu/command_buffer/service", | |
37 "//mojo/converters/geometry", | |
38 "//third_party/mojo/src/mojo/public/cpp/bindings", | |
39 "//ui/mojo/geometry:interfaces", | |
40 "//ui/gfx", | |
41 "//ui/gfx/geometry", | |
42 "//ui/gl", | |
43 ] | |
44 | |
45 if (is_android) { | |
46 deps += [ "//mojo/platform_handle:defs" ] | |
47 } else { | |
48 deps += [ "//mojo/platform_handle" ] | |
49 } | |
50 | |
51 include_dirs = [ "../.." ] | |
52 } | |
53 | |
54 source_set("lib") { | |
55 sources = [ | |
56 "command_buffer_type_conversions.cc", | |
57 "command_buffer_type_conversions.h", | |
58 "mojo_buffer_backing.cc", | |
59 "mojo_buffer_backing.h", | |
60 "mojo_gpu_memory_buffer.cc", | |
61 "mojo_gpu_memory_buffer.h", | |
62 "mojo_gpu_memory_buffer_manager.cc", | |
63 "mojo_gpu_memory_buffer_manager.h", | |
64 "raster_thread_helper.cc", | |
65 "raster_thread_helper.h", | |
66 ] | |
67 | |
68 deps = [ | |
69 "//base", | |
70 "//cc", | |
71 "//components/view_manager/public/interfaces", | |
72 "//gpu/command_buffer/common", | |
73 "//gpu/command_buffer/client", | |
74 "//third_party/mojo/src/mojo/public/cpp/bindings", | |
75 "//third_party/mojo/src/mojo/public/cpp/system", | |
76 "//ui/gfx", | |
77 "//ui/gfx/geometry", | |
78 ] | |
79 | |
80 include_dirs = [ "../.." ] | |
81 } | |
OLD | NEW |