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 "context_provider.h", | |
12 "input_event_handler.h", | 11 "input_event_handler.h", |
13 "property_type_converters.h", | 12 "property_type_converters.h", |
14 "raster_thread_helper.h", | 13 "raster_thread_helper.h", |
15 "scoped_window_ptr.h", | 14 "scoped_window_ptr.h", |
16 "surface_id_handler.h", | 15 "surface_id_handler.h", |
17 "window.h", | 16 "window.h", |
18 "window_compositor_frame_sink.h", | 17 "window_compositor_frame_sink.h", |
19 "window_manager_delegate.h", | 18 "window_manager_delegate.h", |
20 "window_observer.h", | 19 "window_observer.h", |
21 "window_property.h", | 20 "window_property.h", |
22 "window_tracker.h", | 21 "window_tracker.h", |
23 "window_tree_client.h", | 22 "window_tree_client.h", |
24 "window_tree_client_delegate.h", | 23 "window_tree_client_delegate.h", |
25 "window_tree_client_observer.h", | 24 "window_tree_client_observer.h", |
26 "window_tree_host_factory.h", | 25 "window_tree_host_factory.h", |
27 ] | 26 ] |
28 | 27 |
29 public_deps = [ | 28 public_deps = [ |
30 "//base", | 29 "//base", |
31 "//cc", | 30 "//cc", |
32 "//cc/surfaces", | 31 "//cc/surfaces", |
33 "//cc/surfaces:surface_id", | 32 "//cc/surfaces:surface_id", |
34 "//gpu/command_buffer/client", | |
35 "//gpu/command_buffer/client:gles2_implementation", | |
36 "//gpu/command_buffer/common", | |
37 "//mojo/public/cpp/bindings", | 33 "//mojo/public/cpp/bindings", |
38 "//mojo/public/cpp/system", | |
39 "//services/service_manager/public/interfaces", | 34 "//services/service_manager/public/interfaces", |
40 "//services/ui/common:mus_common", | 35 "//services/ui/common:mus_common", |
41 "//services/ui/public/cpp/gpu", | 36 "//services/ui/public/cpp/gpu", |
42 "//services/ui/public/interfaces", | 37 "//services/ui/public/interfaces", |
43 ] | 38 ] |
44 | 39 |
45 deps = [ | 40 deps = [ |
46 ":internal", | 41 ":internal", |
47 ":internal_or_test", | 42 ":internal_or_test", |
48 "//gpu/command_buffer/client:gles2_cmd_helper", | 43 "//gpu/command_buffer/client:gles2_cmd_helper", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 81 |
87 source_set("internal") { | 82 source_set("internal") { |
88 # This target is an implementation detail and is intended only to be used by | 83 # This target is an implementation detail and is intended only to be used by |
89 # the 'cpp' target. | 84 # the 'cpp' target. |
90 visibility = [ | 85 visibility = [ |
91 ":cpp", | 86 ":cpp", |
92 "//services/ui/demo:lib", | 87 "//services/ui/demo:lib", |
93 ] | 88 ] |
94 | 89 |
95 sources = [ | 90 sources = [ |
96 "context_provider.cc", | |
97 "gles2_context.cc", | |
98 "gles2_context.h", | |
99 "in_flight_change.cc", | 91 "in_flight_change.cc", |
100 "in_flight_change.h", | 92 "in_flight_change.h", |
101 "property_type_converters.cc", | 93 "property_type_converters.cc", |
102 "raster_thread_helper.cc", | 94 "raster_thread_helper.cc", |
103 "scoped_window_ptr.cc", | 95 "scoped_window_ptr.cc", |
104 "window.cc", | 96 "window.cc", |
105 "window_compositor_frame_sink.cc", | 97 "window_compositor_frame_sink.cc", |
106 "window_manager_delegate.cc", | 98 "window_manager_delegate.cc", |
107 "window_observer.cc", | 99 "window_observer.cc", |
108 "window_private.cc", | 100 "window_private.cc", |
109 "window_tree_client.cc", | 101 "window_tree_client.cc", |
110 "window_tree_client_delegate.cc", | 102 "window_tree_client_delegate.cc", |
111 "window_tree_host_factory.cc", | 103 "window_tree_host_factory.cc", |
112 ] | 104 ] |
113 | 105 |
114 deps = [ | 106 deps = [ |
115 ":internal_or_test", | 107 ":internal_or_test", |
116 "//base", | 108 "//base", |
117 "//cc", | 109 "//cc", |
118 "//cc/surfaces", | 110 "//cc/surfaces", |
119 "//cc/surfaces:surface_id", | 111 "//cc/surfaces:surface_id", |
120 "//gpu/command_buffer/client", | |
121 "//gpu/command_buffer/client:gles2_cmd_helper", | |
122 "//gpu/command_buffer/client:gles2_implementation", | |
123 "//gpu/command_buffer/client:gles2_interface", | |
124 "//gpu/command_buffer/common", | |
125 "//gpu/ipc/client", | |
126 "//mojo/public/cpp/bindings", | 112 "//mojo/public/cpp/bindings", |
127 "//mojo/public/cpp/system", | |
128 "//services/service_manager/public/cpp", | 113 "//services/service_manager/public/cpp", |
129 "//services/service_manager/public/interfaces", | 114 "//services/service_manager/public/interfaces", |
130 "//services/ui/common:mus_common", | 115 "//services/ui/common:mus_common", |
131 "//services/ui/public/cpp/gpu", | 116 "//services/ui/public/cpp/gpu", |
132 "//services/ui/public/interfaces", | 117 "//services/ui/public/interfaces", |
133 "//skia/public/interfaces", | 118 "//skia/public/interfaces", |
134 "//ui/display", | 119 "//ui/display", |
135 "//ui/events", | 120 "//ui/events", |
136 "//ui/gfx/geometry", | 121 "//ui/gfx/geometry", |
137 ] | 122 ] |
138 | 123 |
139 data_deps = [ | 124 data_deps = [ |
140 "//services/ui", | 125 "//services/ui", |
141 ] | 126 ] |
142 | 127 |
143 defines = [ "GL_GLEXT_PROTOTYPES" ] | 128 defines = [ "GL_GLEXT_PROTOTYPES" ] |
144 | 129 |
145 if (use_ozone) { | 130 if (use_ozone) { |
146 deps += [ "//ui/ozone" ] | 131 deps += [ "//ui/ozone" ] |
147 } | 132 } |
148 } | 133 } |
OLD | NEW |