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',
86 'input_state_lookup.cc',
87 'input_state_lookup.h',
88 'input_state_lookup_win.cc',
89 'input_state_lookup_win.h',
92 'remote_window_tree_host_win.cc',
93 'remote_window_tree_host_win.h',
94 'window_tree_host_mac.mm',
95 'window_tree_host_mac.h',
96 'window_tree_host_ozone.cc',
97 'window_tree_host_ozone.h',
98 'window_tree_host_win.cc',
99 'window_tree_host_win.h',
100 'window_tree_host_x11.cc',
101 'window_tree_host_x11.h',
102 'root_window_transformer.h',
105 'scoped_window_targeter.cc',
106 'scoped_window_targeter.h',
109 'window_targeter.cc',
112 'window_layer_type.h',
116 'window_tree_host.cc',
117 'window_tree_host.h',
118 'window_tree_host_delegate.h',
123 '../../build/linux/system.gyp:x11',
124 '../../build/linux/system.gyp:xfixes',
125 '../../build/linux/system.gyp:xrandr',
126 '../../build/linux/system.gyp:xi',
131 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
132 '../../ipc/ipc.gyp:ipc',
135 'input_state_lookup.cc',
140 '../ozone/ozone.gyp:ozone',
146 'target_name': 'aura_test_support',
147 'type': 'static_library',
149 '../../skia/skia.gyp:skia',
150 '../../testing/gtest.gyp:gtest',
151 '../compositor/compositor.gyp:compositor_test_support',
152 '../events/events.gyp:events',
153 '../events/events.gyp:events_base',
154 '../events/events.gyp:events_test_support',
155 '../gfx/gfx.gyp:gfx',
156 '../gfx/gfx.gyp:gfx_geometry',
158 '../ui_unittests.gyp:ui_test_support',
165 'test/aura_test_base.cc',
166 'test/aura_test_base.h',
167 'test/aura_test_helper.cc',
168 'test/aura_test_helper.h',
169 'test/env_test_helper.h',
170 'test/event_generator.cc',
171 'test/event_generator.h',
172 'test/test_cursor_client.cc',
173 'test/test_cursor_client.h',
174 'test/test_event_handler.cc',
175 'test/test_event_handler.h',
176 'test/test_focus_client.cc',
177 'test/test_focus_client.h',
178 'test/test_screen.cc',
179 'test/test_screen.h',
180 'test/test_window_tree_client.cc',
181 'test/test_window_tree_client.h',
182 'test/test_windows.cc',
183 'test/test_windows.h',
184 'test/test_window_delegate.cc',
185 'test/test_window_delegate.h',
186 'test/ui_controls_factory_aura.h',
187 'test/ui_controls_factory_aurawin.cc',
188 'test/ui_controls_factory_aurax11.cc',
189 'test/window_test_api.cc',
190 'test/window_test_api.h',
192 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
193 'msvs_disabled_warnings': [ 4267, ],
196 'target_name': 'aura_demo',
197 'type': 'executable',
199 '../../base/base.gyp:base',
200 '../../base/base.gyp:base_i18n',
201 '../../skia/skia.gyp:skia',
202 '../../third_party/icu/icu.gyp:icui18n',
203 '../../third_party/icu/icu.gyp:icuuc',
204 '../compositor/compositor.gyp:compositor',
205 '../compositor/compositor.gyp:compositor_test_support',
206 '../events/events.gyp:events',
207 '../gfx/gfx.gyp:gfx',
208 '../gfx/gfx.gyp:gfx_geometry',
221 'target_name': 'aura_bench',
222 'type': 'executable',
224 '../../base/base.gyp:base',
225 '../../base/base.gyp:base_i18n',
226 '../../cc/cc.gyp:cc',
227 '../../skia/skia.gyp:skia',
228 '../../third_party/icu/icu.gyp:icui18n',
229 '../../third_party/icu/icu.gyp:icuuc',
230 '../compositor/compositor.gyp:compositor',
231 '../compositor/compositor.gyp:compositor_test_support',
232 '../events/events.gyp:events',
233 '../gfx/gfx.gyp:gfx',
234 '../gfx/gfx.gyp:gfx_geometry',
243 'bench/bench_main.cc',
247 'target_name': 'aura_unittests',
248 'type': 'executable',
250 '../../base/base.gyp:test_support_base',
251 '../../skia/skia.gyp:skia',
252 '../../testing/gtest.gyp:gtest',
253 '../compositor/compositor.gyp:compositor',
254 '../compositor/compositor.gyp:compositor_test_support',
255 '../events/events.gyp:events',
256 '../events/events.gyp:events_base',
257 '../gfx/gfx.gyp:gfx',
258 '../gfx/gfx.gyp:gfx_geometry',
261 '../ui_unittests.gyp:ui_test_support',
269 'gestures/gesture_recognizer_unittest.cc',
270 'window_tree_host_x11_unittest.cc',
271 'root_window_unittest.cc',
272 'test/run_all_unittests.cc',
273 'window_targeter_unittest.cc',
274 'window_unittest.cc',
277 # osmesa GL implementation is used on linux.
280 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
283 ['OS=="linux" and linux_use_tcmalloc==1', {
285 # See http://crbug.com/162998#c4 for why this is needed.
286 '../../base/allocator/allocator.gyp:allocator',