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

Side by Side Diff: ui/aura/BUILD.gn

Issue 2445163002: Make aura work with mus (Closed)
Patch Set: NON_EXPORTED_BASE_CLASS Created 4 years, 1 month 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 | « no previous file | ui/aura/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("aura") { 8 component("aura") {
9 sources = [ 9 sources = [
10 "../wm/public/activation_change_observer.cc", 10 "../wm/public/activation_change_observer.cc",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "env.h", 60 "env.h",
61 "env_input_state_controller.cc", 61 "env_input_state_controller.cc",
62 "env_input_state_controller.h", 62 "env_input_state_controller.h",
63 "env_observer.h", 63 "env_observer.h",
64 "input_state_lookup.cc", 64 "input_state_lookup.cc",
65 "input_state_lookup.h", 65 "input_state_lookup.h",
66 "input_state_lookup_win.cc", 66 "input_state_lookup_win.cc",
67 "input_state_lookup_win.h", 67 "input_state_lookup_win.h",
68 "layout_manager.cc", 68 "layout_manager.cc",
69 "layout_manager.h", 69 "layout_manager.h",
70 "mus/in_flight_change.cc",
71 "mus/in_flight_change.h",
72 "mus/input_method_mus.cc",
73 "mus/input_method_mus.h",
74 "mus/mus_types.h",
70 "mus/mus_util.cc", 75 "mus/mus_util.cc",
71 "mus/mus_util.h", 76 "mus/mus_util.h",
77 "mus/property_converter.h",
78 "mus/surface_id_handler.h",
79 "mus/text_input_client_impl.cc",
80 "mus/text_input_client_impl.h",
81 "mus/window_manager_delegate.cc",
82 "mus/window_manager_delegate.h",
83 "mus/window_mus.h",
84 "mus/window_port_mus.cc",
85 "mus/window_port_mus.h",
86 "mus/window_tree_client.cc",
87 "mus/window_tree_client.h",
88 "mus/window_tree_client_delegate.cc",
89 "mus/window_tree_client_delegate.h",
90 "mus/window_tree_client_observer.h",
91 "mus/window_tree_host_mus.cc",
92 "mus/window_tree_host_mus.h",
72 "scoped_window_targeter.cc", 93 "scoped_window_targeter.cc",
73 "scoped_window_targeter.h", 94 "scoped_window_targeter.h",
74 "window.cc", 95 "window.cc",
75 "window.h", 96 "window.h",
97 "window_delegate.cc",
76 "window_delegate.h", 98 "window_delegate.h",
77 "window_event_dispatcher.cc", 99 "window_event_dispatcher.cc",
78 "window_event_dispatcher.h", 100 "window_event_dispatcher.h",
79 "window_observer.cc", 101 "window_observer.cc",
80 "window_observer.h", 102 "window_observer.h",
81 "window_port.cc", 103 "window_port.cc",
82 "window_port.h", 104 "window_port.h",
83 "window_port_local.cc", 105 "window_port_local.cc",
84 "window_port_local.h", 106 "window_port_local.h",
85 "window_targeter.cc", 107 "window_targeter.cc",
86 "window_targeter.h", 108 "window_targeter.h",
87 "window_tracker.h", 109 "window_tracker.h",
88 "window_tree_host.cc", 110 "window_tree_host.cc",
89 "window_tree_host.h", 111 "window_tree_host.h",
90 "window_tree_host_mac.h", 112 "window_tree_host_mac.h",
91 "window_tree_host_mac.mm", 113 "window_tree_host_mac.mm",
92 "window_tree_host_observer.h", 114 "window_tree_host_observer.h",
93 "window_tree_host_platform.cc", 115 "window_tree_host_platform.cc",
94 "window_tree_host_platform.h", 116 "window_tree_host_platform.h",
95 "window_tree_host_x11.cc", 117 "window_tree_host_x11.cc",
96 "window_tree_host_x11.h", 118 "window_tree_host_x11.h",
97 ] 119 ]
98 120
99 defines = [ "AURA_IMPLEMENTATION" ] 121 defines = [ "AURA_IMPLEMENTATION" ]
100 122
101 deps = [ 123 deps = [
102 "//base", 124 "//base",
103 "//base:i18n", 125 "//base:i18n",
104 "//base/third_party/dynamic_annotations", 126 "//base/third_party/dynamic_annotations",
127 "//cc/surfaces:surface_id",
128 "//services/service_manager/public/cpp",
129 "//services/ui/public/interfaces",
105 "//skia", 130 "//skia",
106 "//ui/base", 131 "//ui/base",
107 "//ui/base/ime", 132 "//ui/base/ime",
108 "//ui/compositor", 133 "//ui/compositor",
109 "//ui/display", 134 "//ui/display",
110 "//ui/events", 135 "//ui/events",
111 "//ui/events:events_base", 136 "//ui/events:events_base",
112 "//ui/events/platform", 137 "//ui/events/platform",
113 "//ui/gfx", 138 "//ui/gfx",
114 "//ui/gfx/geometry", 139 "//ui/gfx/geometry",
115 "//ui/platform_window", 140 "//ui/platform_window",
141 "//ui/platform_window/mojo",
142 "//ui/platform_window/stub",
116 ] 143 ]
117 144
118 if (use_x11) { 145 if (use_x11) {
119 configs += [ 146 configs += [
120 "//build/config/linux:x11", 147 "//build/config/linux:x11",
121 "//build/config/linux:xrandr", 148 "//build/config/linux:xrandr",
122 ] 149 ]
123 deps += [ 150 deps += [
124 "//ui/events:events_base", 151 "//ui/events:events_base",
125 "//ui/events/devices", 152 "//ui/events/devices",
(...skipping 25 matching lines...) Expand all
151 deps += [ 178 deps += [
152 "//ui/platform_window/android", 179 "//ui/platform_window/android",
153 "//ui/platform_window/android:platform_window_java", 180 "//ui/platform_window/android:platform_window_java",
154 ] 181 ]
155 } 182 }
156 } 183 }
157 184
158 static_library("test_support") { 185 static_library("test_support") {
159 testonly = true 186 testonly = true
160 sources = [ 187 sources = [
188 "test/aura_mus_test_base.cc",
189 "test/aura_mus_test_base.h",
161 "test/aura_test_base.cc", 190 "test/aura_test_base.cc",
162 "test/aura_test_base.h", 191 "test/aura_test_base.h",
163 "test/aura_test_helper.cc", 192 "test/aura_test_helper.cc",
164 "test/aura_test_helper.h", 193 "test/aura_test_helper.h",
165 "test/aura_test_utils.cc", 194 "test/aura_test_utils.cc",
166 "test/aura_test_utils.h", 195 "test/aura_test_utils.h",
167 "test/env_test_helper.h", 196 "test/env_test_helper.h",
168 "test/event_generator_delegate_aura.cc", 197 "test/event_generator_delegate_aura.cc",
169 "test/event_generator_delegate_aura.h", 198 "test/event_generator_delegate_aura.h",
170 "test/input_method_glue.cc", 199 "test/input_method_glue.cc",
171 "test/input_method_glue.h", 200 "test/input_method_glue.h",
201 "test/mus/test_window_tree.cc",
202 "test/mus/test_window_tree.h",
203 "test/mus/test_window_tree_client_setup.cc",
204 "test/mus/test_window_tree_client_setup.h",
205 "test/mus/window_tree_client_private.cc",
206 "test/mus/window_tree_client_private.h",
172 "test/test_cursor_client.cc", 207 "test/test_cursor_client.cc",
173 "test/test_cursor_client.h", 208 "test/test_cursor_client.h",
174 "test/test_focus_client.cc", 209 "test/test_focus_client.cc",
175 "test/test_focus_client.h", 210 "test/test_focus_client.h",
176 "test/test_screen.cc", 211 "test/test_screen.cc",
177 "test/test_screen.h", 212 "test/test_screen.h",
178 "test/test_window_delegate.cc", 213 "test/test_window_delegate.cc",
179 "test/test_window_delegate.h", 214 "test/test_window_delegate.h",
180 "test/test_window_parenting_client.cc", 215 "test/test_window_parenting_client.cc",
181 "test/test_window_parenting_client.h", 216 "test/test_window_parenting_client.h",
182 "test/test_windows.cc", 217 "test/test_windows.cc",
183 "test/test_windows.h", 218 "test/test_windows.h",
184 "test/ui_controls_factory_aura.h", 219 "test/ui_controls_factory_aura.h",
185 "test/window_event_dispatcher_test_api.cc", 220 "test/window_event_dispatcher_test_api.cc",
186 "test/window_event_dispatcher_test_api.h", 221 "test/window_event_dispatcher_test_api.h",
187 "test/window_test_api.cc", 222 "test/window_test_api.cc",
188 "test/window_test_api.h", 223 "test/window_test_api.h",
189 ] 224 ]
190 225
191 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 226 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
192 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 227 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
193 228
194 public_deps = [ 229 public_deps = [
195 ":aura", 230 ":aura",
196 ] 231 ]
197 deps = [ 232 deps = [
233 "//services/ui/public/interfaces",
198 "//skia", 234 "//skia",
199 "//testing/gtest", 235 "//testing/gtest",
200 "//ui/base:test_support", 236 "//ui/base:test_support",
201 "//ui/base/ime", 237 "//ui/base/ime",
202 "//ui/compositor:test_support", 238 "//ui/compositor:test_support",
203 "//ui/display", 239 "//ui/display",
204 "//ui/events", 240 "//ui/events",
205 "//ui/events:events_base", 241 "//ui/events:events_base",
206 "//ui/events:test_support", 242 "//ui/events:test_support",
207 "//ui/gfx", 243 "//ui/gfx",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 ] 293 ]
258 294
259 if (use_x11) { 295 if (use_x11) {
260 deps += [ "//ui/gfx/x" ] 296 deps += [ "//ui/gfx/x" ]
261 } 297 }
262 } 298 }
263 299
264 test("aura_unittests") { 300 test("aura_unittests") {
265 sources = [ 301 sources = [
266 "gestures/gesture_recognizer_unittest.cc", 302 "gestures/gesture_recognizer_unittest.cc",
303 "mus/window_tree_client_unittest.cc",
267 "test/run_all_unittests.cc", 304 "test/run_all_unittests.cc",
268 "window_event_dispatcher_unittest.cc", 305 "window_event_dispatcher_unittest.cc",
269 "window_targeter_unittest.cc", 306 "window_targeter_unittest.cc",
270 "window_tree_host_unittest.cc", 307 "window_tree_host_unittest.cc",
271 "window_unittest.cc", 308 "window_unittest.cc",
272 ] 309 ]
273 310
274 deps = [ 311 deps = [
275 ":test_support", 312 ":test_support",
276 "//base/test:test_support", 313 "//base/test:test_support",
314 "//mojo/common",
277 "//skia", 315 "//skia",
278 "//testing/gtest", 316 "//testing/gtest",
279 "//ui/base:test_support", 317 "//ui/base:test_support",
280 "//ui/compositor:test_support", 318 "//ui/compositor:test_support",
281 "//ui/display:test_support", 319 "//ui/display:test_support",
282 "//ui/events:gesture_detection", 320 "//ui/events:gesture_detection",
283 "//ui/events:test_support", 321 "//ui/events:test_support",
284 "//ui/gfx", 322 "//ui/gfx",
285 "//ui/gfx/geometry", 323 "//ui/gfx/geometry",
286 "//ui/gl:test_support", 324 "//ui/gl:test_support",
287 ] 325 ]
288 326
289 if (is_linux) { 327 if (is_linux) {
290 deps += [ "//third_party/mesa" ] 328 deps += [ "//third_party/mesa" ]
291 } 329 }
292 330
293 data_deps = [ 331 data_deps = [
294 "//third_party/mesa:osmesa", 332 "//third_party/mesa:osmesa",
295 ] 333 ]
296 } 334 }
OLDNEW
« no previous file with comments | « no previous file | ui/aura/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698