Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: components/mus/ws/BUILD.gn

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/mus/test_wm/test_wm.cc ('k') | components/mus/ws/accelerator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 import("//build/config/ui.gni")
6 import("//testing/test.gni")
7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/mojo_application_manifest.gni")
9
10 source_set("lib") {
11 sources = [
12 "accelerator.cc",
13 "accelerator.h",
14 "access_policy.h",
15 "access_policy_delegate.h",
16 "animation_runner.cc",
17 "animation_runner.h",
18 "animation_runner_observer.h",
19 "default_access_policy.cc",
20 "default_access_policy.h",
21 "display.cc",
22 "display.h",
23 "display_binding.cc",
24 "display_binding.h",
25 "display_manager.cc",
26 "display_manager.h",
27 "display_manager_delegate.h",
28 "event_dispatcher.cc",
29 "event_dispatcher.h",
30 "event_dispatcher_delegate.h",
31 "event_matcher.cc",
32 "event_matcher.h",
33 "focus_controller.cc",
34 "focus_controller.h",
35 "focus_controller_delegate.h",
36 "focus_controller_observer.h",
37 "modal_window_controller.cc",
38 "modal_window_controller.h",
39 "operation.cc",
40 "operation.h",
41 "platform_display.cc",
42 "platform_display.h",
43 "platform_display_delegate.h",
44 "platform_display_factory.h",
45 "platform_display_init_params.cc",
46 "platform_display_init_params.h",
47 "platform_screen.h",
48 "platform_screen_impl.cc",
49 "platform_screen_impl.h",
50 "scheduled_animation_group.cc",
51 "scheduled_animation_group.h",
52 "server_window.cc",
53 "server_window.h",
54 "server_window_delegate.h",
55 "server_window_drawn_tracker.cc",
56 "server_window_drawn_tracker.h",
57 "server_window_drawn_tracker_observer.h",
58 "server_window_observer.h",
59 "server_window_surface.cc",
60 "server_window_surface.h",
61 "server_window_surface_manager.cc",
62 "server_window_surface_manager.h",
63 "server_window_tracker.h",
64 "touch_controller.cc",
65 "touch_controller.h",
66 "user_activity_monitor.cc",
67 "user_activity_monitor.h",
68 "user_display_manager.cc",
69 "user_display_manager.h",
70 "user_id.h",
71 "user_id_tracker.cc",
72 "user_id_tracker.h",
73 "user_id_tracker_observer.h",
74 "window_coordinate_conversions.cc",
75 "window_coordinate_conversions.h",
76 "window_finder.cc",
77 "window_finder.h",
78 "window_manager_access_policy.cc",
79 "window_manager_access_policy.h",
80 "window_manager_display_root.cc",
81 "window_manager_display_root.h",
82 "window_manager_state.cc",
83 "window_manager_state.h",
84 "window_manager_window_tree_factory.cc",
85 "window_manager_window_tree_factory.h",
86 "window_manager_window_tree_factory_set.cc",
87 "window_manager_window_tree_factory_set.h",
88 "window_manager_window_tree_factory_set_observer.h",
89 "window_server.cc",
90 "window_server.h",
91 "window_server_delegate.cc",
92 "window_server_delegate.h",
93 "window_tree.cc",
94 "window_tree.h",
95 "window_tree_binding.cc",
96 "window_tree_binding.h",
97 "window_tree_factory.cc",
98 "window_tree_factory.h",
99 "window_tree_host_factory.cc",
100 "window_tree_host_factory.h",
101 ]
102
103 public_deps = [
104 "//base",
105 "//cc",
106 "//cc/ipc:interfaces",
107 "//cc/surfaces",
108 "//cc/surfaces:surface_id",
109 "//components/mus/common:mus_common",
110 "//components/mus/gles2",
111 "//components/mus/public/interfaces",
112 "//components/mus/surfaces",
113 "//mojo/common:common_base",
114 "//mojo/public/cpp/bindings",
115 "//services/shell/public/cpp",
116 "//services/shell/public/interfaces",
117 "//services/tracing/public/cpp",
118 "//ui/base",
119 "//ui/display",
120 "//ui/events",
121 "//ui/events/devices",
122 "//ui/events/platform",
123 "//ui/gfx",
124 "//ui/gfx/geometry",
125 "//ui/gfx/geometry/mojo",
126 "//ui/gl",
127 "//ui/platform_window",
128 "//ui/platform_window:platform_impls",
129 "//ui/platform_window/mojo",
130 ]
131
132 if (use_ozone) {
133 sources -= [
134 "platform_screen_impl.cc",
135 "platform_screen_impl.h",
136 ]
137 sources += [
138 "platform_screen_impl_ozone.cc",
139 "platform_screen_impl_ozone.h",
140 ]
141 public_deps += [ "//ui/ozone:ozone" ]
142 }
143 }
144
145 source_set("test_interface") {
146 sources = [
147 "window_server_test_impl.cc",
148 "window_server_test_impl.h",
149 ]
150
151 deps = [
152 ":lib",
153 "//components/mus/public/interfaces",
154 "//mojo/public/cpp/bindings:bindings",
155 "//ui/gfx",
156 ]
157 }
158
159 source_set("test_support") {
160 testonly = true
161
162 sources = [
163 "test_change_tracker.cc",
164 "test_change_tracker.h",
165 ]
166
167 deps = [
168 "//base",
169 "//components/mus/common:mus_common",
170 "//components/mus/public/cpp",
171 "//components/mus/public/interfaces",
172 "//mojo/common",
173 "//mojo/public/cpp/bindings:bindings",
174 "//ui/gfx/geometry/mojo",
175 ]
176 }
177
178 group("tests") {
179 testonly = true
180 deps = [
181 ":mus_ws_unittests",
182 ]
183 if (!is_android) {
184 deps += [ "//components/mus/public/cpp/tests:mus_public_unittests" ]
185 }
186 }
187
188 test("mus_ws_unittests") {
189 sources = [
190 "animation_runner_unittest.cc",
191 "cursor_unittest.cc",
192 "display_unittest.cc",
193 "event_dispatcher_unittest.cc",
194 "event_matcher_unittest.cc",
195 "focus_controller_unittest.cc",
196 "scheduled_animation_group_unittest.cc",
197 "server_window_drawn_tracker_unittest.cc",
198 "server_window_surface_manager_test_api.cc",
199 "server_window_surface_manager_test_api.h",
200 "test_server_window_delegate.cc",
201 "test_server_window_delegate.h",
202 "test_utils.cc",
203 "test_utils.h",
204 "transient_windows_unittest.cc",
205 "user_activity_monitor_unittest.cc",
206 "user_display_manager_unittest.cc",
207 "window_coordinate_conversions_unittest.cc",
208 "window_finder_unittest.cc",
209 "window_manager_client_unittest.cc",
210 "window_manager_state_unittest.cc",
211 "window_tree_client_unittest.cc",
212 "window_tree_unittest.cc",
213 ]
214
215 deps = [
216 ":lib",
217 ":test_support",
218 "//base",
219 "//base/test:test_config",
220 "//base/test:test_support",
221 "//cc:cc",
222 "//components/mus/common:mus_common",
223 "//components/mus/public/cpp",
224 "//components/mus/public/cpp/tests:test_support",
225 "//components/mus/public/interfaces",
226 "//components/mus/surfaces",
227 "//mojo/public/cpp/bindings:bindings",
228 "//services/shell/public/cpp:shell_test_support",
229 "//services/shell/public/cpp:sources",
230 "//services/shell/public/cpp/test:run_all_shelltests",
231 "//services/shell/public/interfaces",
232 "//testing/gtest",
233 "//third_party/mesa:osmesa",
234 "//ui/events",
235 "//ui/gfx",
236 "//ui/gfx:test_support",
237 "//ui/gfx/geometry",
238 "//ui/gfx/geometry/mojo",
239 "//ui/gl",
240 ]
241
242 if (use_x11) {
243 deps += [ "//tools/xdisplaycheck" ]
244 }
245
246 data_deps = [
247 ":mus_ws_unittests_app_manifest",
248 ]
249 }
250
251 mojo_application_manifest("mus_ws_unittests_app_manifest") {
252 application_name = "mus_ws_unittests_app"
253 source = "mus_ws_unittests_app_manifest.json"
254 }
OLDNEW
« no previous file with comments | « components/mus/test_wm/test_wm.cc ('k') | components/mus/ws/accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698