blob: a911108b6a712f2c7568a8e76bc8e12571b45154 [file] [log] [blame]
[email protected]5eae7162012-01-04 00:31:021# Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]2a48ad62011-12-24 00:19:292# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6 'variables': {
7 'chromium_code': 1,
8 },
9
10 'targets': [
11 {
12 'target_name': 'ash',
13 'type': '<(component)',
14 'dependencies': [
15 '../base/base.gyp:base',
16 '../base/base.gyp:base_i18n',
17 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
18 '../build/temp_gyp/googleurl.gyp:googleurl',
19 '../net/net.gyp:net',
20 '../skia/skia.gyp:skia',
21 '../third_party/icu/icu.gyp:icui18n',
22 '../third_party/icu/icu.gyp:icuuc',
23 '../ui/aura/aura.gyp:aura',
24 '../ui/base/strings/ui_strings.gyp:ui_strings',
25 '../ui/gfx/compositor/compositor.gyp:compositor',
26 '../ui/ui.gyp:ui',
27 '../ui/ui.gyp:ui_resources',
28 '../ui/ui.gyp:ui_resources_standard',
29 '../ui/views/views.gyp:views',
30 ],
31 'defines': [
32 'ASH_IMPLEMENTATION',
33 ],
34 'sources': [
35 # All .cc, .h under ash, except unittests
36 'accelerators/accelerator_controller.cc',
37 'accelerators/accelerator_controller.h',
38 'accelerators/accelerator_filter.cc',
39 'accelerators/accelerator_filter.h',
40 'app_list/app_list.cc',
41 'app_list/app_list.h',
42 'app_list/app_list_groups_view.cc',
43 'app_list/app_list_groups_view.h',
44 'app_list/app_list_item_group_model.cc',
45 'app_list/app_list_item_group_model.h',
46 'app_list/app_list_item_group_view.cc',
47 'app_list/app_list_item_group_view.h',
48 'app_list/app_list_item_model.cc',
49 'app_list/app_list_item_model.h',
50 'app_list/app_list_item_model_observer.h',
51 'app_list/app_list_item_view.cc',
52 'app_list/app_list_item_view.h',
53 'app_list/app_list_item_view_listener.h',
54 'app_list/app_list_model.cc',
55 'app_list/app_list_model.h',
56 'app_list/app_list_view.cc',
57 'app_list/app_list_view.h',
58 'app_list/app_list_view_delegate.h',
59 'app_list/drop_shadow_label.cc',
60 'app_list/drop_shadow_label.h',
61 'ash_switches.cc',
62 'ash_switches.h',
[email protected]fb9a35592012-01-18 04:12:1463 'caps_lock_delegate.h',
[email protected]2a48ad62011-12-24 00:19:2964 'desktop_background/desktop_background_view.cc',
65 'desktop_background/desktop_background_view.h',
66 'drag_drop/drag_drop_controller.cc',
67 'drag_drop/drag_drop_controller.h',
68 'drag_drop/drag_image_view.cc',
69 'drag_drop/drag_image_view.h',
[email protected]2c456102011-12-26 06:26:3470 'ime/event.cc',
71 'ime/event.h',
72 'ime/input_method_event_filter.cc',
73 'ime/input_method_event_filter.h',
[email protected]2a48ad62011-12-24 00:19:2974 'launcher/app_launcher_button.cc',
75 'launcher/app_launcher_button.h',
76 'launcher/launcher.cc',
77 'launcher/launcher.h',
78 'launcher/launcher_model.cc',
79 'launcher/launcher_model.h',
80 'launcher/launcher_model_observer.h',
[email protected]cd808102012-01-12 02:42:2181 'launcher/launcher_types.cc',
[email protected]2a48ad62011-12-24 00:19:2982 'launcher/launcher_types.h',
83 'launcher/launcher_view.cc',
84 'launcher/launcher_view.h',
85 'launcher/tabbed_launcher_button.cc',
86 'launcher/tabbed_launcher_button.h',
87 'launcher/view_model.cc',
88 'launcher/view_model.h',
89 'launcher/view_model_utils.cc',
90 'launcher/view_model_utils.h',
91 'shell.cc',
92 'shell.h',
93 'shell_delegate.h',
94 'shell_factory.h',
95 'shell_window_ids.h',
96 'status_area/status_area_view.cc',
97 'status_area/status_area_view.h',
98 'tooltips/tooltip_controller.cc',
99 'tooltips/tooltip_controller.h',
100 'wm/activation_controller.cc',
101 'wm/activation_controller.h',
102 'wm/always_on_top_controller.cc',
103 'wm/always_on_top_controller.h',
[email protected]2a48ad62011-12-24 00:19:29104 'wm/compact_status_area_layout_manager.cc',
105 'wm/compact_status_area_layout_manager.h',
106 'wm/default_container_event_filter.cc',
107 'wm/default_container_event_filter.h',
108 'wm/default_container_layout_manager.cc',
109 'wm/default_container_layout_manager.h',
[email protected]57b8bb352012-01-11 05:11:46110 'wm/dialog_frame_view.cc',
111 'wm/dialog_frame_view.h',
[email protected]2a48ad62011-12-24 00:19:29112 'wm/image_grid.cc',
113 'wm/image_grid.h',
114 'wm/modal_container_layout_manager.cc',
115 'wm/modal_container_layout_manager.h',
116 'wm/modality_event_filter.cc',
117 'wm/modality_event_filter.h',
118 'wm/modality_event_filter_delegate.h',
[email protected]e0d22e82012-01-04 00:46:57119 'wm/power_button_controller.cc',
120 'wm/power_button_controller.h',
[email protected]2a48ad62011-12-24 00:19:29121 'wm/property_util.cc',
122 'wm/property_util.h',
123 'wm/root_window_event_filter.cc',
124 'wm/root_window_event_filter.h',
125 'wm/root_window_layout_manager.cc',
126 'wm/root_window_layout_manager.h',
127 'wm/shadow.cc',
128 'wm/shadow.h',
129 'wm/shadow_controller.cc',
130 'wm/shadow_controller.h',
131 'wm/shadow_types.cc',
132 'wm/shadow_types.h',
133 'wm/shelf_layout_manager.cc',
134 'wm/shelf_layout_manager.h',
135 'wm/show_state_controller.h',
136 'wm/show_state_controller.cc',
137 'wm/stacking_controller.cc',
138 'wm/stacking_controller.h',
139 'wm/status_area_layout_manager.cc',
140 'wm/status_area_layout_manager.h',
141 'wm/toplevel_frame_view.cc',
142 'wm/toplevel_frame_view.h',
143 'wm/toplevel_layout_manager.cc',
144 'wm/toplevel_layout_manager.h',
145 'wm/toplevel_window_event_filter.cc',
146 'wm/toplevel_window_event_filter.h',
[email protected]40c4cbb2012-01-10 23:26:07147 'wm/window_cycle_controller.cc',
148 'wm/window_cycle_controller.h',
[email protected]2a48ad62011-12-24 00:19:29149 'wm/window_frame.cc',
150 'wm/window_frame.h',
[email protected]80373572012-01-06 23:14:30151 'wm/window_modality_controller.cc',
152 'wm/window_modality_controller.h',
[email protected]2a48ad62011-12-24 00:19:29153 'wm/window_properties.cc',
154 'wm/window_properties.h',
155 'wm/window_util.cc',
156 'wm/window_util.h',
157 'wm/workspace_controller.cc',
158 'wm/workspace_controller.h',
159 'wm/workspace/workspace.cc',
160 'wm/workspace/workspace.h',
161 'wm/workspace/workspace_manager.cc',
162 'wm/workspace/workspace_manager.h',
163 'wm/workspace/workspace_observer.h',
164 ],
165 },
166 {
167 'target_name': 'aura_shell_unittests',
168 'type': 'executable',
169 'dependencies': [
170 '../base/base.gyp:base',
171 '../base/base.gyp:test_support_base',
172 '../chrome/chrome_resources.gyp:packed_resources',
173 '../build/temp_gyp/googleurl.gyp:googleurl',
174 '../skia/skia.gyp:skia',
175 '../testing/gtest.gyp:gtest',
176 '../third_party/icu/icu.gyp:icui18n',
177 '../third_party/icu/icu.gyp:icuuc',
178 '../ui/aura/aura.gyp:aura',
179 '../ui/aura/aura.gyp:test_support_aura',
180 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
181 '../ui/ui.gyp:gfx_resources',
182 '../ui/ui.gyp:ui',
183 '../ui/ui.gyp:ui_resources',
184 '../ui/ui.gyp:ui_resources_standard',
185 '../ui/views/views.gyp:views',
186 'ash',
187 ],
188 'sources': [
[email protected]5eae7162012-01-04 00:31:02189 '../ui/views/test/test_views_delegate.cc',
190 '../ui/views/test/test_views_delegate.h',
[email protected]2a48ad62011-12-24 00:19:29191 'accelerators/accelerator_controller_unittest.cc',
192 'drag_drop/drag_drop_controller_unittest.cc',
[email protected]2c456102011-12-26 06:26:34193 'ime/input_method_event_filter_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29194 'launcher/launcher_model_unittest.cc',
195 'launcher/launcher_unittest.cc',
196 'launcher/view_model_unittest.cc',
197 'launcher/view_model_utils_unittest.cc',
198 'shell_unittest.cc',
199 'test/ash_unittests.cc',
200 'test/aura_shell_test_base.cc',
201 'test/aura_shell_test_base.h',
202 'test/test_activation_delegate.cc',
203 'test/test_activation_delegate.h',
204 'test/test_shell_delegate.cc',
205 'test/test_shell_delegate.h',
206 'test/test_suite.cc',
207 'test/test_suite.h',
208 'tooltips/tooltip_controller_unittest.cc',
209 'wm/activation_controller_unittest.cc',
210 'wm/default_container_layout_manager_unittest.cc',
211 'wm/image_grid_unittest.cc',
212 'wm/modal_container_layout_manager_unittest.cc',
[email protected]e0d22e82012-01-04 00:46:57213 'wm/power_button_controller_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29214 'wm/root_window_event_filter_unittest.cc',
215 'wm/shadow_controller_unittest.cc',
216 'wm/shelf_layout_manager_unittest.cc',
217 'wm/toplevel_layout_manager_unittest.cc',
218 'wm/toplevel_window_event_filter_unittest.cc',
[email protected]40c4cbb2012-01-10 23:26:07219 'wm/window_cycle_controller_unittest.cc',
[email protected]80373572012-01-06 23:14:30220 'wm/window_modality_controller_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29221 'wm/workspace_controller_unittest.cc',
222 'wm/workspace/workspace_manager_unittest.cc',
223
224 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
225 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
226 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
227 ],
228 'conditions': [
229 ['use_webkit_compositor==1', {
230 'dependencies': [
231 '../ui/gfx/compositor/compositor.gyp:compositor',
232 ],
233 }, { # use_webkit_compositor!=1
234 'dependencies': [
235 '../ui/gfx/compositor/compositor.gyp:test_compositor',
236 ],
237 }],
[email protected]2c456102011-12-26 06:26:34238 ['use_ibus==1', {
239 'dependencies': [
240 '../build/linux/system.gyp:ibus',
241 ],
242 }],
[email protected]2a48ad62011-12-24 00:19:29243 ],
244 },
245 {
246 'target_name': 'ash_shell',
247 'type': 'executable',
248 'dependencies': [
249 '../base/base.gyp:base',
250 '../base/base.gyp:base_i18n',
251 '../chrome/chrome_resources.gyp:packed_resources',
252 '../skia/skia.gyp:skia',
253 '../third_party/icu/icu.gyp:icui18n',
254 '../third_party/icu/icu.gyp:icuuc',
255 '../ui/aura/aura.gyp:aura',
256 '../ui/gfx/compositor/compositor.gyp:compositor',
257 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
258 '../ui/ui.gyp:gfx_resources',
259 '../ui/ui.gyp:ui',
260 '../ui/ui.gyp:ui_resources',
261 '../ui/ui.gyp:ui_resources_standard',
262 '../ui/views/views.gyp:views',
263 '../ui/views/views.gyp:views_examples_lib',
264 'ash',
265 ],
266 'sources': [
267 'shell/app_list.cc',
268 'shell/bubble.cc',
269 'shell/example_factory.h',
270 'shell/lock_view.cc',
271 'shell/shell_main.cc',
[email protected]b72dfb242012-01-18 00:04:18272 'shell/shell_main_parts.h',
273 'shell/shell_main_parts.cc',
274 'shell/shell_main_parts_mac.mm',
[email protected]2a48ad62011-12-24 00:19:29275 'shell/toplevel_window.cc',
276 'shell/toplevel_window.h',
277 'shell/widgets.cc',
278 'shell/window_type_launcher.cc',
279 'shell/window_type_launcher.h',
280 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
281 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
282 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
283 '../ui/views/test/test_views_delegate.cc',
284 ],
285 },
286 ],
287}