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("//build/config/ui.gni") |
| 6 |
5 # This is the public target. It contains only the public headers. The | 7 # This is the public target. It contains only the public headers. The |
6 # implementation (and private haders) are in 'internal'. | 8 # implementation (and private haders) are in 'internal'. |
7 source_set("cpp") { | 9 source_set("cpp") { |
8 sources = [ | 10 sources = [ |
9 "bitmap_uploader.h", | 11 "bitmap_uploader.h", |
| 12 "gpu_service.h", |
10 "input_event_handler.h", | 13 "input_event_handler.h", |
| 14 "mojo_gpu_memory_buffer_manager.h", |
11 "output_surface.h", | 15 "output_surface.h", |
12 "property_type_converters.h", | 16 "property_type_converters.h", |
13 "raster_thread_helper.h", | 17 "raster_thread_helper.h", |
14 "scoped_window_ptr.h", | 18 "scoped_window_ptr.h", |
15 "window.h", | 19 "window.h", |
16 "window_manager_delegate.h", | 20 "window_manager_delegate.h", |
17 "window_observer.h", | 21 "window_observer.h", |
18 "window_property.h", | 22 "window_property.h", |
19 "window_surface.h", | 23 "window_surface.h", |
20 "window_surface_client.h", | 24 "window_surface_client.h", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 visibility = [ ":cpp" ] | 92 visibility = [ ":cpp" ] |
89 | 93 |
90 sources = [ | 94 sources = [ |
91 "bitmap_uploader.cc", | 95 "bitmap_uploader.cc", |
92 "command_buffer_client_impl.cc", | 96 "command_buffer_client_impl.cc", |
93 "command_buffer_client_impl.h", | 97 "command_buffer_client_impl.h", |
94 "context_provider.cc", | 98 "context_provider.cc", |
95 "context_provider.h", | 99 "context_provider.h", |
96 "gles2_context.cc", | 100 "gles2_context.cc", |
97 "gles2_context.h", | 101 "gles2_context.h", |
| 102 "gpu_memory_buffer_impl.cc", |
| 103 "gpu_memory_buffer_impl.h", |
| 104 "gpu_service.cc", |
98 "in_flight_change.cc", | 105 "in_flight_change.cc", |
99 "in_flight_change.h", | 106 "in_flight_change.h", |
| 107 "mojo_buffer_backing.cc", |
| 108 "mojo_buffer_backing.h", |
| 109 "mojo_gpu_memory_buffer.cc", |
| 110 "mojo_gpu_memory_buffer.h", |
| 111 "mojo_gpu_memory_buffer_manager.cc", |
100 "output_surface.cc", | 112 "output_surface.cc", |
101 "property_type_converters.cc", | 113 "property_type_converters.cc", |
102 "raster_thread_helper.cc", | 114 "raster_thread_helper.cc", |
103 "scoped_window_ptr.cc", | 115 "scoped_window_ptr.cc", |
104 "window.cc", | 116 "window.cc", |
105 "window_manager_delegate.cc", | 117 "window_manager_delegate.cc", |
106 "window_observer.cc", | 118 "window_observer.cc", |
107 "window_private.cc", | 119 "window_private.cc", |
108 "window_surface.cc", | 120 "window_surface.cc", |
109 "window_tree_client.cc", | 121 "window_tree_client.cc", |
(...skipping 23 matching lines...) Expand all Loading... |
133 "//ui/display", | 145 "//ui/display", |
134 "//ui/events", | 146 "//ui/events", |
135 "//ui/gfx/geometry", | 147 "//ui/gfx/geometry", |
136 ] | 148 ] |
137 | 149 |
138 data_deps = [ | 150 data_deps = [ |
139 "//services/ui", | 151 "//services/ui", |
140 ] | 152 ] |
141 | 153 |
142 defines = [ "GL_GLEXT_PROTOTYPES" ] | 154 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 155 |
| 156 if (use_ozone) { |
| 157 deps += [ "//ui/ozone" ] |
| 158 } |
143 } | 159 } |
OLD | NEW |