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',
18 '../../gpu/gpu.gyp:gpu',
19 '../../skia/skia.gyp:skia',
20 '../compositor/compositor.gyp:compositor',
21 '../events/events.gyp:events',
24 '../ui.gyp:ui_resources',
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/screen_position_client.cc',
64 'client/screen_position_client.h',
65 'client/tooltip_client.cc',
66 'client/tooltip_client.h',
67 'client/user_action_client.cc',
68 'client/user_action_client.h',
69 'client/visibility_client.cc',
70 'client/visibility_client.h',
71 'client/window_move_client.cc',
72 'client/window_move_client.h',
73 'client/window_tree_client.cc',
74 'client/window_tree_client.h',
75 'client/window_types.h',
76 'device_list_updater_aurax11.cc',
77 'device_list_updater_aurax11.h',
82 'input_state_lookup.cc',
83 'input_state_lookup.h',
84 'input_state_lookup_win.cc',
85 'input_state_lookup_win.h',
88 'remote_root_window_host_win.cc',
89 'remote_root_window_host_win.h',
91 'root_window_host_delegate.h',
92 'root_window_host_ozone.cc',
93 'root_window_host_ozone.h',
94 'root_window_host_win.cc',
95 'root_window_host_win.h',
96 'root_window_host_x11.cc',
97 'root_window_host_x11.h',
98 'root_window_transformer.h',
121 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
122 '../../ipc/ipc.gyp:ipc',
125 'input_state_lookup.cc',
130 '../ozone/ozone.gyp:ozone',
136 'target_name': 'aura_test_support',
137 'type': 'static_library',
139 '../../skia/skia.gyp:skia',
140 '../../testing/gtest.gyp:gtest',
141 '../compositor/compositor.gyp:compositor_test_support',
142 '../events/events.gyp:events',
143 '../gfx/gfx.gyp:gfx',
145 '../ui_unittests.gyp:ui_test_support',
147 'aura_test_support_pak',
153 'test/aura_test_base.cc',
154 'test/aura_test_base.h',
155 'test/aura_test_helper.cc',
156 'test/aura_test_helper.h',
157 'test/env_test_helper.h',
158 'test/event_generator.cc',
159 'test/event_generator.h',
160 'test/test_aura_initializer.cc',
161 'test/test_aura_initializer.h',
162 'test/test_cursor_client.cc',
163 'test/test_cursor_client.h',
164 'test/test_event_handler.cc',
165 'test/test_event_handler.h',
166 'test/test_focus_client.cc',
167 'test/test_focus_client.h',
168 'test/test_screen.cc',
169 'test/test_screen.h',
170 'test/test_window_tree_client.cc',
171 'test/test_window_tree_client.h',
172 'test/test_windows.cc',
173 'test/test_windows.h',
174 'test/test_window_delegate.cc',
175 'test/test_window_delegate.h',
176 'test/ui_controls_factory_aura.h',
177 'test/ui_controls_factory_aurawin.cc',
178 'test/ui_controls_factory_aurax11.cc',
179 'test/window_test_api.cc',
180 'test/window_test_api.h',
182 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
183 'msvs_disabled_warnings': [ 4267, ],
186 # We build a minimal set of resources required for aura_test_support.
187 'target_name': 'aura_test_support_pak',
190 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings',
191 '<(DEPTH)/ui/ui.gyp:ui_resources',
194 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
198 'action_name': 'repack_aura_test_support_pack',
201 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_settings_en-US.pak',
202 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
210 '<(PRODUCT_DIR)/aura_test_support_resources.pak',
212 'action': ['python', '<(repack_path)', '<@(_outputs)',
218 'target_name': 'aura_demo',
219 'type': 'executable',
221 '../../base/base.gyp:base',
222 '../../base/base.gyp:base_i18n',
223 '../../skia/skia.gyp:skia',
224 '../../third_party/icu/icu.gyp:icui18n',
225 '../../third_party/icu/icu.gyp:icuuc',
226 '../compositor/compositor.gyp:compositor',
227 '../compositor/compositor.gyp:compositor_test_support',
228 '../events/events.gyp:events',
229 '../gfx/gfx.gyp:gfx',
231 '../ui.gyp:ui_resources',
232 '../../ipc/ipc.gyp:ipc',
244 'target_name': 'aura_bench',
245 'type': 'executable',
247 '../../base/base.gyp:base',
248 '../../base/base.gyp:base_i18n',
249 '../../skia/skia.gyp:skia',
250 '../../third_party/icu/icu.gyp:icui18n',
251 '../../third_party/icu/icu.gyp:icuuc',
252 '../compositor/compositor.gyp:compositor',
253 '../compositor/compositor.gyp:compositor_test_support',
254 '../events/events.gyp:events',
255 '../gfx/gfx.gyp:gfx',
257 '../ui.gyp:ui_resources',
265 'bench/bench_main.cc',
269 'target_name': 'aura_unittests',
270 'type': 'executable',
272 '../../base/base.gyp:test_support_base',
273 '../../chrome/chrome_resources.gyp:packed_resources',
274 '../../skia/skia.gyp:skia',
275 '../../testing/gtest.gyp:gtest',
276 '../compositor/compositor.gyp:compositor_test_support',
277 '../compositor/compositor.gyp:compositor',
278 '../events/events.gyp:events',
279 '../gfx/gfx.gyp:gfx',
282 '../ui.gyp:ui_resources',
283 '../ui_unittests.gyp:ui_test_support',
291 'gestures/gesture_recognizer_unittest.cc',
292 'test/run_all_unittests.cc',
293 'test/test_suite.cc',
295 'root_window_unittest.cc',
296 'window_unittest.cc',
299 # osmesa GL implementation is used on linux.
302 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
305 ['OS=="linux" and linux_use_tcmalloc==1', {
307 # See http://crbug.com/162998#c4 for why this is needed.
308 '../../base/allocator/allocator.gyp:allocator',