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_observer.cc',
102 'window_targeter.cc',
106 'window_tree_host.cc',
107 'window_tree_host.h',
108 'window_tree_host_mac.h',
109 'window_tree_host_mac.mm',
110 'window_tree_host_observer.h',
111 'window_tree_host_ozone.cc',
112 'window_tree_host_ozone.h',
113 'window_tree_host_win.cc',
114 'window_tree_host_win.h',
115 'window_tree_host_x11.cc',
116 'window_tree_host_x11.h',
121 '../../build/linux/system.gyp:x11',
122 '../../build/linux/system.gyp:xrandr',
123 '../../build/linux/system.gyp:xi',
124 '../events/devices/events_devices.gyp:events_devices',
125 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
126 '../gfx/x/gfx_x11.gyp:gfx_x11',
131 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
132 '../platform_window/win/win_window.gyp:win_window',
133 '../../ipc/ipc.gyp:ipc',
136 'input_state_lookup.cc',
141 '../ozone/ozone.gyp:ozone',
142 '../ozone/ozone.gyp:ozone_base',
148 # GN version: //ui/aura:test_support
149 'target_name': 'aura_test_support',
150 'type': 'static_library',
152 '../../skia/skia.gyp:skia',
153 '../../testing/gtest.gyp:gtest',
154 '../base/ime/ui_base_ime.gyp:ui_base_ime',
155 '../base/ui_base.gyp:ui_base',
156 '../base/ui_base.gyp:ui_base_test_support',
157 '../compositor/compositor.gyp:compositor_test_support',
158 '../events/events.gyp:events',
159 '../events/events.gyp:events_base',
160 '../events/events.gyp:events_test_support',
161 '../gfx/gfx.gyp:gfx',
162 '../gfx/gfx.gyp:gfx_geometry',
169 'test/aura_test_base.cc',
170 'test/aura_test_base.h',
171 'test/aura_test_helper.cc',
172 'test/aura_test_helper.h',
173 'test/aura_test_utils.cc',
174 'test/aura_test_utils.h',
175 'test/env_test_helper.h',
176 'test/event_generator_delegate_aura.cc',
177 'test/event_generator_delegate_aura.h',
178 'test/test_cursor_client.cc',
179 'test/test_cursor_client.h',
180 'test/test_focus_client.cc',
181 'test/test_focus_client.h',
182 'test/test_screen.cc',
183 'test/test_screen.h',
184 'test/test_window_delegate.cc',
185 'test/test_window_delegate.h',
186 'test/test_window_tree_client.cc',
187 'test/test_window_tree_client.h',
188 'test/test_windows.cc',
189 'test/test_windows.h',
190 'test/ui_controls_factory_aura.h',
191 'test/ui_controls_factory_aurawin.cc',
192 'test/ui_controls_factory_aurax11.cc',
193 'test/ui_controls_factory_ozone.cc',
194 'test/window_event_dispatcher_test_api.cc',
195 'test/window_event_dispatcher_test_api.h',
196 'test/window_test_api.cc',
197 'test/window_test_api.h',
198 'test/x11_event_sender.cc',
199 'test/x11_event_sender.h',
201 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
202 'msvs_disabled_warnings': [ 4267, ],
205 'target_name': 'aura_demo',
206 'type': 'executable',
208 '../../base/base.gyp:base',
209 '../../base/base.gyp:base_i18n',
210 '../../skia/skia.gyp:skia',
211 '../../third_party/icu/icu.gyp:icui18n',
212 '../../third_party/icu/icu.gyp:icuuc',
213 '../base/ui_base.gyp:ui_base',
214 '../compositor/compositor.gyp:compositor',
215 '../compositor/compositor.gyp:compositor_test_support',
216 '../events/events.gyp:events',
217 '../gfx/gfx.gyp:gfx',
218 '../gfx/gfx.gyp:gfx_geometry',
231 '../gfx/x/gfx_x11.gyp:gfx_x11',
237 'target_name': 'aura_bench',
238 'type': 'executable',
240 '../../base/base.gyp:base',
241 '../../base/base.gyp:base_i18n',
242 '../../cc/cc.gyp:cc',
243 '../../gpu/gpu.gyp:gles2_implementation',
244 '../../skia/skia.gyp:skia',
245 '../../third_party/icu/icu.gyp:icui18n',
246 '../../third_party/icu/icu.gyp:icuuc',
247 '../base/ui_base.gyp:ui_base',
248 '../compositor/compositor.gyp:compositor',
249 '../compositor/compositor.gyp:compositor_test_support',
250 '../events/events.gyp:events',
251 '../gfx/gfx.gyp:gfx',
252 '../gfx/gfx.gyp:gfx_geometry',
260 'bench/bench_main.cc',
265 '../gfx/x/gfx_x11.gyp:gfx_x11',
271 'target_name': 'aura_unittests',
272 'type': 'executable',
274 '../../base/base.gyp:test_support_base',
275 '../../skia/skia.gyp:skia',
276 '../../testing/gtest.gyp:gtest',
277 '../base/ime/ui_base_ime.gyp:ui_base_ime',
278 '../base/ui_base.gyp:ui_base',
279 '../base/ui_base.gyp:ui_base_test_support',
280 '../compositor/compositor.gyp:compositor',
281 '../compositor/compositor.gyp:compositor_test_support',
282 '../events/events.gyp:events',
283 '../events/events.gyp:events_base',
284 '../events/events.gyp:gesture_detection',
285 '../gfx/gfx.gyp:gfx',
286 '../gfx/gfx.gyp:gfx_geometry',
295 'gestures/gesture_recognizer_unittest.cc',
296 'test/run_all_unittests.cc',
297 'window_event_dispatcher_unittest.cc',
298 'window_targeter_unittest.cc',
299 'window_unittest.cc',
302 # osmesa GL implementation is used on linux.
305 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
308 ['OS=="linux" and use_allocator!="none"', {
310 # See http://crbug.com/162998#c4 for why this is needed.
311 '../../base/allocator/allocator.gyp:allocator',
318 ['test_isolation_mode != "noop"', {
321 'target_name': 'aura_unittests_run',
327 '../../build/isolate.gypi',
330 'aura_unittests.isolate',