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 'target_name': 'aura',
12 'type': '<(component)',
14 '../../base/base.gyp:base',
15 '../../base/base.gyp:base_i18n',
16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
17 '../../skia/skia.gyp:skia',
18 '../base/ui_base.gyp:ui_base',
19 '../compositor/compositor.gyp:compositor',
20 '../events/events.gyp:events',
21 '../events/events.gyp:events_base',
22 '../events/platform/events_platform.gyp:events_platform',
24 '../gfx/gfx.gyp:gfx_geometry',
27 'AURA_IMPLEMENTATION',
30 'client/aura_constants.cc',
31 'client/aura_constants.h',
32 'client/capture_client.cc',
33 'client/capture_client.h',
34 'client/capture_delegate.h',
35 'client/cursor_client.cc',
36 'client/cursor_client.h',
37 'client/cursor_client_observer.h',
38 'client/cursor_client_observer.cc',
39 'client/default_capture_client.cc',
40 'client/default_capture_client.h',
41 'client/event_client.cc',
42 'client/event_client.h',
43 'client/focus_change_observer.cc',
44 'client/focus_change_observer.h',
45 'client/focus_client.cc',
46 'client/focus_client.h',
47 'client/screen_position_client.cc',
48 'client/screen_position_client.h',
49 'client/visibility_client.cc',
50 'client/visibility_client.h',
51 'client/window_stacking_client.cc',
52 'client/window_stacking_client.h',
53 'client/window_tree_client.cc',
54 'client/window_tree_client.h',
58 'input_state_lookup.cc',
59 'input_state_lookup.h',
60 'input_state_lookup_win.cc',
61 'input_state_lookup_win.h',
64 'remote_window_tree_host_win.cc',
65 'remote_window_tree_host_win.h',
66 'scoped_window_targeter.cc',
67 'scoped_window_targeter.h',
70 'window_event_dispatcher.cc',
71 'window_event_dispatcher.h',
73 'window_layer_type.h',
80 'window_tree_host.cc',
82 'window_tree_host_mac.mm',
83 'window_tree_host_mac.h',
84 'window_tree_host_observer.h',
85 'window_tree_host_ozone.cc',
86 'window_tree_host_ozone.h',
87 'window_tree_host_win.cc',
88 'window_tree_host_win.h',
89 'window_tree_host_x11.cc',
90 'window_tree_host_x11.h',
91 '../wm/public/activation_change_observer.h',
92 '../wm/public/activation_change_observer.cc',
93 '../wm/public/activation_client.cc',
94 '../wm/public/activation_client.h',
95 '../wm/public/activation_delegate.cc',
96 '../wm/public/activation_delegate.h',
97 '../wm/public/animation_host.cc',
98 '../wm/public/animation_host.h',
99 '../wm/public/dispatcher_client.cc',
100 '../wm/public/dispatcher_client.h',
101 '../wm/public/drag_drop_client.cc',
102 '../wm/public/drag_drop_client.h',
103 '../wm/public/drag_drop_delegate.cc',
104 '../wm/public/drag_drop_delegate.h',
105 '../wm/public/scoped_tooltip_disabler.cc',
106 '../wm/public/scoped_tooltip_disabler.h',
107 '../wm/public/tooltip_client.cc',
108 '../wm/public/tooltip_client.h',
109 '../wm/public/transient_window_client.cc',
110 '../wm/public/transient_window_client.h',
111 '../wm/public/window_move_client.cc',
112 '../wm/public/window_move_client.h',
117 '../../build/linux/system.gyp:x11',
118 '../../build/linux/system.gyp:xrandr',
119 '../../build/linux/system.gyp:xi',
120 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
125 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
126 '../../ipc/ipc.gyp:ipc',
129 'input_state_lookup.cc',
134 '../events/ozone/events_ozone.gyp:events_ozone',
135 '../ozone/ozone.gyp:ozone',
136 '../ozone/ozone.gyp:ozone_base',
142 'target_name': 'aura_test_support',
143 'type': 'static_library',
145 '../../skia/skia.gyp:skia',
146 '../../testing/gtest.gyp:gtest',
147 '../base/ui_base.gyp:ui_base',
148 '../base/ui_base.gyp:ui_base_test_support',
149 '../compositor/compositor.gyp:compositor_test_support',
150 '../events/events.gyp:events',
151 '../events/events.gyp:events_base',
152 '../events/events.gyp:events_test_support',
153 '../gfx/gfx.gyp:gfx',
154 '../gfx/gfx.gyp:gfx_geometry',
161 'test/aura_test_base.cc',
162 'test/aura_test_base.h',
163 'test/aura_test_helper.cc',
164 'test/aura_test_helper.h',
165 'test/aura_test_utils.cc',
166 'test/aura_test_utils.h',
167 'test/env_test_helper.h',
168 'test/event_generator.cc',
169 'test/event_generator.h',
170 'test/test_cursor_client.cc',
171 'test/test_cursor_client.h',
172 'test/test_focus_client.cc',
173 'test/test_focus_client.h',
174 'test/test_screen.cc',
175 'test/test_screen.h',
176 'test/test_window_tree_client.cc',
177 'test/test_window_tree_client.h',
178 'test/test_windows.cc',
179 'test/test_windows.h',
180 'test/test_window_delegate.cc',
181 'test/test_window_delegate.h',
182 'test/ui_controls_factory_aura.h',
183 'test/ui_controls_factory_aurawin.cc',
184 'test/ui_controls_factory_aurax11.cc',
185 'test/window_event_dispatcher_test_api.cc',
186 'test/window_event_dispatcher_test_api.h',
187 'test/window_test_api.cc',
188 'test/window_test_api.h',
190 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
191 'msvs_disabled_warnings': [ 4267, ],
194 'target_name': 'aura_demo',
195 'type': 'executable',
197 '../../base/base.gyp:base',
198 '../../base/base.gyp:base_i18n',
199 '../../skia/skia.gyp:skia',
200 '../../third_party/icu/icu.gyp:icui18n',
201 '../../third_party/icu/icu.gyp:icuuc',
202 '../base/ui_base.gyp:ui_base',
203 '../compositor/compositor.gyp:compositor',
204 '../compositor/compositor.gyp:compositor_test_support',
205 '../events/events.gyp:events',
206 '../gfx/gfx.gyp:gfx',
207 '../gfx/gfx.gyp:gfx_geometry',
220 '../gfx/x/gfx_x11.gyp:gfx_x11',
226 'target_name': 'aura_bench',
227 'type': 'executable',
229 '../../base/base.gyp:base',
230 '../../base/base.gyp:base_i18n',
231 '../../cc/cc.gyp:cc',
232 '../../gpu/gpu.gyp:gles2_implementation',
233 '../../skia/skia.gyp:skia',
234 '../../third_party/icu/icu.gyp:icui18n',
235 '../../third_party/icu/icu.gyp:icuuc',
236 '../base/ui_base.gyp:ui_base',
237 '../compositor/compositor.gyp:compositor',
238 '../compositor/compositor.gyp:compositor_test_support',
239 '../events/events.gyp:events',
240 '../gfx/gfx.gyp:gfx',
241 '../gfx/gfx.gyp:gfx_geometry',
249 'bench/bench_main.cc',
254 '../gfx/x/gfx_x11.gyp:gfx_x11',
260 'target_name': 'aura_unittests',
261 'type': 'executable',
263 '../../base/base.gyp:test_support_base',
264 '../../skia/skia.gyp:skia',
265 '../../testing/gtest.gyp:gtest',
266 '../base/ui_base.gyp:ui_base',
267 '../base/ui_base.gyp:ui_base_test_support',
268 '../compositor/compositor.gyp:compositor',
269 '../compositor/compositor.gyp:compositor_test_support',
270 '../events/events.gyp:events',
271 '../events/events.gyp:events_base',
272 '../events/events.gyp:gesture_detection',
273 '../gfx/gfx.gyp:gfx',
274 '../gfx/gfx.gyp:gfx_geometry',
283 'gestures/gesture_recognizer_unittest.cc',
284 'window_event_dispatcher_unittest.cc',
285 'test/run_all_unittests.cc',
286 'window_targeter_unittest.cc',
287 'window_unittest.cc',
290 # osmesa GL implementation is used on linux.
293 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
296 ['OS=="linux" and use_allocator!="none"', {
298 # See http://crbug.com/162998#c4 for why this is needed.
299 '../../base/allocator/allocator.gyp:allocator',