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/ui_base.gyp:ui_base',
20 '../compositor/compositor.gyp:compositor',
21 '../events/events.gyp:events',
22 '../events/events.gyp:events_base',
23 '../events/platform/events_platform.gyp:events_platform',
25 '../gfx/gfx.gyp:gfx_geometry',
28 'AURA_IMPLEMENTATION',
31 'client/aura_constants.cc',
32 'client/aura_constants.h',
33 'client/capture_client.cc',
34 'client/capture_client.h',
35 'client/capture_delegate.h',
36 'client/cursor_client.cc',
37 'client/cursor_client.h',
38 'client/cursor_client_observer.h',
39 'client/cursor_client_observer.cc',
40 'client/default_capture_client.cc',
41 'client/default_capture_client.h',
42 'client/event_client.cc',
43 'client/event_client.h',
44 'client/focus_change_observer.cc',
45 'client/focus_change_observer.h',
46 'client/focus_client.cc',
47 'client/focus_client.h',
48 'client/screen_position_client.cc',
49 'client/screen_position_client.h',
50 'client/visibility_client.cc',
51 'client/visibility_client.h',
52 'client/window_stacking_client.cc',
53 'client/window_stacking_client.h',
54 'client/window_tree_client.cc',
55 'client/window_tree_client.h',
59 'input_state_lookup.cc',
60 'input_state_lookup.h',
61 'input_state_lookup_win.cc',
62 'input_state_lookup_win.h',
65 'remote_window_tree_host_win.cc',
66 'remote_window_tree_host_win.h',
67 'scoped_window_targeter.cc',
68 'scoped_window_targeter.h',
71 'window_event_dispatcher.cc',
72 'window_event_dispatcher.h',
74 'window_layer_type.h',
81 'window_tree_host.cc',
83 'window_tree_host_mac.mm',
84 'window_tree_host_mac.h',
85 'window_tree_host_observer.h',
86 'window_tree_host_ozone.cc',
87 'window_tree_host_ozone.h',
88 'window_tree_host_win.cc',
89 'window_tree_host_win.h',
90 'window_tree_host_x11.cc',
91 'window_tree_host_x11.h',
92 '../wm/public/activation_change_observer.h',
93 '../wm/public/activation_change_observer.cc',
94 '../wm/public/activation_client.cc',
95 '../wm/public/activation_client.h',
96 '../wm/public/activation_delegate.cc',
97 '../wm/public/activation_delegate.h',
98 '../wm/public/animation_host.cc',
99 '../wm/public/animation_host.h',
100 '../wm/public/dispatcher_client.cc',
101 '../wm/public/dispatcher_client.h',
102 '../wm/public/drag_drop_client.cc',
103 '../wm/public/drag_drop_client.h',
104 '../wm/public/drag_drop_delegate.cc',
105 '../wm/public/drag_drop_delegate.h',
106 '../wm/public/scoped_tooltip_disabler.cc',
107 '../wm/public/scoped_tooltip_disabler.h',
108 '../wm/public/tooltip_client.cc',
109 '../wm/public/tooltip_client.h',
110 '../wm/public/transient_window_client.cc',
111 '../wm/public/transient_window_client.h',
112 '../wm/public/window_move_client.cc',
113 '../wm/public/window_move_client.h',
114 '../wm/public/window_types.h',
119 '../../build/linux/system.gyp:x11',
120 '../../build/linux/system.gyp:xrandr',
121 '../../build/linux/system.gyp:xi',
122 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
127 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
128 '../platform_window/win/win_window.gyp:win_window',
129 '../../ipc/ipc.gyp:ipc',
132 'input_state_lookup.cc',
137 '../ozone/ozone.gyp:ozone',
138 '../ozone/ozone.gyp:ozone_base',
144 # GN version: //ui/aura:test_support
145 'target_name': 'aura_test_support',
146 'type': 'static_library',
148 '../../skia/skia.gyp:skia',
149 '../../testing/gtest.gyp:gtest',
150 '../base/ui_base.gyp:ui_base',
151 '../base/ui_base.gyp:ui_base_test_support',
152 '../compositor/compositor.gyp:compositor_test_support',
153 '../events/events.gyp:events',
154 '../events/events.gyp:events_base',
155 '../events/events.gyp:events_test_support',
156 '../gfx/gfx.gyp:gfx',
157 '../gfx/gfx.gyp:gfx_geometry',
164 'test/aura_test_base.cc',
165 'test/aura_test_base.h',
166 'test/aura_test_helper.cc',
167 'test/aura_test_helper.h',
168 'test/aura_test_utils.cc',
169 'test/aura_test_utils.h',
170 'test/env_test_helper.h',
171 'test/event_generator_delegate_aura.cc',
172 'test/event_generator_delegate_aura.h',
173 'test/test_cursor_client.cc',
174 'test/test_cursor_client.h',
175 'test/test_focus_client.cc',
176 'test/test_focus_client.h',
177 'test/test_screen.cc',
178 'test/test_screen.h',
179 'test/test_window_tree_client.cc',
180 'test/test_window_tree_client.h',
181 'test/test_windows.cc',
182 'test/test_windows.h',
183 'test/test_window_delegate.cc',
184 'test/test_window_delegate.h',
185 'test/ui_controls_factory_aura.h',
186 'test/ui_controls_factory_aurawin.cc',
187 'test/ui_controls_factory_aurax11.cc',
188 'test/ui_controls_factory_ozone.cc',
189 'test/window_event_dispatcher_test_api.cc',
190 'test/window_event_dispatcher_test_api.h',
191 'test/window_test_api.cc',
192 'test/window_test_api.h',
193 'test/x11_event_sender.cc',
194 'test/x11_event_sender.h',
196 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
197 'msvs_disabled_warnings': [ 4267, ],
200 'target_name': 'aura_demo',
201 'type': 'executable',
203 '../../base/base.gyp:base',
204 '../../base/base.gyp:base_i18n',
205 '../../skia/skia.gyp:skia',
206 '../../third_party/icu/icu.gyp:icui18n',
207 '../../third_party/icu/icu.gyp:icuuc',
208 '../base/ui_base.gyp:ui_base',
209 '../compositor/compositor.gyp:compositor',
210 '../compositor/compositor.gyp:compositor_test_support',
211 '../events/events.gyp:events',
212 '../gfx/gfx.gyp:gfx',
213 '../gfx/gfx.gyp:gfx_geometry',
226 '../gfx/x/gfx_x11.gyp:gfx_x11',
232 'target_name': 'aura_bench',
233 'type': 'executable',
235 '../../base/base.gyp:base',
236 '../../base/base.gyp:base_i18n',
237 '../../cc/cc.gyp:cc',
238 '../../gpu/gpu.gyp:gles2_implementation',
239 '../../skia/skia.gyp:skia',
240 '../../third_party/icu/icu.gyp:icui18n',
241 '../../third_party/icu/icu.gyp:icuuc',
242 '../base/ui_base.gyp:ui_base',
243 '../compositor/compositor.gyp:compositor',
244 '../compositor/compositor.gyp:compositor_test_support',
245 '../events/events.gyp:events',
246 '../gfx/gfx.gyp:gfx',
247 '../gfx/gfx.gyp:gfx_geometry',
255 'bench/bench_main.cc',
260 '../gfx/x/gfx_x11.gyp:gfx_x11',
266 'target_name': 'aura_unittests',
267 'type': 'executable',
269 '../../base/base.gyp:test_support_base',
270 '../../skia/skia.gyp:skia',
271 '../../testing/gtest.gyp:gtest',
272 '../base/ui_base.gyp:ui_base',
273 '../base/ui_base.gyp:ui_base_test_support',
274 '../compositor/compositor.gyp:compositor',
275 '../compositor/compositor.gyp:compositor_test_support',
276 '../events/events.gyp:events',
277 '../events/events.gyp:events_base',
278 '../events/events.gyp:gesture_detection',
279 '../gfx/gfx.gyp:gfx',
280 '../gfx/gfx.gyp:gfx_geometry',
289 'gestures/gesture_recognizer_unittest.cc',
290 'window_event_dispatcher_unittest.cc',
291 'test/run_all_unittests.cc',
292 'window_targeter_unittest.cc',
293 'window_unittest.cc',
296 # osmesa GL implementation is used on linux.
299 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
302 ['OS=="linux" and use_allocator!="none"', {
304 # See http://crbug.com/162998#c4 for why this is needed.
305 '../../base/allocator/allocator.gyp:allocator',