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") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 # 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 |
8 # implementation (and private haders) are in 'internal'. | 8 # implementation (and private haders) are in 'internal'. |
9 source_set("cpp") { | 9 source_set("cpp") { |
10 sources = [ | 10 sources = [ |
11 "compositor_frame_sink.h", | |
12 "context_provider.h", | 11 "context_provider.h", |
13 "gpu_service.h", | 12 "gpu_service.h", |
14 "input_event_handler.h", | 13 "input_event_handler.h", |
15 "mojo_gpu_memory_buffer_manager.h", | 14 "mojo_gpu_memory_buffer_manager.h", |
16 "property_type_converters.h", | 15 "property_type_converters.h", |
17 "raster_thread_helper.h", | 16 "raster_thread_helper.h", |
18 "scoped_window_ptr.h", | 17 "scoped_window_ptr.h", |
19 "surface_id_handler.h", | 18 "surface_id_handler.h", |
20 "window.h", | 19 "window.h", |
| 20 "window_compositor_frame_sink.h", |
21 "window_manager_delegate.h", | 21 "window_manager_delegate.h", |
22 "window_observer.h", | 22 "window_observer.h", |
23 "window_property.h", | 23 "window_property.h", |
24 "window_surface.h", | |
25 "window_surface_client.h", | |
26 "window_tracker.h", | 24 "window_tracker.h", |
27 "window_tree_client.h", | 25 "window_tree_client.h", |
28 "window_tree_client_delegate.h", | 26 "window_tree_client_delegate.h", |
29 "window_tree_client_observer.h", | 27 "window_tree_client_observer.h", |
30 "window_tree_host_factory.h", | 28 "window_tree_host_factory.h", |
31 ] | 29 ] |
32 | 30 |
33 public_deps = [ | 31 public_deps = [ |
34 "//base", | 32 "//base", |
35 "//cc", | 33 "//cc", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 88 |
91 source_set("internal") { | 89 source_set("internal") { |
92 # This target is an implementation detail and is intended only to be used by | 90 # This target is an implementation detail and is intended only to be used by |
93 # the 'cpp' target. | 91 # the 'cpp' target. |
94 visibility = [ | 92 visibility = [ |
95 ":cpp", | 93 ":cpp", |
96 "//services/ui/demo:mus_demo_lib", | 94 "//services/ui/demo:mus_demo_lib", |
97 ] | 95 ] |
98 | 96 |
99 sources = [ | 97 sources = [ |
100 "compositor_frame_sink.cc", | |
101 "context_provider.cc", | 98 "context_provider.cc", |
102 "gles2_context.cc", | 99 "gles2_context.cc", |
103 "gles2_context.h", | 100 "gles2_context.h", |
104 "gpu_memory_buffer_impl.cc", | 101 "gpu_memory_buffer_impl.cc", |
105 "gpu_memory_buffer_impl.h", | 102 "gpu_memory_buffer_impl.h", |
106 "gpu_service.cc", | 103 "gpu_service.cc", |
107 "in_flight_change.cc", | 104 "in_flight_change.cc", |
108 "in_flight_change.h", | 105 "in_flight_change.h", |
109 "mojo_buffer_backing.cc", | 106 "mojo_buffer_backing.cc", |
110 "mojo_buffer_backing.h", | 107 "mojo_buffer_backing.h", |
111 "mojo_gpu_memory_buffer.cc", | 108 "mojo_gpu_memory_buffer.cc", |
112 "mojo_gpu_memory_buffer.h", | 109 "mojo_gpu_memory_buffer.h", |
113 "mojo_gpu_memory_buffer_manager.cc", | 110 "mojo_gpu_memory_buffer_manager.cc", |
114 "property_type_converters.cc", | 111 "property_type_converters.cc", |
115 "raster_thread_helper.cc", | 112 "raster_thread_helper.cc", |
116 "scoped_window_ptr.cc", | 113 "scoped_window_ptr.cc", |
117 "window.cc", | 114 "window.cc", |
| 115 "window_compositor_frame_sink.cc", |
118 "window_manager_delegate.cc", | 116 "window_manager_delegate.cc", |
119 "window_observer.cc", | 117 "window_observer.cc", |
120 "window_private.cc", | 118 "window_private.cc", |
121 "window_surface.cc", | |
122 "window_tree_client.cc", | 119 "window_tree_client.cc", |
123 "window_tree_client_delegate.cc", | 120 "window_tree_client_delegate.cc", |
124 "window_tree_host_factory.cc", | 121 "window_tree_host_factory.cc", |
125 ] | 122 ] |
126 | 123 |
127 deps = [ | 124 deps = [ |
128 ":internal_or_test", | 125 ":internal_or_test", |
129 "//base", | 126 "//base", |
130 "//cc", | 127 "//cc", |
131 "//cc/surfaces", | 128 "//cc/surfaces", |
(...skipping 18 matching lines...) Expand all Loading... |
150 data_deps = [ | 147 data_deps = [ |
151 "//services/ui", | 148 "//services/ui", |
152 ] | 149 ] |
153 | 150 |
154 defines = [ "GL_GLEXT_PROTOTYPES" ] | 151 defines = [ "GL_GLEXT_PROTOTYPES" ] |
155 | 152 |
156 if (use_ozone) { | 153 if (use_ozone) { |
157 deps += [ "//ui/ozone" ] | 154 deps += [ "//ui/ozone" ] |
158 } | 155 } |
159 } | 156 } |
OLD | NEW |