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',
118 '../../build/linux/system.gyp:x11',
119 '../../build/linux/system.gyp:xrandr',
120 '../../build/linux/system.gyp:xi',
121 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
126 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
127 '../platform_window/win/win_window.gyp:win_window',
128 '../../ipc/ipc.gyp:ipc',
131 'input_state_lookup.cc',
136 '../events/ozone/events_ozone.gyp:events_ozone',
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',
194 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
195 'msvs_disabled_warnings': [ 4267, ],
198 'target_name': 'aura_demo',
199 'type': 'executable',
201 '../../base/base.gyp:base',
202 '../../base/base.gyp:base_i18n',
203 '../../skia/skia.gyp:skia',
204 '../../third_party/icu/icu.gyp:icui18n',
205 '../../third_party/icu/icu.gyp:icuuc',
206 '../base/ui_base.gyp:ui_base',
207 '../compositor/compositor.gyp:compositor',
208 '../compositor/compositor.gyp:compositor_test_support',
209 '../events/events.gyp:events',
210 '../gfx/gfx.gyp:gfx',
211 '../gfx/gfx.gyp:gfx_geometry',
224 '../gfx/x/gfx_x11.gyp:gfx_x11',
230 'target_name': 'aura_bench',
231 'type': 'executable',
233 '../../base/base.gyp:base',
234 '../../base/base.gyp:base_i18n',
235 '../../cc/cc.gyp:cc',
236 '../../gpu/gpu.gyp:gles2_implementation',
237 '../../skia/skia.gyp:skia',
238 '../../third_party/icu/icu.gyp:icui18n',
239 '../../third_party/icu/icu.gyp:icuuc',
240 '../base/ui_base.gyp:ui_base',
241 '../compositor/compositor.gyp:compositor',
242 '../compositor/compositor.gyp:compositor_test_support',
243 '../events/events.gyp:events',
244 '../gfx/gfx.gyp:gfx',
245 '../gfx/gfx.gyp:gfx_geometry',
253 'bench/bench_main.cc',
258 '../gfx/x/gfx_x11.gyp:gfx_x11',
264 'target_name': 'aura_unittests',
265 'type': 'executable',
267 '../../base/base.gyp:test_support_base',
268 '../../skia/skia.gyp:skia',
269 '../../testing/gtest.gyp:gtest',
270 '../base/ui_base.gyp:ui_base',
271 '../base/ui_base.gyp:ui_base_test_support',
272 '../compositor/compositor.gyp:compositor',
273 '../compositor/compositor.gyp:compositor_test_support',
274 '../events/events.gyp:events',
275 '../events/events.gyp:events_base',
276 '../events/events.gyp:gesture_detection',
277 '../gfx/gfx.gyp:gfx',
278 '../gfx/gfx.gyp:gfx_geometry',
287 'gestures/gesture_recognizer_unittest.cc',
288 'window_event_dispatcher_unittest.cc',
289 'test/run_all_unittests.cc',
290 'window_targeter_unittest.cc',
291 'window_unittest.cc',
294 # osmesa GL implementation is used on linux.
297 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
300 ['OS=="linux" and use_allocator!="none"', {
302 # See http://crbug.com/162998#c4 for why this is needed.
303 '../../base/allocator/allocator.gyp:allocator',