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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("aura") { | 8 component("aura") { |
9 sources = [ | 9 public = [ |
10 "../wm/public/activation_change_observer.cc", | |
11 "../wm/public/activation_change_observer.h", | 10 "../wm/public/activation_change_observer.h", |
12 "../wm/public/activation_client.cc", | |
13 "../wm/public/activation_client.h", | 11 "../wm/public/activation_client.h", |
14 "../wm/public/activation_delegate.cc", | |
15 "../wm/public/activation_delegate.h", | 12 "../wm/public/activation_delegate.h", |
16 "../wm/public/animation_host.cc", | |
17 "../wm/public/animation_host.h", | 13 "../wm/public/animation_host.h", |
18 "../wm/public/scoped_drag_drop_disabler.cc", | |
19 "../wm/public/scoped_drag_drop_disabler.h", | 14 "../wm/public/scoped_drag_drop_disabler.h", |
20 "../wm/public/scoped_tooltip_disabler.cc", | |
21 "../wm/public/scoped_tooltip_disabler.h", | 15 "../wm/public/scoped_tooltip_disabler.h", |
22 "../wm/public/tooltip_client.cc", | |
23 "../wm/public/tooltip_client.h", | 16 "../wm/public/tooltip_client.h", |
24 "../wm/public/window_move_client.cc", | |
25 "../wm/public/window_move_client.h", | 17 "../wm/public/window_move_client.h", |
26 "../wm/public/window_types.h", | 18 "../wm/public/window_types.h", |
27 "client/aura_constants.cc", | |
28 "client/aura_constants.h", | 19 "client/aura_constants.h", |
29 "client/capture_client.cc", | |
30 "client/capture_client.h", | 20 "client/capture_client.h", |
31 "client/capture_client_observer.h", | 21 "client/capture_client_observer.h", |
32 "client/capture_delegate.h", | 22 "client/capture_delegate.h", |
33 "client/cursor_client.cc", | |
34 "client/cursor_client.h", | 23 "client/cursor_client.h", |
35 "client/cursor_client_observer.cc", | |
36 "client/cursor_client_observer.h", | 24 "client/cursor_client_observer.h", |
37 "client/default_capture_client.cc", | |
38 "client/default_capture_client.h", | 25 "client/default_capture_client.h", |
39 "client/drag_drop_client.cc", | |
40 "client/drag_drop_client.h", | 26 "client/drag_drop_client.h", |
41 "client/drag_drop_delegate.cc", | |
42 "client/drag_drop_delegate.h", | 27 "client/drag_drop_delegate.h", |
43 "client/event_client.cc", | |
44 "client/event_client.h", | 28 "client/event_client.h", |
45 "client/focus_change_observer.cc", | |
46 "client/focus_change_observer.h", | 29 "client/focus_change_observer.h", |
47 "client/focus_client.cc", | |
48 "client/focus_client.h", | 30 "client/focus_client.h", |
49 "client/screen_position_client.cc", | |
50 "client/screen_position_client.h", | 31 "client/screen_position_client.h", |
51 "client/transient_window_client.cc", | |
52 "client/transient_window_client.h", | 32 "client/transient_window_client.h", |
53 "client/transient_window_client_observer.h", | 33 "client/transient_window_client_observer.h", |
54 "client/visibility_client.cc", | |
55 "client/visibility_client.h", | 34 "client/visibility_client.h", |
56 "client/window_parenting_client.cc", | |
57 "client/window_parenting_client.h", | 35 "client/window_parenting_client.h", |
58 "client/window_stacking_client.cc", | |
59 "client/window_stacking_client.h", | 36 "client/window_stacking_client.h", |
60 "env.cc", | |
61 "env.h", | 37 "env.h", |
62 "env_input_state_controller.cc", | |
63 "env_input_state_controller.h", | 38 "env_input_state_controller.h", |
64 "env_observer.h", | 39 "env_observer.h", |
65 "event_injector.cc", | |
66 "event_injector.h", | 40 "event_injector.h", |
67 "input_state_lookup.cc", | |
68 "input_state_lookup.h", | 41 "input_state_lookup.h", |
69 "input_state_lookup_win.cc", | |
70 "input_state_lookup_win.h", | 42 "input_state_lookup_win.h", |
71 "layout_manager.cc", | |
72 "layout_manager.h", | 43 "layout_manager.h", |
73 "local/compositor_frame_sink_local.cc", | |
74 "local/compositor_frame_sink_local.h", | 44 "local/compositor_frame_sink_local.h", |
75 "local/window_port_local.cc", | |
76 "local/window_port_local.h", | 45 "local/window_port_local.h", |
77 "mus/capture_synchronizer.cc", | |
78 "mus/capture_synchronizer.h", | 46 "mus/capture_synchronizer.h", |
79 "mus/capture_synchronizer_delegate.h", | 47 "mus/capture_synchronizer_delegate.h", |
80 "mus/client_surface_embedder.cc", | |
81 "mus/client_surface_embedder.h", | 48 "mus/client_surface_embedder.h", |
82 "mus/drag_drop_controller_host.h", | 49 "mus/drag_drop_controller_host.h", |
83 "mus/drag_drop_controller_mus.cc", | |
84 "mus/drag_drop_controller_mus.h", | 50 "mus/drag_drop_controller_mus.h", |
85 "mus/focus_synchronizer.cc", | |
86 "mus/focus_synchronizer.h", | 51 "mus/focus_synchronizer.h", |
87 "mus/focus_synchronizer_delegate.h", | 52 "mus/focus_synchronizer_delegate.h", |
88 "mus/focus_synchronizer_observer.h", | 53 "mus/focus_synchronizer_observer.h", |
89 "mus/in_flight_change.cc", | |
90 "mus/in_flight_change.h", | 54 "mus/in_flight_change.h", |
91 "mus/input_method_mus.cc", | |
92 "mus/input_method_mus.h", | 55 "mus/input_method_mus.h", |
93 "mus/mus_context_factory.cc", | |
94 "mus/mus_context_factory.h", | 56 "mus/mus_context_factory.h", |
95 "mus/mus_mouse_location_updater.cc", | |
96 "mus/mus_mouse_location_updater.h", | 57 "mus/mus_mouse_location_updater.h", |
97 "mus/mus_types.h", | 58 "mus/mus_types.h", |
98 "mus/os_exchange_data_provider_mus.cc", | |
99 "mus/os_exchange_data_provider_mus.h", | 59 "mus/os_exchange_data_provider_mus.h", |
100 "mus/property_converter.cc", | |
101 "mus/property_converter.h", | 60 "mus/property_converter.h", |
102 "mus/property_utils.cc", | |
103 "mus/property_utils.h", | 61 "mus/property_utils.h", |
104 "mus/text_input_client_impl.cc", | |
105 "mus/text_input_client_impl.h", | 62 "mus/text_input_client_impl.h", |
106 "mus/user_activity_forwarder.cc", | |
107 "mus/user_activity_forwarder.h", | 63 "mus/user_activity_forwarder.h", |
108 "mus/window_manager_delegate.cc", | |
109 "mus/window_manager_delegate.h", | 64 "mus/window_manager_delegate.h", |
110 "mus/window_mus.h", | 65 "mus/window_mus.h", |
111 "mus/window_port_mus.cc", | |
112 "mus/window_port_mus.h", | 66 "mus/window_port_mus.h", |
113 "mus/window_tree_client.cc", | |
114 "mus/window_tree_client.h", | 67 "mus/window_tree_client.h", |
115 "mus/window_tree_client_delegate.cc", | |
116 "mus/window_tree_client_delegate.h", | 68 "mus/window_tree_client_delegate.h", |
117 "mus/window_tree_client_observer.h", | 69 "mus/window_tree_client_observer.h", |
118 "mus/window_tree_client_test_observer.h", | 70 "mus/window_tree_client_test_observer.h", |
119 "mus/window_tree_host_mus.cc", | |
120 "mus/window_tree_host_mus.h", | 71 "mus/window_tree_host_mus.h", |
121 "mus/window_tree_host_mus_delegate.h", | 72 "mus/window_tree_host_mus_delegate.h", |
122 "mus/window_tree_host_mus_init_params.cc", | |
123 "mus/window_tree_host_mus_init_params.h", | 73 "mus/window_tree_host_mus_init_params.h", |
124 "scoped_window_targeter.cc", | |
125 "scoped_window_targeter.h", | 74 "scoped_window_targeter.h", |
126 "window.cc", | |
127 "window.h", | 75 "window.h", |
128 "window_delegate.h", | 76 "window_delegate.h", |
129 "window_event_dispatcher.cc", | |
130 "window_event_dispatcher.h", | 77 "window_event_dispatcher.h", |
131 "window_observer.cc", | |
132 "window_observer.h", | 78 "window_observer.h", |
133 "window_port.cc", | |
134 "window_port.h", | 79 "window_port.h", |
135 "window_targeter.cc", | |
136 "window_targeter.h", | 80 "window_targeter.h", |
137 "window_tracker.h", | 81 "window_tracker.h", |
138 "window_tree_host.cc", | |
139 "window_tree_host.h", | 82 "window_tree_host.h", |
140 "window_tree_host_mac.h", | 83 "window_tree_host_mac.h", |
141 "window_tree_host_mac.mm", | |
142 "window_tree_host_observer.h", | 84 "window_tree_host_observer.h", |
| 85 "window_tree_host_platform.h", |
| 86 ] |
| 87 sources = [ |
| 88 "../wm/public/activation_change_observer.cc", |
| 89 "../wm/public/activation_client.cc", |
| 90 "../wm/public/activation_delegate.cc", |
| 91 "../wm/public/animation_host.cc", |
| 92 "../wm/public/scoped_drag_drop_disabler.cc", |
| 93 "../wm/public/scoped_tooltip_disabler.cc", |
| 94 "../wm/public/tooltip_client.cc", |
| 95 "../wm/public/window_move_client.cc", |
| 96 "client/aura_constants.cc", |
| 97 "client/capture_client.cc", |
| 98 "client/cursor_client.cc", |
| 99 "client/cursor_client_observer.cc", |
| 100 "client/default_capture_client.cc", |
| 101 "client/drag_drop_client.cc", |
| 102 "client/drag_drop_delegate.cc", |
| 103 "client/event_client.cc", |
| 104 "client/focus_change_observer.cc", |
| 105 "client/focus_client.cc", |
| 106 "client/screen_position_client.cc", |
| 107 "client/transient_window_client.cc", |
| 108 "client/visibility_client.cc", |
| 109 "client/window_parenting_client.cc", |
| 110 "client/window_stacking_client.cc", |
| 111 "env.cc", |
| 112 "env_input_state_controller.cc", |
| 113 "event_injector.cc", |
| 114 "input_state_lookup.cc", |
| 115 "input_state_lookup_win.cc", |
| 116 "layout_manager.cc", |
| 117 "local/compositor_frame_sink_local.cc", |
| 118 "local/window_port_local.cc", |
| 119 "mus/capture_synchronizer.cc", |
| 120 "mus/client_surface_embedder.cc", |
| 121 "mus/drag_drop_controller_mus.cc", |
| 122 "mus/focus_synchronizer.cc", |
| 123 "mus/in_flight_change.cc", |
| 124 "mus/input_method_mus.cc", |
| 125 "mus/mus_context_factory.cc", |
| 126 "mus/mus_mouse_location_updater.cc", |
| 127 "mus/os_exchange_data_provider_mus.cc", |
| 128 "mus/property_converter.cc", |
| 129 "mus/property_utils.cc", |
| 130 "mus/text_input_client_impl.cc", |
| 131 "mus/user_activity_forwarder.cc", |
| 132 "mus/window_manager_delegate.cc", |
| 133 "mus/window_port_mus.cc", |
| 134 "mus/window_tree_client.cc", |
| 135 "mus/window_tree_client_delegate.cc", |
| 136 "mus/window_tree_host_mus.cc", |
| 137 "mus/window_tree_host_mus_init_params.cc", |
| 138 "scoped_window_targeter.cc", |
| 139 "window.cc", |
| 140 "window_event_dispatcher.cc", |
| 141 "window_observer.cc", |
| 142 "window_port.cc", |
| 143 "window_port_for_shutdown.cc", |
| 144 "window_port_for_shutdown.h", |
| 145 "window_targeter.cc", |
| 146 "window_tree_host.cc", |
143 "window_tree_host_platform.cc", | 147 "window_tree_host_platform.cc", |
144 "window_tree_host_platform.h", | |
145 "window_tree_host_x11.cc", | |
146 "window_tree_host_x11.h", | |
147 ] | 148 ] |
148 | 149 |
149 defines = [ "AURA_IMPLEMENTATION" ] | 150 defines = [ "AURA_IMPLEMENTATION" ] |
150 | 151 |
151 deps = [ | 152 deps = [ |
152 "//base", | 153 "//base", |
153 "//base:i18n", | 154 "//base:i18n", |
154 "//base/third_party/dynamic_annotations", | 155 "//base/third_party/dynamic_annotations", |
155 "//cc", | 156 "//cc", |
156 "//cc/surfaces", | 157 "//cc/surfaces", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 "//build/config/linux:x11", | 191 "//build/config/linux:x11", |
191 "//build/config/linux:xrandr", | 192 "//build/config/linux:xrandr", |
192 ] | 193 ] |
193 deps += [ | 194 deps += [ |
194 "//ui/events:events_base", | 195 "//ui/events:events_base", |
195 "//ui/events/devices", | 196 "//ui/events/devices", |
196 "//ui/events/devices/x11", | 197 "//ui/events/devices/x11", |
197 "//ui/events/platform/x11", | 198 "//ui/events/platform/x11", |
198 "//ui/gfx/x", | 199 "//ui/gfx/x", |
199 ] | 200 ] |
200 } else { | 201 sources += [ "window_tree_host_x11.cc" ] |
201 sources -= [ | 202 public += [ "window_tree_host_x11.h" ] |
202 "window_tree_host_x11.cc", | |
203 "window_tree_host_x11.h", | |
204 ] | |
205 } | 203 } |
206 | 204 |
207 if (is_win) { | 205 if (is_win) { |
208 sources -= [ "input_state_lookup.cc" ] | 206 sources -= [ "input_state_lookup.cc" ] |
209 | 207 |
210 deps += [ | 208 deps += [ |
211 "//ipc", | 209 "//ipc", |
212 "//ui/platform_window/win", | 210 "//ui/platform_window/win", |
213 ] | 211 ] |
214 } | 212 } |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 ] | 383 ] |
386 | 384 |
387 if (is_linux) { | 385 if (is_linux) { |
388 deps += [ "//third_party/mesa" ] | 386 deps += [ "//third_party/mesa" ] |
389 } | 387 } |
390 | 388 |
391 data_deps = [ | 389 data_deps = [ |
392 "//third_party/mesa:osmesa", | 390 "//third_party/mesa:osmesa", |
393 ] | 391 ] |
394 } | 392 } |
OLD | NEW |