blob: 047598809a10ee332bfe7669672ac5b42c13435b [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,
[email protected]6f637732012-01-19 03:15:348 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
[email protected]2a48ad62011-12-24 00:19:299 },
10
11 'targets': [
12 {
13 'target_name': 'ash',
14 'type': '<(component)',
15 'dependencies': [
16 '../base/base.gyp:base',
17 '../base/base.gyp:base_i18n',
18 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
19 '../build/temp_gyp/googleurl.gyp:googleurl',
20 '../net/net.gyp:net',
21 '../skia/skia.gyp:skia',
22 '../third_party/icu/icu.gyp:icui18n',
23 '../third_party/icu/icu.gyp:icuuc',
24 '../ui/aura/aura.gyp:aura',
25 '../ui/base/strings/ui_strings.gyp:ui_strings',
26 '../ui/gfx/compositor/compositor.gyp:compositor',
27 '../ui/ui.gyp:ui',
28 '../ui/ui.gyp:ui_resources',
29 '../ui/ui.gyp:ui_resources_standard',
30 '../ui/views/views.gyp:views',
31 ],
32 'defines': [
33 'ASH_IMPLEMENTATION',
34 ],
35 'sources': [
36 # All .cc, .h under ash, except unittests
37 'accelerators/accelerator_controller.cc',
38 'accelerators/accelerator_controller.h',
39 'accelerators/accelerator_filter.cc',
40 'accelerators/accelerator_filter.h',
41 'app_list/app_list.cc',
42 'app_list/app_list.h',
43 'app_list/app_list_groups_view.cc',
44 'app_list/app_list_groups_view.h',
45 'app_list/app_list_item_group_model.cc',
46 'app_list/app_list_item_group_model.h',
47 'app_list/app_list_item_group_view.cc',
48 'app_list/app_list_item_group_view.h',
49 'app_list/app_list_item_model.cc',
50 'app_list/app_list_item_model.h',
51 'app_list/app_list_item_model_observer.h',
52 'app_list/app_list_item_view.cc',
53 'app_list/app_list_item_view.h',
54 'app_list/app_list_item_view_listener.h',
55 'app_list/app_list_model.cc',
56 'app_list/app_list_model.h',
57 'app_list/app_list_view.cc',
58 'app_list/app_list_view.h',
59 'app_list/app_list_view_delegate.h',
60 'app_list/drop_shadow_label.cc',
61 'app_list/drop_shadow_label.h',
62 'ash_switches.cc',
63 'ash_switches.h',
[email protected]fb9a35592012-01-18 04:12:1464 'caps_lock_delegate.h',
[email protected]2a48ad62011-12-24 00:19:2965 'desktop_background/desktop_background_view.cc',
66 'desktop_background/desktop_background_view.h',
67 'drag_drop/drag_drop_controller.cc',
68 'drag_drop/drag_drop_controller.h',
69 'drag_drop/drag_image_view.cc',
70 'drag_drop/drag_image_view.h',
[email protected]2c456102011-12-26 06:26:3471 'ime/event.cc',
72 'ime/event.h',
73 'ime/input_method_event_filter.cc',
74 'ime/input_method_event_filter.h',
[email protected]2a48ad62011-12-24 00:19:2975 'launcher/app_launcher_button.cc',
76 'launcher/app_launcher_button.h',
77 'launcher/launcher.cc',
78 'launcher/launcher.h',
79 'launcher/launcher_model.cc',
80 'launcher/launcher_model.h',
81 'launcher/launcher_model_observer.h',
[email protected]cd808102012-01-12 02:42:2182 'launcher/launcher_types.cc',
[email protected]2a48ad62011-12-24 00:19:2983 'launcher/launcher_types.h',
84 'launcher/launcher_view.cc',
85 'launcher/launcher_view.h',
[email protected]194ad1d2012-01-18 18:22:5186 'launcher/launcher_window_cycler.cc',
87 'launcher/launcher_window_cycler.h',
[email protected]2a48ad62011-12-24 00:19:2988 'launcher/tabbed_launcher_button.cc',
89 'launcher/tabbed_launcher_button.h',
90 'launcher/view_model.cc',
91 'launcher/view_model.h',
92 'launcher/view_model_utils.cc',
93 'launcher/view_model_utils.h',
[email protected]c52de6372012-01-18 05:24:5794 'screenshot_delegate.h',
[email protected]2a48ad62011-12-24 00:19:2995 'shell.cc',
96 'shell.h',
97 'shell_delegate.h',
98 'shell_factory.h',
99 'shell_window_ids.h',
100 'status_area/status_area_view.cc',
101 'status_area/status_area_view.h',
102 'tooltips/tooltip_controller.cc',
103 'tooltips/tooltip_controller.h',
104 'wm/activation_controller.cc',
105 'wm/activation_controller.h',
106 'wm/always_on_top_controller.cc',
107 'wm/always_on_top_controller.h',
[email protected]fc7b7442012-01-18 23:57:05108 'wm/base_layout_manager.cc',
109 'wm/base_layout_manager.h',
110 'wm/compact_layout_manager.cc',
111 'wm/compact_layout_manager.h',
[email protected]2a48ad62011-12-24 00:19:29112 'wm/compact_status_area_layout_manager.cc',
113 'wm/compact_status_area_layout_manager.h',
[email protected]57b8bb352012-01-11 05:11:46114 'wm/dialog_frame_view.cc',
115 'wm/dialog_frame_view.h',
[email protected]2a48ad62011-12-24 00:19:29116 'wm/image_grid.cc',
117 'wm/image_grid.h',
[email protected]e871f1a02012-01-18 20:03:46118 'wm/system_modal_container_layout_manager.cc',
119 'wm/system_modal_container_layout_manager.h',
120 'wm/system_modal_container_event_filter.cc',
121 'wm/system_modal_container_event_filter.h',
122 'wm/system_modal_container_event_filter_delegate.h',
[email protected]e0d22e82012-01-04 00:46:57123 'wm/power_button_controller.cc',
124 'wm/power_button_controller.h',
[email protected]2a48ad62011-12-24 00:19:29125 'wm/property_util.cc',
126 'wm/property_util.h',
127 'wm/root_window_event_filter.cc',
128 'wm/root_window_event_filter.h',
129 'wm/root_window_layout_manager.cc',
130 'wm/root_window_layout_manager.h',
131 'wm/shadow.cc',
132 'wm/shadow.h',
133 'wm/shadow_controller.cc',
134 'wm/shadow_controller.h',
135 'wm/shadow_types.cc',
136 'wm/shadow_types.h',
137 'wm/shelf_layout_manager.cc',
138 'wm/shelf_layout_manager.h',
[email protected]2a48ad62011-12-24 00:19:29139 'wm/stacking_controller.cc',
140 'wm/stacking_controller.h',
141 'wm/status_area_layout_manager.cc',
142 'wm/status_area_layout_manager.h',
143 'wm/toplevel_frame_view.cc',
144 'wm/toplevel_frame_view.h',
145 'wm/toplevel_layout_manager.cc',
146 'wm/toplevel_layout_manager.h',
147 'wm/toplevel_window_event_filter.cc',
148 'wm/toplevel_window_event_filter.h',
[email protected]6aa614a2012-01-19 22:13:38149 'wm/video_detector.cc',
150 'wm/video_detector.h',
[email protected]ddd91e92012-01-27 16:03:48151 'wm/visibility_controller.cc',
152 'wm/visibility_controller.h',
[email protected]cad77b32012-01-19 06:23:04153 'wm/window_animations.cc',
[email protected]6aa614a2012-01-19 22:13:38154 'wm/window_animations.h',
[email protected]40c4cbb2012-01-10 23:26:07155 'wm/window_cycle_controller.cc',
156 'wm/window_cycle_controller.h',
[email protected]194ad1d2012-01-18 18:22:51157 'wm/window_cycle_list.cc',
158 'wm/window_cycle_list.h',
[email protected]2a48ad62011-12-24 00:19:29159 'wm/window_frame.cc',
160 'wm/window_frame.h',
[email protected]80373572012-01-06 23:14:30161 'wm/window_modality_controller.cc',
162 'wm/window_modality_controller.h',
[email protected]2a48ad62011-12-24 00:19:29163 'wm/window_properties.cc',
164 'wm/window_properties.h',
165 'wm/window_util.cc',
166 'wm/window_util.h',
167 'wm/workspace_controller.cc',
168 'wm/workspace_controller.h',
169 'wm/workspace/workspace.cc',
170 'wm/workspace/workspace.h',
[email protected]9633a9d22012-01-21 16:40:58171 'wm/workspace/workspace_event_filter.cc',
172 'wm/workspace/workspace_event_filter.h',
173 'wm/workspace/workspace_layout_manager.cc',
174 'wm/workspace/workspace_layout_manager.h',
[email protected]2a48ad62011-12-24 00:19:29175 'wm/workspace/workspace_manager.cc',
176 'wm/workspace/workspace_manager.h',
[email protected]2a48ad62011-12-24 00:19:29177 ],
178 },
179 {
180 'target_name': 'aura_shell_unittests',
181 'type': 'executable',
182 'dependencies': [
183 '../base/base.gyp:base',
184 '../base/base.gyp:test_support_base',
185 '../chrome/chrome_resources.gyp:packed_resources',
186 '../build/temp_gyp/googleurl.gyp:googleurl',
187 '../skia/skia.gyp:skia',
188 '../testing/gtest.gyp:gtest',
189 '../third_party/icu/icu.gyp:icui18n',
190 '../third_party/icu/icu.gyp:icuuc',
191 '../ui/aura/aura.gyp:aura',
192 '../ui/aura/aura.gyp:test_support_aura',
[email protected]578c81b2012-01-27 07:25:02193 '../ui/gfx/compositor/compositor.gyp:compositor',
[email protected]2a48ad62011-12-24 00:19:29194 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
195 '../ui/ui.gyp:gfx_resources',
196 '../ui/ui.gyp:ui',
197 '../ui/ui.gyp:ui_resources',
198 '../ui/ui.gyp:ui_resources_standard',
199 '../ui/views/views.gyp:views',
200 'ash',
201 ],
202 'sources': [
[email protected]5eae7162012-01-04 00:31:02203 '../ui/views/test/test_views_delegate.cc',
204 '../ui/views/test/test_views_delegate.h',
[email protected]2a48ad62011-12-24 00:19:29205 'accelerators/accelerator_controller_unittest.cc',
[email protected]47460f92012-01-21 16:15:13206 'accelerators/accelerator_filter_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29207 'drag_drop/drag_drop_controller_unittest.cc',
[email protected]2c456102011-12-26 06:26:34208 'ime/input_method_event_filter_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29209 'launcher/launcher_model_unittest.cc',
210 'launcher/launcher_unittest.cc',
211 'launcher/view_model_unittest.cc',
212 'launcher/view_model_utils_unittest.cc',
213 'shell_unittest.cc',
214 'test/ash_unittests.cc',
215 'test/aura_shell_test_base.cc',
216 'test/aura_shell_test_base.h',
217 'test/test_activation_delegate.cc',
218 'test/test_activation_delegate.h',
219 'test/test_shell_delegate.cc',
220 'test/test_shell_delegate.h',
221 'test/test_suite.cc',
222 'test/test_suite.h',
223 'tooltips/tooltip_controller_unittest.cc',
224 'wm/activation_controller_unittest.cc',
[email protected]fc7b7442012-01-18 23:57:05225 'wm/base_layout_manager_unittest.cc',
226 'wm/compact_layout_manager_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29227 'wm/image_grid_unittest.cc',
[email protected]e871f1a02012-01-18 20:03:46228 'wm/system_modal_container_layout_manager_unittest.cc',
[email protected]e0d22e82012-01-04 00:46:57229 'wm/power_button_controller_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29230 'wm/root_window_event_filter_unittest.cc',
231 'wm/shadow_controller_unittest.cc',
232 'wm/shelf_layout_manager_unittest.cc',
233 'wm/toplevel_layout_manager_unittest.cc',
234 'wm/toplevel_window_event_filter_unittest.cc',
[email protected]6aa614a2012-01-19 22:13:38235 'wm/video_detector_unittest.cc',
[email protected]ddd91e92012-01-27 16:03:48236 'wm/visibility_controller_unittest.cc',
[email protected]40c4cbb2012-01-10 23:26:07237 'wm/window_cycle_controller_unittest.cc',
[email protected]80373572012-01-06 23:14:30238 'wm/window_modality_controller_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29239 'wm/workspace_controller_unittest.cc',
240 'wm/workspace/workspace_manager_unittest.cc',
241
242 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
243 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
244 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
245 ],
246 'conditions': [
[email protected]2c456102011-12-26 06:26:34247 ['use_ibus==1', {
248 'dependencies': [
249 '../build/linux/system.gyp:ibus',
250 ],
251 }],
[email protected]03decaa12012-01-25 15:53:15252 ['OS=="mac"', {
253 'sources/': [
254 ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'],
255 ],
256 }],
[email protected]2a48ad62011-12-24 00:19:29257 ],
258 },
259 {
260 'target_name': 'ash_shell',
261 'type': 'executable',
262 'dependencies': [
263 '../base/base.gyp:base',
264 '../base/base.gyp:base_i18n',
265 '../chrome/chrome_resources.gyp:packed_resources',
266 '../skia/skia.gyp:skia',
267 '../third_party/icu/icu.gyp:icui18n',
268 '../third_party/icu/icu.gyp:icuuc',
269 '../ui/aura/aura.gyp:aura',
270 '../ui/gfx/compositor/compositor.gyp:compositor',
271 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
272 '../ui/ui.gyp:gfx_resources',
273 '../ui/ui.gyp:ui',
274 '../ui/ui.gyp:ui_resources',
275 '../ui/ui.gyp:ui_resources_standard',
276 '../ui/views/views.gyp:views',
277 '../ui/views/views.gyp:views_examples_lib',
278 'ash',
279 ],
280 'sources': [
281 'shell/app_list.cc',
282 'shell/bubble.cc',
283 'shell/example_factory.h',
284 'shell/lock_view.cc',
285 'shell/shell_main.cc',
[email protected]b72dfb242012-01-18 00:04:18286 'shell/shell_main_parts.h',
287 'shell/shell_main_parts.cc',
288 'shell/shell_main_parts_mac.mm',
[email protected]2a48ad62011-12-24 00:19:29289 'shell/toplevel_window.cc',
290 'shell/toplevel_window.h',
291 'shell/widgets.cc',
292 'shell/window_type_launcher.cc',
293 'shell/window_type_launcher.h',
294 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
295 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
296 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
297 '../ui/views/test/test_views_delegate.cc',
298 ],
[email protected]6f637732012-01-19 03:15:34299 'conditions': [
300 ['OS=="mac"', {
301 'product_name': 'AuraShell',
302 'mac_bundle': 1,
303 'sources/': [
304 ['exclude', 'shell/shell_main_parts.cc'],
305 ],
306 'mac_bundle_resources': [
307 'shell/cocoa/app.icns',
308 'shell/cocoa/app-Info.plist',
309 'shell/cocoa/nibs/MainMenu.xib',
310 'shell/cocoa/nibs/RootWindow.xib',
311 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
312 '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
313 ],
314 'mac_bundle_resources!': [
315 'shell/cocoa/app-Info.plist',
316 ],
317 'xcode_settings': {
318 'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist',
319 },
320 }],
321 ],
[email protected]2a48ad62011-12-24 00:19:29322 },
323 ],
324}