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 '../../gpu/gpu.gyp:gpu',
18 '../../skia/skia.gyp:skia',
19 '../compositor/compositor.gyp:compositor',
20 '../events/events.gyp:events',
21 '../events/events.gyp:events_base',
23 '../gfx/gfx.gyp:gfx_geometry',
27 'AURA_IMPLEMENTATION',
30 'client/activation_change_observer.h',
31 'client/activation_change_observer.cc',
32 'client/activation_client.cc',
33 'client/activation_client.h',
34 'client/activation_delegate.cc',
35 'client/activation_delegate.h',
36 'client/animation_host.cc',
37 'client/animation_host.h',
38 'client/aura_constants.cc',
39 'client/aura_constants.h',
40 'client/capture_client.cc',
41 'client/capture_client.h',
42 'client/capture_delegate.h',
43 'client/cursor_client.cc',
44 'client/cursor_client.h',
45 'client/cursor_client_observer.h',
46 'client/cursor_client_observer.cc',
47 'client/default_activation_client.cc',
48 'client/default_activation_client.h',
49 'client/default_capture_client.cc',
50 'client/default_capture_client.h',
51 'client/dispatcher_client.cc',
52 'client/dispatcher_client.h',
53 'client/drag_drop_client.cc',
54 'client/drag_drop_client.h',
55 'client/drag_drop_delegate.cc',
56 'client/drag_drop_delegate.h',
57 'client/event_client.cc',
58 'client/event_client.h',
59 'client/focus_change_observer.cc',
60 'client/focus_change_observer.h',
61 'client/focus_client.cc',
62 'client/focus_client.h',
63 'client/scoped_tooltip_disabler.cc',
64 'client/scoped_tooltip_disabler.h',
65 'client/screen_position_client.cc',
66 'client/screen_position_client.h',
67 'client/tooltip_client.cc',
68 'client/tooltip_client.h',
69 'client/transient_window_client.cc',
70 'client/transient_window_client.h',
71 'client/user_action_client.cc',
72 'client/user_action_client.h',
73 'client/visibility_client.cc',
74 'client/visibility_client.h',
75 'client/window_move_client.cc',
76 'client/window_move_client.h',
77 'client/window_stacking_client.cc',
78 'client/window_stacking_client.h',
79 'client/window_tree_client.cc',
80 'client/window_tree_client.h',
81 'device_list_updater_aurax11.cc',
82 'device_list_updater_aurax11.h',
87 'input_state_lookup.cc',
88 'input_state_lookup.h',
89 'input_state_lookup_win.cc',
90 'input_state_lookup_win.h',
93 'remote_root_window_host_win.cc',
94 'remote_root_window_host_win.h',
95 'root_window_host_mac.mm',
96 'root_window_host_mac.h',
97 'root_window_host_ozone.cc',
98 'root_window_host_ozone.h',
99 'root_window_host_win.cc',
100 'root_window_host_win.h',
101 'root_window_host_x11.cc',
102 'root_window_host_x11.h',
103 'root_window_transformer.h',
108 'window_targeter.cc',
111 'window_layer_type.h',
115 'window_tree_host.cc',
116 'window_tree_host.h',
117 'window_tree_host_delegate.h',
132 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
133 '../../ipc/ipc.gyp:ipc',
136 'input_state_lookup.cc',
141 '../ozone/ozone.gyp:ozone',
147 'target_name': 'aura_test_support',
148 'type': 'static_library',
150 '../../skia/skia.gyp:skia',
151 '../../testing/gtest.gyp:gtest',
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',
159 '../ui_unittests.gyp:ui_test_support',
166 'test/aura_test_base.cc',
167 'test/aura_test_base.h',
168 'test/aura_test_helper.cc',
169 'test/aura_test_helper.h',
170 'test/env_test_helper.h',
171 'test/event_generator.cc',
172 'test/event_generator.h',
173 'test/test_cursor_client.cc',
174 'test/test_cursor_client.h',
175 'test/test_event_handler.cc',
176 'test/test_event_handler.h',
177 'test/test_focus_client.cc',
178 'test/test_focus_client.h',
179 'test/test_screen.cc',
180 'test/test_screen.h',
181 'test/test_window_tree_client.cc',
182 'test/test_window_tree_client.h',
183 'test/test_windows.cc',
184 'test/test_windows.h',
185 'test/test_window_delegate.cc',
186 'test/test_window_delegate.h',
187 'test/ui_controls_factory_aura.h',
188 'test/ui_controls_factory_aurawin.cc',
189 'test/ui_controls_factory_aurax11.cc',
190 'test/window_test_api.cc',
191 'test/window_test_api.h',
193 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
194 'msvs_disabled_warnings': [ 4267, ],
197 'target_name': 'aura_demo',
198 'type': 'executable',
200 '../../base/base.gyp:base',
201 '../../base/base.gyp:base_i18n',
202 '../../skia/skia.gyp:skia',
203 '../../third_party/icu/icu.gyp:icui18n',
204 '../../third_party/icu/icu.gyp:icuuc',
205 '../compositor/compositor.gyp:compositor',
206 '../compositor/compositor.gyp:compositor_test_support',
207 '../events/events.gyp:events',
208 '../gfx/gfx.gyp:gfx',
209 '../gfx/gfx.gyp:gfx_geometry',
222 'target_name': 'aura_bench',
223 'type': 'executable',
225 '../../base/base.gyp:base',
226 '../../base/base.gyp:base_i18n',
227 '../../cc/cc.gyp:cc',
228 '../../skia/skia.gyp:skia',
229 '../../third_party/icu/icu.gyp:icui18n',
230 '../../third_party/icu/icu.gyp:icuuc',
231 '../compositor/compositor.gyp:compositor',
232 '../compositor/compositor.gyp:compositor_test_support',
233 '../events/events.gyp:events',
234 '../gfx/gfx.gyp:gfx',
235 '../gfx/gfx.gyp:gfx_geometry',
244 'bench/bench_main.cc',
248 'target_name': 'aura_unittests',
249 'type': 'executable',
251 '../../base/base.gyp:test_support_base',
252 '../../skia/skia.gyp:skia',
253 '../../testing/gtest.gyp:gtest',
254 '../compositor/compositor.gyp:compositor',
255 '../compositor/compositor.gyp:compositor_test_support',
256 '../events/events.gyp:events',
257 '../events/events.gyp:events_base',
258 '../gfx/gfx.gyp:gfx',
259 '../gfx/gfx.gyp:gfx_geometry',
262 '../ui_unittests.gyp:ui_test_support',
270 'gestures/gesture_recognizer_unittest.cc',
271 'root_window_host_x11_unittest.cc',
272 'root_window_unittest.cc',
273 'test/run_all_unittests.cc',
274 'window_targeter_unittest.cc',
275 'window_unittest.cc',
278 # osmesa GL implementation is used on linux.
281 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
284 ['OS=="linux" and linux_use_tcmalloc==1', {
286 # See http://crbug.com/162998#c4 for why this is needed.
287 '../../base/allocator/allocator.gyp:allocator',