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_tooltip_disabler.cc',
47 '../wm/public/scoped_tooltip_disabler.h',
48 '../wm/public/tooltip_client.cc',
49 '../wm/public/tooltip_client.h',
50 '../wm/public/transient_window_client.cc',
51 '../wm/public/transient_window_client.h',
52 '../wm/public/window_move_client.cc',
53 '../wm/public/window_move_client.h',
54 '../wm/public/window_types.h',
55 'client/aura_constants.cc',
56 'client/aura_constants.h',
57 'client/capture_client.cc',
58 'client/capture_client.h',
59 'client/capture_delegate.h',
60 'client/cursor_client.cc',
61 'client/cursor_client.h',
62 'client/cursor_client_observer.cc',
63 'client/cursor_client_observer.h',
64 'client/default_capture_client.cc',
65 'client/default_capture_client.h',
66 'client/event_client.cc',
67 'client/event_client.h',
68 'client/focus_change_observer.cc',
69 'client/focus_change_observer.h',
70 'client/focus_client.cc',
71 'client/focus_client.h',
72 'client/screen_position_client.cc',
73 'client/screen_position_client.h',
74 'client/visibility_client.cc',
75 'client/visibility_client.h',
76 'client/window_stacking_client.cc',
77 'client/window_stacking_client.h',
78 'client/window_tree_client.cc',
79 'client/window_tree_client.h',
83 'input_state_lookup.cc',
84 'input_state_lookup.h',
85 'input_state_lookup_win.cc',
86 'input_state_lookup_win.h',
89 'remote_window_tree_host_win.cc',
90 'remote_window_tree_host_win.h',
91 'scoped_window_targeter.cc',
92 'scoped_window_targeter.h',
96 'window_event_dispatcher.cc',
97 'window_event_dispatcher.h',
98 'window_layer_type.h',
101 'window_targeter.cc',
105 'window_tree_host.cc',
106 'window_tree_host.h',
107 'window_tree_host_mac.h',
108 'window_tree_host_mac.mm',
109 'window_tree_host_observer.h',
110 'window_tree_host_ozone.cc',
111 'window_tree_host_ozone.h',
112 'window_tree_host_win.cc',
113 'window_tree_host_win.h',
114 'window_tree_host_x11.cc',
115 'window_tree_host_x11.h',
120 '../../build/linux/system.gyp:x11',
121 '../../build/linux/system.gyp:xrandr',
122 '../../build/linux/system.gyp:xi',
123 '../events/devices/events_devices.gyp:events_devices',
124 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
125 '../gfx/x/gfx_x11.gyp:gfx_x11',
130 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
131 '../platform_window/win/win_window.gyp:win_window',
132 '../../ipc/ipc.gyp:ipc',
135 'input_state_lookup.cc',
140 '../ozone/ozone.gyp:ozone',
141 '../ozone/ozone.gyp:ozone_base',
147 # GN version: //ui/aura:test_support
148 'target_name': 'aura_test_support',
149 'type': 'static_library',
151 '../../skia/skia.gyp:skia',
152 '../../testing/gtest.gyp:gtest',
153 '../base/ime/ui_base_ime.gyp:ui_base_ime',
154 '../base/ui_base.gyp:ui_base',
155 '../base/ui_base.gyp:ui_base_test_support',
156 '../compositor/compositor.gyp:compositor_test_support',
157 '../events/events.gyp:events',
158 '../events/events.gyp:events_base',
159 '../events/events.gyp:events_test_support',
160 '../gfx/gfx.gyp:gfx',
161 '../gfx/gfx.gyp:gfx_geometry',
168 'test/aura_test_base.cc',
169 'test/aura_test_base.h',
170 'test/aura_test_helper.cc',
171 'test/aura_test_helper.h',
172 'test/aura_test_utils.cc',
173 'test/aura_test_utils.h',
174 'test/env_test_helper.h',
175 'test/event_generator_delegate_aura.cc',
176 'test/event_generator_delegate_aura.h',
177 'test/test_cursor_client.cc',
178 'test/test_cursor_client.h',
179 'test/test_focus_client.cc',
180 'test/test_focus_client.h',
181 'test/test_screen.cc',
182 'test/test_screen.h',
183 'test/test_window_delegate.cc',
184 'test/test_window_delegate.h',
185 'test/test_window_tree_client.cc',
186 'test/test_window_tree_client.h',
187 'test/test_windows.cc',
188 'test/test_windows.h',
189 'test/ui_controls_factory_aura.h',
190 'test/ui_controls_factory_aurawin.cc',
191 'test/ui_controls_factory_aurax11.cc',
192 'test/ui_controls_factory_ozone.cc',
193 'test/window_event_dispatcher_test_api.cc',
194 'test/window_event_dispatcher_test_api.h',
195 'test/window_test_api.cc',
196 'test/window_test_api.h',
197 'test/x11_event_sender.cc',
198 'test/x11_event_sender.h',
200 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
201 'msvs_disabled_warnings': [ 4267, ],
204 'target_name': 'aura_demo',
205 'type': 'executable',
207 '../../base/base.gyp:base',
208 '../../base/base.gyp:base_i18n',
209 '../../skia/skia.gyp:skia',
210 '../../third_party/icu/icu.gyp:icui18n',
211 '../../third_party/icu/icu.gyp:icuuc',
212 '../base/ui_base.gyp:ui_base',
213 '../compositor/compositor.gyp:compositor',
214 '../compositor/compositor.gyp:compositor_test_support',
215 '../events/events.gyp:events',
216 '../gfx/gfx.gyp:gfx',
217 '../gfx/gfx.gyp:gfx_geometry',
230 '../gfx/x/gfx_x11.gyp:gfx_x11',
236 'target_name': 'aura_bench',
237 'type': 'executable',
239 '../../base/base.gyp:base',
240 '../../base/base.gyp:base_i18n',
241 '../../cc/cc.gyp:cc',
242 '../../gpu/gpu.gyp:gles2_implementation',
243 '../../skia/skia.gyp:skia',
244 '../../third_party/icu/icu.gyp:icui18n',
245 '../../third_party/icu/icu.gyp:icuuc',
246 '../base/ui_base.gyp:ui_base',
247 '../compositor/compositor.gyp:compositor',
248 '../compositor/compositor.gyp:compositor_test_support',
249 '../events/events.gyp:events',
250 '../gfx/gfx.gyp:gfx',
251 '../gfx/gfx.gyp:gfx_geometry',
259 'bench/bench_main.cc',
264 '../gfx/x/gfx_x11.gyp:gfx_x11',
270 'target_name': 'aura_unittests',
271 'type': 'executable',
273 '../../base/base.gyp:test_support_base',
274 '../../skia/skia.gyp:skia',
275 '../../testing/gtest.gyp:gtest',
276 '../base/ime/ui_base_ime.gyp:ui_base_ime',
277 '../base/ui_base.gyp:ui_base',
278 '../base/ui_base.gyp:ui_base_test_support',
279 '../compositor/compositor.gyp:compositor',
280 '../compositor/compositor.gyp:compositor_test_support',
281 '../events/events.gyp:events',
282 '../events/events.gyp:events_base',
283 '../events/events.gyp:gesture_detection',
284 '../gfx/gfx.gyp:gfx',
285 '../gfx/gfx.gyp:gfx_geometry',
294 'gestures/gesture_recognizer_unittest.cc',
295 'test/run_all_unittests.cc',
296 'window_event_dispatcher_unittest.cc',
297 'window_targeter_unittest.cc',
298 'window_unittest.cc',
301 # osmesa GL implementation is used on linux.
304 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
307 ['OS=="linux" and use_allocator!="none"', {
309 # See http://crbug.com/162998#c4 for why this is needed.
310 '../../base/allocator/allocator.gyp:allocator',