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 '../compositor/compositor.gyp:compositor',
20 '../ui.gyp:ui_resources',
23 'AURA_IMPLEMENTATION',
26 'client/activation_change_observer.h',
27 'client/activation_change_observer.cc',
28 'client/activation_client.cc',
29 'client/activation_client.h',
30 'client/activation_delegate.cc',
31 'client/activation_delegate.h',
32 'client/animation_host.cc',
33 'client/animation_host.h',
34 'client/aura_constants.cc',
35 'client/aura_constants.h',
36 'client/capture_client.cc',
37 'client/capture_client.h',
38 'client/capture_delegate.h',
39 'client/cursor_client.cc',
40 'client/cursor_client.h',
41 'client/default_capture_client.cc',
42 'client/default_capture_client.h',
43 'client/dispatcher_client.cc',
44 'client/dispatcher_client.h',
45 'client/drag_drop_client.cc',
46 'client/drag_drop_client.h',
47 'client/drag_drop_delegate.cc',
48 'client/drag_drop_delegate.h',
49 'client/event_client.cc',
50 'client/event_client.h',
51 'client/focus_change_observer.cc',
52 'client/focus_change_observer.h',
53 'client/focus_client.cc',
54 'client/focus_client.h',
55 'client/screen_position_client.cc',
56 'client/screen_position_client.h',
57 'client/stacking_client.cc',
58 'client/stacking_client.h',
59 'client/tooltip_client.cc',
60 'client/tooltip_client.h',
61 'client/user_action_client.cc',
62 'client/user_action_client.h',
63 'client/visibility_client.cc',
64 'client/visibility_client.h',
65 'client/window_move_client.cc',
66 'client/window_move_client.h',
67 'client/window_types.h',
68 'device_list_updater_aurax11.cc',
69 'device_list_updater_aurax11.h',
78 'remote_root_window_host_win.cc',
79 'remote_root_window_host_win.h',
81 'root_window_host_delegate.h',
82 'root_window_host_mac.h',
83 'root_window_host_mac.mm',
84 'root_window_host_win.cc',
85 'root_window_host_win.h',
86 'root_window_host_x11.cc',
87 'root_window_host_x11.h',
90 'root_window_transformer.h',
91 'root_window_view_mac.h',
92 'root_window_view_mac.mm',
98 'window_destruction_observer.cc',
99 'window_destruction_observer.h',
107 ['exclude', 'client/dispatcher_client.cc'],
108 ['exclude', 'client/dispatcher_client.h'],
123 '../metro_viewer/metro_viewer.gyp:metro_viewer',
124 '../../ipc/ipc.gyp:ipc',
130 'target_name': 'aura_test_support',
131 'type': 'static_library',
133 '../../skia/skia.gyp:skia',
134 '../../testing/gtest.gyp:gtest',
136 '../ui.gyp:ui_test_support',
138 'aura_test_support_pak',
144 'test/aura_test_base.cc',
145 'test/aura_test_base.h',
146 'test/aura_test_helper.cc',
147 'test/aura_test_helper.h',
148 'test/event_generator.cc',
149 'test/event_generator.h',
150 'test/test_activation_client.cc',
151 'test/test_activation_client.h',
152 'test/test_aura_initializer.cc',
153 'test/test_aura_initializer.h',
154 'test/test_event_handler.cc',
155 'test/test_event_handler.h',
156 'test/test_screen.cc',
157 'test/test_screen.h',
158 'test/test_stacking_client.cc',
159 'test/test_stacking_client.h',
160 'test/test_windows.cc',
161 'test/test_windows.h',
162 'test/test_window_delegate.cc',
163 'test/test_window_delegate.h',
164 'test/window_test_api.cc',
165 'test/window_test_api.h',
167 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
168 'msvs_disabled_warnings': [ 4267, ],
171 # We build a minimal set of resources required for aura_test_support.
172 'target_name': 'aura_test_support_pak',
175 '<(DEPTH)/ui/ui.gyp:ui_resources',
178 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
182 'action_name': 'repack_aura_test_support_pack',
185 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
193 '<(PRODUCT_DIR)/aura_test_support_resources.pak',
195 'action': ['python', '<(repack_path)', '<@(_outputs)',
201 'target_name': 'aura_demo',
202 'type': 'executable',
204 '../../base/base.gyp:base',
205 '../../base/base.gyp:base_i18n',
206 '../../skia/skia.gyp:skia',
207 '../../third_party/icu/icu.gyp:icui18n',
208 '../../third_party/icu/icu.gyp:icuuc',
209 '../compositor/compositor.gyp:compositor',
210 '../compositor/compositor.gyp:compositor_test_support',
212 '../ui.gyp:ui_resources',
213 '../../ipc/ipc.gyp:ipc',
225 'target_name': 'aura_bench',
226 'type': 'executable',
228 '../../base/base.gyp:base',
229 '../../base/base.gyp:base_i18n',
230 '../../skia/skia.gyp:skia',
231 '../../third_party/icu/icu.gyp:icui18n',
232 '../../third_party/icu/icu.gyp:icuuc',
233 '../compositor/compositor.gyp:compositor',
234 '../compositor/compositor.gyp:compositor_test_support',
236 '../ui.gyp:ui_resources',
244 'bench/bench_main.cc',
248 'target_name': 'aura_unittests',
249 'type': 'executable',
251 '../../base/base.gyp:test_support_base',
252 '../../chrome/chrome_resources.gyp:packed_resources',
253 '../../skia/skia.gyp:skia',
254 '../../testing/gtest.gyp:gtest',
255 '../compositor/compositor.gyp:compositor_test_support',
256 '../compositor/compositor.gyp:compositor',
259 '../ui.gyp:ui_resources',
260 '../ui.gyp:ui_test_support',
268 'gestures/gesture_recognizer_unittest.cc',
269 'test/run_all_unittests.cc',
270 'test/test_suite.cc',
272 'root_window_unittest.cc',
273 'window_unittest.cc',
276 # osmesa GL implementation is used on linux.
279 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',