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',
22 '../events/events.gyp:events_base',
24 '../resources/ui_resources.gyp:ui_resources',
28 'AURA_IMPLEMENTATION',
31 'client/activation_change_observer.h',
32 'client/activation_change_observer.cc',
33 'client/activation_client.cc',
34 'client/activation_client.h',
35 'client/activation_delegate.cc',
36 'client/activation_delegate.h',
37 'client/animation_host.cc',
38 'client/animation_host.h',
39 'client/aura_constants.cc',
40 'client/aura_constants.h',
41 'client/capture_client.cc',
42 'client/capture_client.h',
43 'client/capture_delegate.h',
44 'client/cursor_client.cc',
45 'client/cursor_client.h',
46 'client/cursor_client_observer.h',
47 'client/cursor_client_observer.cc',
48 'client/default_activation_client.cc',
49 'client/default_activation_client.h',
50 'client/default_capture_client.cc',
51 'client/default_capture_client.h',
52 'client/dispatcher_client.cc',
53 'client/dispatcher_client.h',
54 'client/drag_drop_client.cc',
55 'client/drag_drop_client.h',
56 'client/drag_drop_delegate.cc',
57 'client/drag_drop_delegate.h',
58 'client/event_client.cc',
59 'client/event_client.h',
60 'client/focus_change_observer.cc',
61 'client/focus_change_observer.h',
62 'client/focus_client.cc',
63 'client/focus_client.h',
64 'client/screen_position_client.cc',
65 'client/screen_position_client.h',
66 'client/tooltip_client.cc',
67 'client/tooltip_client.h',
68 'client/user_action_client.cc',
69 'client/user_action_client.h',
70 'client/visibility_client.cc',
71 'client/visibility_client.h',
72 'client/window_move_client.cc',
73 'client/window_move_client.h',
74 'client/window_tree_client.cc',
75 'client/window_tree_client.h',
76 'client/window_types.h',
77 'device_list_updater_aurax11.cc',
78 'device_list_updater_aurax11.h',
83 'input_state_lookup.cc',
84 'input_state_lookup.h',
85 'input_state_lookup_win.cc',
86 'input_state_lookup_win.h',
89 'remote_root_window_host_win.cc',
90 'remote_root_window_host_win.h',
91 'root_window_host_ozone.cc',
92 'root_window_host_ozone.h',
93 'root_window_host_win.cc',
94 'root_window_host_win.h',
95 'root_window_host_x11.cc',
96 'root_window_host_x11.h',
97 'root_window_transformer.h',
106 'window_tree_host.cc',
107 'window_tree_host.h',
108 'window_tree_host_delegate.h',
123 '../metro_viewer/metro_viewer.gyp:metro_viewer_messages',
124 '../../ipc/ipc.gyp:ipc',
127 'input_state_lookup.cc',
132 '../ozone/ozone.gyp:ozone',
138 'target_name': 'aura_test_support',
139 'type': 'static_library',
141 '../../skia/skia.gyp:skia',
142 '../../testing/gtest.gyp:gtest',
143 '../compositor/compositor.gyp:compositor_test_support',
144 '../events/events.gyp:events',
145 '../events/events.gyp:events_base',
146 '../gfx/gfx.gyp:gfx',
148 '../ui_unittests.gyp:ui_test_support',
150 'aura_test_support_pak',
156 'test/aura_test_base.cc',
157 'test/aura_test_base.h',
158 'test/aura_test_helper.cc',
159 'test/aura_test_helper.h',
160 'test/env_test_helper.h',
161 'test/event_generator.cc',
162 'test/event_generator.h',
163 'test/test_aura_initializer.cc',
164 'test/test_aura_initializer.h',
165 'test/test_cursor_client.cc',
166 'test/test_cursor_client.h',
167 'test/test_event_handler.cc',
168 'test/test_event_handler.h',
169 'test/test_focus_client.cc',
170 'test/test_focus_client.h',
171 'test/test_screen.cc',
172 'test/test_screen.h',
173 'test/test_window_tree_client.cc',
174 'test/test_window_tree_client.h',
175 'test/test_windows.cc',
176 'test/test_windows.h',
177 'test/test_window_delegate.cc',
178 'test/test_window_delegate.h',
179 'test/ui_controls_factory_aura.h',
180 'test/ui_controls_factory_aurawin.cc',
181 'test/ui_controls_factory_aurax11.cc',
182 'test/window_test_api.cc',
183 'test/window_test_api.h',
185 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
186 'msvs_disabled_warnings': [ 4267, ],
189 # We build a minimal set of resources required for aura_test_support.
190 'target_name': 'aura_test_support_pak',
193 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings',
194 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
197 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
201 'action_name': 'repack_aura_test_support_pack',
204 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_settings_en-US.pak',
205 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
213 '<(PRODUCT_DIR)/aura_test_support_resources.pak',
215 'action': ['python', '<(repack_path)', '<@(_outputs)',
221 'target_name': 'aura_demo',
222 'type': 'executable',
224 '../../base/base.gyp:base',
225 '../../base/base.gyp:base_i18n',
226 '../../skia/skia.gyp:skia',
227 '../../third_party/icu/icu.gyp:icui18n',
228 '../../third_party/icu/icu.gyp:icuuc',
229 '../compositor/compositor.gyp:compositor',
230 '../compositor/compositor.gyp:compositor_test_support',
231 '../events/events.gyp:events',
232 '../gfx/gfx.gyp:gfx',
233 '../resources/ui_resources.gyp:ui_resources',
246 'target_name': 'aura_bench',
247 'type': 'executable',
249 '../../base/base.gyp:base',
250 '../../base/base.gyp:base_i18n',
251 '../../skia/skia.gyp:skia',
252 '../../third_party/icu/icu.gyp:icui18n',
253 '../../third_party/icu/icu.gyp:icuuc',
254 '../compositor/compositor.gyp:compositor',
255 '../compositor/compositor.gyp:compositor_test_support',
256 '../events/events.gyp:events',
257 '../gfx/gfx.gyp:gfx',
258 '../resources/ui_resources.gyp:ui_resources',
267 'bench/bench_main.cc',
271 'target_name': 'aura_unittests',
272 'type': 'executable',
274 '../../base/base.gyp:test_support_base',
275 '../../chrome/chrome_resources.gyp:packed_resources',
276 '../../skia/skia.gyp:skia',
277 '../../testing/gtest.gyp:gtest',
278 '../compositor/compositor.gyp:compositor',
279 '../compositor/compositor.gyp:compositor_test_support',
280 '../events/events.gyp:events',
281 '../events/events.gyp:events_base',
282 '../gfx/gfx.gyp:gfx',
284 '../resources/ui_resources.gyp:ui_resources',
286 '../ui_unittests.gyp:ui_test_support',
294 'gestures/gesture_recognizer_unittest.cc',
295 'root_window_host_x11_unittest.cc',
296 'root_window_unittest.cc',
297 'test/run_all_unittests.cc',
298 'test/test_suite.cc',
300 'window_unittest.cc',
303 # osmesa GL implementation is used on linux.
306 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
309 ['OS=="linux" and linux_use_tcmalloc==1', {
311 # See http://crbug.com/162998#c4 for why this is needed.
312 '../../base/allocator/allocator.gyp:allocator',