1 # Copyright (c) 2012 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.
11 # GN version: //ui/aura
12 'target_name': 'aura',
13 'type': '<(component)',
15 '../../base/base.gyp:base',
16 '../../base/base.gyp:base_i18n',
17 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
18 '../../skia/skia.gyp:skia',
19 '../base/ime/ui_base_ime.gyp:ui_base_ime',
20 '../base/ui_base.gyp:ui_base',
21 '../compositor/compositor.gyp:compositor',
22 '../events/events.gyp:events',
23 '../events/events.gyp:events_base',
24 '../events/platform/events_platform.gyp:events_platform',
26 '../gfx/gfx.gyp:gfx_geometry',
29 'AURA_IMPLEMENTATION',
32 '../wm/public/activation_change_observer.cc',
33 '../wm/public/activation_change_observer.h',
34 '../wm/public/activation_client.cc',
35 '../wm/public/activation_client.h',
36 '../wm/public/activation_delegate.cc',
37 '../wm/public/activation_delegate.h',
38 '../wm/public/animation_host.cc',
39 '../wm/public/animation_host.h',
40 '../wm/public/dispatcher_client.cc',
41 '../wm/public/dispatcher_client.h',
42 '../wm/public/drag_drop_client.cc',
43 '../wm/public/drag_drop_client.h',
44 '../wm/public/drag_drop_delegate.cc',
45 '../wm/public/drag_drop_delegate.h',
46 '../wm/public/scoped_drag_drop_disabler.cc',
47 '../wm/public/scoped_drag_drop_disabler.h',
48 '../wm/public/scoped_tooltip_disabler.cc',
49 '../wm/public/scoped_tooltip_disabler.h',
50 '../wm/public/tooltip_client.cc',
51 '../wm/public/tooltip_client.h',
52 '../wm/public/transient_window_client.cc',
53 '../wm/public/transient_window_client.h',
54 '../wm/public/window_move_client.cc',
55 '../wm/public/window_move_client.h',
56 '../wm/public/window_types.h',
57 'client/aura_constants.cc',
58 'client/aura_constants.h',
59 'client/capture_client.cc',
60 'client/capture_client.h',
61 'client/capture_delegate.h',
62 'client/cursor_client.cc',
63 'client/cursor_client.h',
64 'client/cursor_client_observer.cc',
65 'client/cursor_client_observer.h',
66 'client/default_capture_client.cc',
67 'client/default_capture_client.h',
68 'client/event_client.cc',
69 'client/event_client.h',
70 'client/focus_change_observer.cc',
71 'client/focus_change_observer.h',
72 'client/focus_client.cc',
73 'client/focus_client.h',
74 'client/screen_position_client.cc',
75 'client/screen_position_client.h',
76 'client/visibility_client.cc',
77 'client/visibility_client.h',
78 'client/window_stacking_client.cc',
79 'client/window_stacking_client.h',
80 'client/window_tree_client.cc',
81 'client/window_tree_client.h',
85 'input_state_lookup.cc',
86 'input_state_lookup.h',
87 'input_state_lookup_win.cc',
88 'input_state_lookup_win.h',
91 'remote_window_tree_host_win.cc',
92 'remote_window_tree_host_win.h',
93 'scoped_window_targeter.cc',
94 'scoped_window_targeter.h',
98 'window_event_dispatcher.cc',
99 'window_event_dispatcher.h',
100 'window_layer_type.h',
101 'window_observer.cc',
103 'window_targeter.cc',
107 'window_tree_host.cc',
108 'window_tree_host.h',
109 'window_tree_host_mac.h',
110 'window_tree_host_mac.mm',
111 'window_tree_host_observer.h',
112 'window_tree_host_ozone.cc',
113 'window_tree_host_ozone.h',
114 'window_tree_host_win.cc',
115 'window_tree_host_win.h',
116 'window_tree_host_x11.cc',
117 'window_tree_host_x11.h',
122 '../../build/linux/system.gyp:x11',
123 '../../build/linux/system.gyp:xrandr',
124 '../../build/linux/system.gyp:xi',
125 '../events/devices/events_devices.gyp:events_devices',
126 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
127 '../gfx/x/gfx_x11.gyp:gfx_x11',
132 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
133 '../platform_window/win/win_window.gyp:win_window',
134 '../../ipc/ipc.gyp:ipc',
137 'input_state_lookup.cc',
142 '../ozone/ozone.gyp:ozone',
143 '../ozone/ozone.gyp:ozone_base',
149 # GN version: //ui/aura:test_support
150 'target_name': 'aura_test_support',
151 'type': 'static_library',
153 '../../skia/skia.gyp:skia',
154 '../../testing/gtest.gyp:gtest',
155 '../base/ime/ui_base_ime.gyp:ui_base_ime',
156 '../base/ui_base.gyp:ui_base',
157 '../base/ui_base.gyp:ui_base_test_support',
158 '../compositor/compositor.gyp:compositor_test_support',
159 '../events/events.gyp:events',
160 '../events/events.gyp:events_base',
161 '../events/events.gyp:events_test_support',
162 '../gfx/gfx.gyp:gfx',
163 '../gfx/gfx.gyp:gfx_geometry',
170 'test/aura_test_base.cc',
171 'test/aura_test_base.h',
172 'test/aura_test_helper.cc',
173 'test/aura_test_helper.h',
174 'test/aura_test_utils.cc',
175 'test/aura_test_utils.h',
176 'test/env_test_helper.h',
177 'test/event_generator_delegate_aura.cc',
178 'test/event_generator_delegate_aura.h',
179 'test/test_cursor_client.cc',
180 'test/test_cursor_client.h',
181 'test/test_focus_client.cc',
182 'test/test_focus_client.h',
183 'test/test_screen.cc',
184 'test/test_screen.h',
185 'test/test_window_delegate.cc',
186 'test/test_window_delegate.h',
187 'test/test_window_tree_client.cc',
188 'test/test_window_tree_client.h',
189 'test/test_windows.cc',
190 'test/test_windows.h',
191 'test/ui_controls_factory_aura.h',
192 'test/ui_controls_factory_aurawin.cc',
193 'test/ui_controls_factory_aurax11.cc',
194 'test/ui_controls_factory_ozone.cc',
195 'test/window_event_dispatcher_test_api.cc',
196 'test/window_event_dispatcher_test_api.h',
197 'test/window_test_api.cc',
198 'test/window_test_api.h',
199 'test/x11_event_sender.cc',
200 'test/x11_event_sender.h',
202 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
203 'msvs_disabled_warnings': [ 4267, ],
206 'target_name': 'aura_demo',
207 'type': 'executable',
209 '../../base/base.gyp:base',
210 '../../base/base.gyp:base_i18n',
211 '../../skia/skia.gyp:skia',
212 '../../third_party/icu/icu.gyp:icui18n',
213 '../../third_party/icu/icu.gyp:icuuc',
214 '../base/ui_base.gyp:ui_base',
215 '../compositor/compositor.gyp:compositor',
216 '../compositor/compositor.gyp:compositor_test_support',
217 '../events/events.gyp:events',
218 '../gfx/gfx.gyp:gfx',
219 '../gfx/gfx.gyp:gfx_geometry',
232 '../gfx/x/gfx_x11.gyp:gfx_x11',
238 'target_name': 'aura_bench',
239 'type': 'executable',
241 '../../base/base.gyp:base',
242 '../../base/base.gyp:base_i18n',
243 '../../cc/cc.gyp:cc',
244 '../../gpu/gpu.gyp:gles2_implementation',
245 '../../skia/skia.gyp:skia',
246 '../../third_party/icu/icu.gyp:icui18n',
247 '../../third_party/icu/icu.gyp:icuuc',
248 '../base/ui_base.gyp:ui_base',
249 '../compositor/compositor.gyp:compositor',
250 '../compositor/compositor.gyp:compositor_test_support',
251 '../events/events.gyp:events',
252 '../gfx/gfx.gyp:gfx',
253 '../gfx/gfx.gyp:gfx_geometry',
261 'bench/bench_main.cc',
266 '../gfx/x/gfx_x11.gyp:gfx_x11',
272 'target_name': 'aura_unittests',
273 'type': 'executable',
275 '../../base/base.gyp:test_support_base',
276 '../../skia/skia.gyp:skia',
277 '../../testing/gtest.gyp:gtest',
278 '../base/ime/ui_base_ime.gyp:ui_base_ime',
279 '../base/ui_base.gyp:ui_base',
280 '../base/ui_base.gyp:ui_base_test_support',
281 '../compositor/compositor.gyp:compositor',
282 '../compositor/compositor.gyp:compositor_test_support',
283 '../events/events.gyp:events',
284 '../events/events.gyp:events_base',
285 '../events/events.gyp:gesture_detection',
286 '../gfx/gfx.gyp:gfx',
287 '../gfx/gfx.gyp:gfx_geometry',
296 'gestures/gesture_recognizer_unittest.cc',
297 'test/run_all_unittests.cc',
298 'window_event_dispatcher_unittest.cc',
299 'window_targeter_unittest.cc',
300 'window_unittest.cc',
303 # osmesa GL implementation is used on linux.
306 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
309 ['OS=="linux" and use_allocator!="none"', {
311 # See http://crbug.com/162998#c4 for why this is needed.
312 '../../base/allocator/allocator.gyp:allocator',