blob: 26470006428253dda42833fd766cfb0f4364a881 [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': [
[email protected]2b1fbb9d2012-02-08 07:30:5116 'ash_strings.gyp:ash_strings',
[email protected]2a48ad62011-12-24 00:19:2917 '../base/base.gyp:base',
18 '../base/base.gyp:base_i18n',
19 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
20 '../build/temp_gyp/googleurl.gyp:googleurl',
[email protected]24af4972012-05-04 19:42:1821 '../content/content.gyp:content',
22 '../content/content.gyp:content_browser',
23 '../ipc/ipc.gyp:ipc',
[email protected]2a48ad62011-12-24 00:19:2924 '../net/net.gyp:net',
25 '../skia/skia.gyp:skia',
26 '../third_party/icu/icu.gyp:icui18n',
27 '../third_party/icu/icu.gyp:icuuc',
[email protected]0039db92012-05-09 04:11:4528 '../ui/app_list/app_list.gyp:app_list',
[email protected]2a48ad62011-12-24 00:19:2929 '../ui/aura/aura.gyp:aura',
30 '../ui/base/strings/ui_strings.gyp:ui_strings',
[email protected]116302fc2012-05-05 21:45:4131 '../ui/compositor/compositor.gyp:compositor',
[email protected]3cd198a22012-03-12 20:38:0132 '../ui/oak/oak.gyp:oak',
[email protected]2a48ad62011-12-24 00:19:2933 '../ui/ui.gyp:ui',
34 '../ui/ui.gyp:ui_resources',
[email protected]2a48ad62011-12-24 00:19:2935 '../ui/views/views.gyp:views',
[email protected]729b4852012-07-25 21:55:0236 '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
[email protected]2a48ad62011-12-24 00:19:2937 ],
38 'defines': [
39 'ASH_IMPLEMENTATION',
40 ],
41 'sources': [
42 # All .cc, .h under ash, except unittests
43 'accelerators/accelerator_controller.cc',
44 'accelerators/accelerator_controller.h',
[email protected]6e9f6aa2012-02-09 04:16:2045 'accelerators/accelerator_dispatcher.cc',
46 'accelerators/accelerator_dispatcher.h',
[email protected]2a48ad62011-12-24 00:19:2947 'accelerators/accelerator_filter.cc',
48 'accelerators/accelerator_filter.h',
[email protected]07a3c3fa2012-03-09 03:55:3449 'accelerators/accelerator_table.cc',
50 'accelerators/accelerator_table.h',
[email protected]e7293fa2012-05-17 04:42:3351 'accelerators/focus_manager_factory.cc',
52 'accelerators/focus_manager_factory.h',
[email protected]6e9f6aa2012-02-09 04:16:2053 'accelerators/nested_dispatcher_controller.cc',
54 'accelerators/nested_dispatcher_controller.h',
[email protected]5fce8742012-08-01 21:39:5155 'ash_constants.cc',
56 'ash_constants.h',
[email protected]2a48ad62011-12-24 00:19:2957 'ash_switches.cc',
58 'ash_switches.h',
[email protected]fb9a35592012-01-18 04:12:1459 'caps_lock_delegate.h',
[email protected]e70cf0ed2012-03-15 16:24:4760 'desktop_background/desktop_background_controller.cc',
61 'desktop_background/desktop_background_controller.h',
62 'desktop_background/desktop_background_resources.cc',
63 'desktop_background/desktop_background_resources.h',
[email protected]2a48ad62011-12-24 00:19:2964 'desktop_background/desktop_background_view.cc',
65 'desktop_background/desktop_background_view.h',
[email protected]196e9452012-08-01 06:42:5166 'display/display_controller.cc',
67 'display/display_controller.h',
68 'display/mouse_cursor_event_filter.cc',
69 'display/mouse_cursor_event_filter.h',
70 'display/multi_display_manager.cc',
71 'display/multi_display_manager.h',
72 'display/output_configurator_animation.cc',
73 'display/output_configurator_animation.h',
74 'display/screen_position_controller.cc',
75 'display/screen_position_controller.h',
76 'display/secondary_display_view.cc',
77 'display/secondary_display_view.h',
[email protected]2a48ad62011-12-24 00:19:2978 'drag_drop/drag_drop_controller.cc',
79 'drag_drop/drag_drop_controller.h',
80 'drag_drop/drag_image_view.cc',
81 'drag_drop/drag_image_view.h',
[email protected]b9d224c2012-07-13 01:09:0382 'event_rewriter_delegate.h',
[email protected]3d29912a2012-02-07 07:41:5183 'focus_cycler.cc',
84 'focus_cycler.h',
[email protected]f48075d2012-05-24 11:06:5185 'high_contrast/high_contrast_controller.cc',
86 'high_contrast/high_contrast_controller.h',
[email protected]d7577d3f2012-07-02 07:05:4187 'launcher/app_list_button.cc',
88 'launcher/app_list_button.h',
[email protected]a160baec2012-03-21 20:52:1589 'launcher/background_animator.cc',
90 'launcher/background_animator.h',
[email protected]2a48ad62011-12-24 00:19:2991 'launcher/launcher.cc',
92 'launcher/launcher.h',
[email protected]55444502012-05-10 15:43:5393 'launcher/launcher_alignment_menu.cc',
94 'launcher/launcher_alignment_menu.h',
[email protected]a39a60e2012-03-10 00:40:0695 'launcher/launcher_button.cc',
96 'launcher/launcher_button.h',
[email protected]9628e0af2012-04-12 20:40:5697 'launcher/launcher_context_menu.cc',
98 'launcher/launcher_context_menu.h',
[email protected]16f2d3f2012-02-16 03:01:3199 'launcher/launcher_delegate.h',
[email protected]e2dced42012-04-20 01:52:42100 'launcher/launcher_icon_observer.h',
[email protected]2a48ad62011-12-24 00:19:29101 'launcher/launcher_model.cc',
102 'launcher/launcher_model.h',
103 'launcher/launcher_model_observer.h',
[email protected]20f80822012-05-10 01:22:40104 'launcher/launcher_navigator.cc',
105 'launcher/launcher_navigator.h',
[email protected]fe851ac2012-06-15 03:51:58106 'launcher/launcher_tooltip_manager.cc',
107 'launcher/launcher_tooltip_manager.h',
[email protected]cd808102012-01-12 02:42:21108 'launcher/launcher_types.cc',
[email protected]2a48ad62011-12-24 00:19:29109 'launcher/launcher_types.h',
110 'launcher/launcher_view.cc',
111 'launcher/launcher_view.h',
[email protected]3475f5e2012-07-12 22:10:32112 'launcher/overflow_bubble.cc',
113 'launcher/overflow_bubble.h',
[email protected]2a48ad62011-12-24 00:19:29114 'launcher/tabbed_launcher_button.cc',
115 'launcher/tabbed_launcher_button.h',
[email protected]c1c670172012-04-26 04:20:26116 'magnifier/magnification_controller.cc',
117 'magnifier/magnification_controller.h',
[email protected]729b4852012-07-25 21:55:02118 'keyboard_overlay/keyboard_overlay_delegate.cc',
119 'keyboard_overlay/keyboard_overlay_delegate.h',
120 'keyboard_overlay/keyboard_overlay_view.cc',
121 'keyboard_overlay/keyboard_overlay_view.h',
[email protected]d90b8392012-06-13 09:34:56122 'root_window_controller.cc',
123 'root_window_controller.h',
[email protected]9d4db2f2012-06-29 04:54:14124 'rotator/screen_rotation.cc',
125 'rotator/screen_rotation.h',
[email protected]1a2145b2012-03-13 21:09:17126 'screen_ash.cc',
127 'screen_ash.h',
[email protected]24af4972012-05-04 19:42:18128 'screensaver/screensaver_view.cc',
129 'screensaver/screensaver_view.h',
[email protected]c52de6372012-01-18 05:24:57130 'screenshot_delegate.h',
[email protected]2a48ad62011-12-24 00:19:29131 'shell.cc',
132 'shell.h',
[email protected]0cfc18e2012-04-11 18:17:47133 'shell_context_menu.cc',
134 'shell_context_menu.h',
[email protected]2a48ad62011-12-24 00:19:29135 'shell_delegate.h',
136 'shell_factory.h',
137 'shell_window_ids.h',
[email protected]e9c869e2012-03-14 22:10:34138 'system/audio/audio_observer.h',
[email protected]bfb411312012-02-27 20:59:27139 'system/audio/tray_volume.cc',
140 'system/audio/tray_volume.h',
[email protected]8d78ad0e2012-03-21 18:10:47141 'system/bluetooth/bluetooth_observer.h',
142 'system/bluetooth/tray_bluetooth.cc',
143 'system/bluetooth/tray_bluetooth.h',
[email protected]e9c869e2012-03-14 22:10:34144 'system/brightness/brightness_observer.h',
[email protected]75fdbc092012-02-27 23:04:28145 'system/brightness/brightness_control_delegate.h',
146 'system/brightness/tray_brightness.cc',
147 'system/brightness/tray_brightness.h',
[email protected]83a1241e2012-03-21 19:09:53148 'system/date/clock_observer.h',
149 'system/date/date_view.cc',
150 'system/date/date_view.h',
151 'system/date/tray_date.cc',
152 'system/date/tray_date.h',
[email protected]cb09f6a2012-05-02 01:19:45153 'system/drive/drive_observer.h',
154 'system/drive/tray_drive.cc',
155 'system/drive/tray_drive.h',
[email protected]d5e28a32012-03-20 23:00:38156 'system/ime/ime_observer.h',
157 'system/ime/tray_ime.cc',
158 'system/ime/tray_ime.h',
[email protected]dbebd422012-07-11 00:14:31159 'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
[email protected]56dbdd02012-05-17 18:48:37160 'system/locale/tray_locale.cc',
161 'system/locale/tray_locale.h',
[email protected]e9c869e2012-03-14 22:10:34162 'system/network/network_observer.h',
[email protected]f5f2d8972012-03-10 00:18:17163 'system/network/tray_network.cc',
164 'system/network/tray_network.h',
[email protected]b3dda04b2012-05-17 16:20:49165 'system/network/tray_sms.cc',
166 'system/network/tray_sms.h',
[email protected]e9c869e2012-03-14 22:10:34167 'system/power/power_status_observer.h',
[email protected]17df2032012-06-08 17:59:31168 'system/power/power_status_view.cc',
169 'system/power/power_status_view.h',
[email protected]f7f06ea2012-03-02 18:30:50170 'system/power/power_supply_status.cc',
171 'system/power/power_supply_status.h',
[email protected]83a1241e2012-03-21 19:09:53172 'system/power/tray_power.cc',
173 'system/power/tray_power.h',
[email protected]bfb411312012-02-27 20:59:27174 'system/settings/tray_settings.cc',
175 'system/settings/tray_settings.h',
[email protected]6d6546e2012-05-30 23:12:02176 'system/status_area_widget.cc',
177 'system/status_area_widget.h',
178 'system/status_area_widget_delegate.cc',
179 'system/status_area_widget_delegate.h',
[email protected]bfb411312012-02-27 20:59:27180 'system/tray/system_tray.cc',
181 'system/tray/system_tray.h',
[email protected]b26aefb2012-05-09 22:37:24182 'system/tray/system_tray_bubble.cc',
183 'system/tray/system_tray_bubble.h',
[email protected]cb09f6a2012-05-02 01:19:45184 'system/tray/system_tray_delegate.cc',
[email protected]bfb411312012-02-27 20:59:27185 'system/tray/system_tray_delegate.h',
186 'system/tray/system_tray_item.cc',
187 'system/tray/system_tray_item.h',
[email protected]6d6546e2012-05-30 23:12:02188 'system/tray/tray_background_view.cc',
189 'system/tray/tray_background_view.h',
[email protected]88a7f3b2012-06-11 18:55:29190 'system/tray/tray_bubble_view.cc',
191 'system/tray/tray_bubble_view.h',
[email protected]72f05d62012-03-05 22:36:49192 'system/tray/tray_constants.cc',
193 'system/tray/tray_constants.h',
[email protected]7345d052012-05-15 16:09:08194 'system/tray/tray_details_view.cc',
195 'system/tray/tray_details_view.h',
[email protected]60d4167c2012-03-04 18:45:15196 'system/tray/tray_empty.cc',
197 'system/tray/tray_empty.h',
[email protected]31a5e312012-03-19 16:23:14198 'system/tray/tray_image_item.cc',
199 'system/tray/tray_image_item.h',
[email protected]8d78ad0e2012-03-21 18:10:47200 'system/tray/tray_item_more.cc',
201 'system/tray/tray_item_more.h',
[email protected]5d1491d2012-04-23 21:51:00202 'system/tray/tray_item_view.cc',
203 'system/tray/tray_item_view.h',
[email protected]61ae4152012-07-03 22:08:51204 'system/tray/tray_notification_view.cc',
205 'system/tray/tray_notification_view.h',
[email protected]8d78ad0e2012-03-21 18:10:47206 'system/tray/tray_views.cc',
207 'system/tray/tray_views.h',
[email protected]31a5e312012-03-19 16:23:14208 'system/tray_accessibility.cc',
209 'system/tray_accessibility.h',
210 'system/tray_caps_lock.cc',
211 'system/tray_caps_lock.h',
[email protected]024a03b2012-03-28 04:05:53212 'system/tray_update.cc',
213 'system/tray_update.h',
[email protected]eac76c62012-03-03 15:19:56214 'system/user/login_status.h',
215 'system/user/tray_user.cc',
216 'system/user/tray_user.h',
[email protected]e9c869e2012-03-14 22:10:34217 'system/user/update_observer.h',
[email protected]a97e15ac2012-03-20 15:52:23218 'system/user/user_observer.h',
[email protected]82a1cc92012-06-13 22:06:10219 'system/web_notification/web_notification_tray.cc',
220 'system/web_notification/web_notification_tray.h',
[email protected]2a48ad62011-12-24 00:19:29221 'tooltips/tooltip_controller.cc',
222 'tooltips/tooltip_controller.h',
[email protected]73074742012-05-17 01:44:41223 'touch/touch_observer_hud.cc',
224 'touch/touch_observer_hud.h',
[email protected]332aaf7b2012-06-26 17:17:42225 'touch/touch_uma.cc',
226 'touch/touch_uma.h',
[email protected]054b2d72012-06-08 04:52:25227 'ui_controls_ash.cc',
[email protected]16f05f42012-02-06 19:24:50228 'volume_control_delegate.h',
[email protected]0039db92012-05-09 04:11:45229 'wm/app_list_controller.cc',
230 'wm/app_list_controller.h',
[email protected]2a48ad62011-12-24 00:19:29231 'wm/activation_controller.cc',
232 'wm/activation_controller.h',
233 'wm/always_on_top_controller.cc',
234 'wm/always_on_top_controller.h',
[email protected]fc7b7442012-01-18 23:57:05235 'wm/base_layout_manager.cc',
236 'wm/base_layout_manager.h',
[email protected]60a978b72012-06-08 00:29:18237 'wm/capture_controller.cc',
238 'wm/capture_controller.h',
[email protected]4b8003c2012-07-26 00:54:19239 'wm/cursor_manager.cc',
240 'wm/cursor_manager.h',
[email protected]9d4d1712012-03-06 06:55:25241 'wm/custom_frame_view_ash.cc',
242 'wm/custom_frame_view_ash.h',
[email protected]22228922012-03-05 15:04:49243 'wm/default_window_resizer.cc',
244 'wm/default_window_resizer.h',
[email protected]57b8bb352012-01-11 05:11:46245 'wm/dialog_frame_view.cc',
246 'wm/dialog_frame_view.h',
[email protected]262f8bd2012-03-23 19:30:27247 'wm/event_client_impl.cc',
248 'wm/event_client_impl.h',
[email protected]b9d224c2012-07-13 01:09:03249 'wm/event_rewriter_event_filter.cc',
250 'wm/event_rewriter_event_filter.h',
[email protected]9d4d1712012-03-06 06:55:25251 'wm/frame_painter.cc',
252 'wm/frame_painter.h',
[email protected]2a48ad62011-12-24 00:19:29253 'wm/image_grid.cc',
254 'wm/image_grid.h',
[email protected]9f9bb4142012-08-04 04:39:39255 'wm/maximize_bubble_controller.cc',
256 'wm/maximize_bubble_controller.h',
[email protected]9ae32df2012-07-26 03:25:18257 'wm/overlay_event_filter.cc',
258 'wm/overlay_event_filter.h',
[email protected]52295042012-02-08 02:02:59259 'wm/panel_frame_view.cc',
260 'wm/panel_frame_view.h',
[email protected]6b854932012-02-04 16:44:27261 'wm/panel_layout_manager.cc',
262 'wm/panel_layout_manager.h',
[email protected]0540b172012-02-16 21:01:07263 'wm/panel_window_event_filter.cc',
264 'wm/panel_window_event_filter.h',
[email protected]0b0b0742012-02-16 13:23:45265 'wm/partial_screenshot_view.cc',
266 'wm/partial_screenshot_view.h',
[email protected]e0d22e82012-01-04 00:46:57267 'wm/power_button_controller.cc',
268 'wm/power_button_controller.h',
[email protected]2a48ad62011-12-24 00:19:29269 'wm/property_util.cc',
270 'wm/property_util.h',
[email protected]e4a181cc2012-03-17 02:20:57271 'wm/resize_shadow.cc',
272 'wm/resize_shadow.h',
273 'wm/resize_shadow_controller.cc',
274 'wm/resize_shadow_controller.h',
[email protected]2a48ad62011-12-24 00:19:29275 'wm/root_window_layout_manager.cc',
276 'wm/root_window_layout_manager.h',
[email protected]42993212012-04-30 23:42:04277 'wm/screen_dimmer.cc',
278 'wm/screen_dimmer.h',
[email protected]2a48ad62011-12-24 00:19:29279 'wm/shadow.cc',
280 'wm/shadow.h',
281 'wm/shadow_controller.cc',
282 'wm/shadow_controller.h',
283 'wm/shadow_types.cc',
284 'wm/shadow_types.h',
285 'wm/shelf_layout_manager.cc',
286 'wm/shelf_layout_manager.h',
[email protected]812d3d42012-06-27 19:35:31287 'wm/shelf_types.h',
[email protected]2a48ad62011-12-24 00:19:29288 'wm/stacking_controller.cc',
289 'wm/stacking_controller.h',
290 'wm/status_area_layout_manager.cc',
291 'wm/status_area_layout_manager.h',
[email protected]c16b9422012-06-06 21:51:11292 'wm/system_gesture_event_filter.cc',
293 'wm/system_gesture_event_filter.h',
294 'wm/system_modal_container_event_filter.cc',
295 'wm/system_modal_container_event_filter.h',
296 'wm/system_modal_container_event_filter_delegate.h',
297 'wm/system_modal_container_layout_manager.cc',
298 'wm/system_modal_container_layout_manager.h',
[email protected]2a48ad62011-12-24 00:19:29299 'wm/toplevel_window_event_filter.cc',
300 'wm/toplevel_window_event_filter.h',
[email protected]c16b9422012-06-06 21:51:11301 'wm/user_activity_detector.cc',
302 'wm/user_activity_detector.h',
303 'wm/user_activity_observer.h',
[email protected]6aa614a2012-01-19 22:13:38304 'wm/video_detector.cc',
305 'wm/video_detector.h',
[email protected]ddd91e92012-01-27 16:03:48306 'wm/visibility_controller.cc',
307 'wm/visibility_controller.h',
[email protected]cad77b32012-01-19 06:23:04308 'wm/window_animations.cc',
[email protected]6aa614a2012-01-19 22:13:38309 'wm/window_animations.h',
[email protected]40c4cbb2012-01-10 23:26:07310 'wm/window_cycle_controller.cc',
311 'wm/window_cycle_controller.h',
[email protected]194ad1d2012-01-18 18:22:51312 'wm/window_cycle_list.cc',
313 'wm/window_cycle_list.h',
[email protected]2a48ad62011-12-24 00:19:29314 'wm/window_frame.cc',
315 'wm/window_frame.h',
[email protected]80373572012-01-06 23:14:30316 'wm/window_modality_controller.cc',
317 'wm/window_modality_controller.h',
[email protected]2a48ad62011-12-24 00:19:29318 'wm/window_properties.cc',
319 'wm/window_properties.h',
[email protected]1dfd4022012-02-15 04:36:43320 'wm/window_resizer.cc',
321 'wm/window_resizer.h',
[email protected]2a48ad62011-12-24 00:19:29322 'wm/window_util.cc',
323 'wm/window_util.h',
324 'wm/workspace_controller.cc',
325 'wm/workspace_controller.h',
[email protected]85d43f02012-03-14 21:11:19326 'wm/workspace/frame_maximize_button.cc',
327 'wm/workspace/frame_maximize_button.h',
[email protected]8818cb92012-02-10 21:29:37328 'wm/workspace/managed_workspace.cc',
329 'wm/workspace/managed_workspace.h',
330 'wm/workspace/maximized_workspace.cc',
331 'wm/workspace/maximized_workspace.h',
[email protected]ef4bb7452012-03-06 18:45:17332 'wm/workspace/multi_window_resize_controller.cc',
333 'wm/workspace/multi_window_resize_controller.h',
[email protected]edc844a2012-03-09 04:33:14334 'wm/workspace/phantom_window_controller.cc',
335 'wm/workspace/phantom_window_controller.h',
[email protected]8b61ffda2012-03-15 17:28:21336 'wm/workspace/snap_sizer.cc',
337 'wm/workspace/snap_sizer.h',
[email protected]9f9bb4142012-08-04 04:39:39338 'wm/workspace/snap_types.h',
[email protected]2a48ad62011-12-24 00:19:29339 'wm/workspace/workspace.cc',
340 'wm/workspace/workspace.h',
[email protected]9633a9d22012-01-21 16:40:58341 'wm/workspace/workspace_event_filter.cc',
342 'wm/workspace/workspace_event_filter.h',
343 'wm/workspace/workspace_layout_manager.cc',
344 'wm/workspace/workspace_layout_manager.h',
[email protected]2a48ad62011-12-24 00:19:29345 'wm/workspace/workspace_manager.cc',
346 'wm/workspace/workspace_manager.h',
[email protected]f4bb9fde2012-08-03 19:33:50347 'wm/workspace/workspace_types.h',
[email protected]5ae18722012-02-25 22:30:50348 'wm/workspace/workspace_window_resizer.cc',
349 'wm/workspace/workspace_window_resizer.h',
[email protected]2a48ad62011-12-24 00:19:29350 ],
[email protected]6e9f6aa2012-02-09 04:16:20351 'conditions': [
352 ['OS=="mac"', {
353 'sources/': [
354 ['exclude', 'accelerators/accelerator_controller.cc'],
355 ['exclude', 'accelerators/accelerator_controller.h'],
356 ['exclude', 'accelerators/accelerator_dispatcher.cc'],
357 ['exclude', 'accelerators/accelerator_dispatcher.h'],
358 ['exclude', 'accelerators/accelerator_filter.cc'],
359 ['exclude', 'accelerators/accelerator_filter.h'],
360 ['exclude', 'accelerators/nested_dispatcher_controller.cc'],
361 ['exclude', 'accelerators/nested_dispatcher_controller.h'],
362 ],
363 }],
[email protected]af4ac5de82012-04-05 00:50:27364 ['chromeos==1', {
365 'dependencies': [
366 '../chromeos/chromeos.gyp:chromeos',
367 ],
[email protected]196e9452012-08-01 06:42:51368 }, { # else: chromeos!=1
369 'sources/': [
370 ['exclude', 'display/output_configurator_animation.cc'],
371 ['exclude', 'display/output_configurator_animation.h'],
372 ],
[email protected]af4ac5de82012-04-05 00:50:27373 }],
[email protected]6e9f6aa2012-02-09 04:16:20374 ],
[email protected]2a48ad62011-12-24 00:19:29375 },
376 {
[email protected]c11172a2012-07-13 21:27:03377 'target_name': 'ash_unittests',
[email protected]2a48ad62011-12-24 00:19:29378 'type': 'executable',
379 'dependencies': [
380 '../base/base.gyp:base',
381 '../base/base.gyp:test_support_base',
382 '../chrome/chrome_resources.gyp:packed_resources',
[email protected]24af4972012-05-04 19:42:18383 '../content/content.gyp:content_browser',
384 '../content/content.gyp:test_support_content',
[email protected]2a48ad62011-12-24 00:19:29385 '../build/temp_gyp/googleurl.gyp:googleurl',
386 '../skia/skia.gyp:skia',
387 '../testing/gtest.gyp:gtest',
388 '../third_party/icu/icu.gyp:icui18n',
389 '../third_party/icu/icu.gyp:icuuc',
390 '../ui/aura/aura.gyp:aura',
391 '../ui/aura/aura.gyp:test_support_aura',
[email protected]116302fc2012-05-05 21:45:41392 '../ui/compositor/compositor.gyp:compositor',
393 '../ui/compositor/compositor.gyp:compositor_test_support',
[email protected]2a48ad62011-12-24 00:19:29394 '../ui/ui.gyp:ui',
395 '../ui/ui.gyp:ui_resources',
[email protected]e6c896f12012-05-31 11:48:20396 '../ui/ui.gyp:ui_test_support',
[email protected]2a48ad62011-12-24 00:19:29397 '../ui/views/views.gyp:views',
[email protected]24af4972012-05-04 19:42:18398 '../ui/views/views.gyp:test_support_views',
[email protected]2a48ad62011-12-24 00:19:29399 'ash',
400 ],
401 'sources': [
[email protected]5eae7162012-01-04 00:31:02402 '../ui/views/test/test_views_delegate.cc',
403 '../ui/views/test/test_views_delegate.h',
[email protected]2a48ad62011-12-24 00:19:29404 'accelerators/accelerator_controller_unittest.cc',
[email protected]47460f92012-01-21 16:15:13405 'accelerators/accelerator_filter_unittest.cc',
[email protected]86bb87e42012-05-02 06:59:20406 'accelerators/accelerator_table_unittest.cc',
[email protected]5985fa32012-03-02 04:44:04407 'accelerators/nested_dispatcher_controller_unittest.cc',
[email protected]3f6ffb8f2012-04-27 23:33:48408 'dip_unittest.cc',
[email protected]66b05eac2012-06-27 23:53:10409 'display/display_controller_unittest.cc',
[email protected]2e236a52012-06-27 22:21:47410 'display/multi_display_manager_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29411 'drag_drop/drag_drop_controller_unittest.cc',
[email protected]c39be8f2012-06-15 22:58:36412 'extended_desktop_unittest.cc',
[email protected]df1c9862012-02-27 10:37:31413 'focus_cycler_unittest.cc',
[email protected]9628e0af2012-04-12 20:40:56414 'launcher/launcher_context_menu_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29415 'launcher/launcher_model_unittest.cc',
[email protected]20f80822012-05-10 01:22:40416 'launcher/launcher_navigator_unittest.cc',
[email protected]c11172a2012-07-13 21:27:03417 'launcher/launcher_tooltip_manager_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29418 'launcher/launcher_unittest.cc',
[email protected]e2dced42012-04-20 01:52:42419 'launcher/launcher_view_unittest.cc',
[email protected]f1853122012-06-27 16:21:26420 'root_window_controller_unittest.cc',
[email protected]8d625fb2012-07-18 16:40:06421 'screen_ash_unittest.cc',
[email protected]24af4972012-05-04 19:42:18422 'screensaver/screensaver_view_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29423 'shell_unittest.cc',
[email protected]bad64ea2012-05-07 20:46:30424 'system/tray/system_tray_unittest.cc',
[email protected]82a1cc92012-06-13 22:06:10425 'system/web_notification/web_notification_tray_unittest.cc',
[email protected]1dd1c1b2012-02-17 22:04:47426 'test/ash_test_base.cc',
427 'test/ash_test_base.h',
[email protected]cec3dc4c2012-04-24 02:08:54428 'test/ash_unittests.cc',
[email protected]150c02e2012-04-27 22:55:40429 'test/capture_tracking_view.cc',
430 'test/capture_tracking_view.h',
[email protected]cec3dc4c2012-04-24 02:08:54431 'test/launcher_view_test_api.cc',
432 'test/launcher_view_test_api.h',
[email protected]2a48ad62011-12-24 00:19:29433 'test/test_activation_delegate.cc',
434 'test/test_activation_delegate.h',
[email protected]e2dced42012-04-20 01:52:42435 'test/test_launcher_delegate.cc',
436 'test/test_launcher_delegate.h',
[email protected]2a48ad62011-12-24 00:19:29437 'test/test_shell_delegate.cc',
438 'test/test_shell_delegate.h',
439 'test/test_suite.cc',
440 'test/test_suite.h',
[email protected]a0fea7e2012-01-30 17:43:33441 'test/test_suite_init.h',
442 'test/test_suite_init.mm',
[email protected]2a48ad62011-12-24 00:19:29443 'tooltips/tooltip_controller_unittest.cc',
444 'wm/activation_controller_unittest.cc',
[email protected]fc7b7442012-01-18 23:57:05445 'wm/base_layout_manager_unittest.cc',
[email protected]1d0dfbce2012-06-13 02:58:56446 'wm/custom_frame_view_ash_unittest.cc',
[email protected]8e4a5382012-04-10 22:35:46447 'wm/frame_painter_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29448 'wm/image_grid_unittest.cc',
[email protected]6b854932012-02-04 16:44:27449 'wm/panel_layout_manager_unittest.cc',
[email protected]e0d22e82012-01-04 00:46:57450 'wm/power_button_controller_unittest.cc',
[email protected]42993212012-04-30 23:42:04451 'wm/screen_dimmer_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29452 'wm/shadow_controller_unittest.cc',
453 'wm/shelf_layout_manager_unittest.cc',
[email protected]435b212e2012-04-05 19:43:37454 'wm/system_gesture_event_filter_unittest.cc',
[email protected]6b854932012-02-04 16:44:27455 'wm/system_modal_container_layout_manager_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29456 'wm/toplevel_window_event_filter_unittest.cc',
[email protected]10b688f22012-06-21 20:36:34457 'wm/user_activity_detector_unittest.cc',
[email protected]6aa614a2012-01-19 22:13:38458 'wm/video_detector_unittest.cc',
[email protected]ddd91e92012-01-27 16:03:48459 'wm/visibility_controller_unittest.cc',
[email protected]31e612f42012-03-27 04:41:17460 'wm/window_animations_unittest.cc',
[email protected]40c4cbb2012-01-10 23:26:07461 'wm/window_cycle_controller_unittest.cc',
[email protected]1aad3322012-06-06 06:37:09462 'wm/window_manager_unittest.cc',
[email protected]80373572012-01-06 23:14:30463 'wm/window_modality_controller_unittest.cc',
[email protected]52b81872012-03-19 14:25:18464 'wm/workspace_controller_test_helper.cc',
465 'wm/workspace_controller_test_helper.h',
466 'wm/workspace/multi_window_resize_controller_unittest.cc',
467 'wm/workspace/workspace_event_filter_test_helper.cc',
468 'wm/workspace/workspace_event_filter_test_helper.h',
[email protected]5985fa32012-03-02 04:44:04469 'wm/workspace/workspace_event_filter_unittest.cc',
[email protected]6de3a0112012-02-04 03:57:50470 'wm/workspace/workspace_manager_unittest.cc',
[email protected]5ae18722012-02-25 22:30:50471 'wm/workspace/workspace_window_resizer_unittest.cc',
[email protected]2a48ad62011-12-24 00:19:29472 ],
473 'conditions': [
[email protected]2c456102011-12-26 06:26:34474 ['use_ibus==1', {
475 'dependencies': [
476 '../build/linux/system.gyp:ibus',
477 ],
478 }],
[email protected]df1c9862012-02-27 10:37:31479 ['OS=="win"', {
480 # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
481 'sources/': [
482 ['exclude', 'focus_cycler_unittest.cc'],
483 ],
484 }],
[email protected]03decaa12012-01-25 15:53:15485 ['OS=="mac"', {
486 'sources/': [
[email protected]6e9f6aa2012-02-09 04:16:20487 ['exclude', 'accelerators/accelerator_controller_unittest.cc'],
[email protected]a0fea7e2012-01-30 17:43:33488 ['exclude', 'accelerators/accelerator_filter_unittest.cc'],
[email protected]c11172a2012-07-13 21:27:03489 ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
[email protected]03decaa12012-01-25 15:53:15490 ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'],
[email protected]a0fea7e2012-01-30 17:43:33491 ['exclude', 'tooltips/tooltip_controller_unittest.cc'],
[email protected]03decaa12012-01-25 15:53:15492 ],
[email protected]a0fea7e2012-01-30 17:43:33493 'dependencies': [
494 # Mac tests access resources via the 'AuraShell.app' directory.
495 'ash_shell',
496 ],
497 # Special linker instructions that avoids stripping Obj-C classes that
498 # are not referenced in code, but are referenced in nibs.
499 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
[email protected]03decaa12012-01-25 15:53:15500 }],
[email protected]2a48ad62011-12-24 00:19:29501 ],
502 },
[email protected]c11172a2012-07-13 21:27:03503 # ash_unittests was formerly named aura_shell_unittests. While the build
504 # bots are being switched to use the new name we need to support both
505 # executables.
506 # TODO(jamescook): Remove this section when build bots are building and
507 # running ash_unittests.
508 {
509 'target_name': 'aura_shell_unittests',
510 'type': 'none',
511 'dependencies': [
512 'ash_unittests',
513 ],
514 'actions': [
515 {
516 'message': 'TEMPORARY: Copy ash_unittests to aura_shell_unittests',
517 'action_name': 'copy_ash_unittests',
518 'variables': {
519 'source_file': '<(PRODUCT_DIR)/ash_unittests<(EXECUTABLE_SUFFIX)',
520 'dest_file': '<(PRODUCT_DIR)/aura_shell_unittests<(EXECUTABLE_SUFFIX)',
521 },
522 'inputs': [
523 '<(DEPTH)/build/cp.py',
524 '<(source_file)',
525 ],
526 'outputs': [
527 '<(dest_file)',
528 ],
529 'action': [
530 'python', '<(DEPTH)/build/cp.py', '<(source_file)', '<(dest_file)',
531 ],
532 },
533 ],
534 },
[email protected]2a48ad62011-12-24 00:19:29535 {
536 'target_name': 'ash_shell',
537 'type': 'executable',
538 'dependencies': [
539 '../base/base.gyp:base',
540 '../base/base.gyp:base_i18n',
541 '../chrome/chrome_resources.gyp:packed_resources',
[email protected]fa4a45832012-04-12 21:32:48542 '../content/content.gyp:content_shell_lib',
543 '../content/content.gyp:content',
[email protected]2a48ad62011-12-24 00:19:29544 '../skia/skia.gyp:skia',
545 '../third_party/icu/icu.gyp:icui18n',
546 '../third_party/icu/icu.gyp:icuuc',
[email protected]0039db92012-05-09 04:11:45547 '../ui/app_list/app_list.gyp:app_list',
[email protected]2a48ad62011-12-24 00:19:29548 '../ui/aura/aura.gyp:aura',
[email protected]116302fc2012-05-05 21:45:41549 '../ui/compositor/compositor.gyp:compositor',
550 '../ui/compositor/compositor.gyp:compositor_test_support',
[email protected]2a48ad62011-12-24 00:19:29551 '../ui/ui.gyp:ui',
552 '../ui/ui.gyp:ui_resources',
[email protected]2a48ad62011-12-24 00:19:29553 '../ui/views/views.gyp:views',
554 '../ui/views/views.gyp:views_examples_lib',
[email protected]24af4972012-05-04 19:42:18555 '../ui/views/views.gyp:test_support_views',
[email protected]2a48ad62011-12-24 00:19:29556 'ash',
557 ],
558 'sources': [
559 'shell/app_list.cc',
560 'shell/bubble.cc',
[email protected]fa4a45832012-04-12 21:32:48561 'shell/content_client/shell_browser_main_parts.cc',
562 'shell/content_client/shell_browser_main_parts.h',
563 'shell/content_client/shell_content_browser_client.cc',
564 'shell/content_client/shell_content_browser_client.h',
565 'shell/content_client/shell_main_delegate.cc',
566 'shell/content_client/shell_main_delegate.h',
[email protected]2a48ad62011-12-24 00:19:29567 'shell/example_factory.h',
[email protected]262f8bd2012-03-23 19:30:27568 'shell/launcher_delegate_impl.cc',
569 'shell/launcher_delegate_impl.h',
[email protected]2a48ad62011-12-24 00:19:29570 'shell/lock_view.cc',
[email protected]6b854932012-02-04 16:44:27571 'shell/panel_window.cc',
572 'shell/panel_window.h',
[email protected]262f8bd2012-03-23 19:30:27573 'shell/shell_delegate_impl.cc',
574 'shell/shell_delegate_impl.h',
[email protected]2a48ad62011-12-24 00:19:29575 'shell/shell_main.cc',
[email protected]b72dfb242012-01-18 00:04:18576 'shell/shell_main_parts.cc',
[email protected]a0fea7e2012-01-30 17:43:33577 'shell/shell_main_parts.h',
[email protected]b72dfb242012-01-18 00:04:18578 'shell/shell_main_parts_mac.mm',
[email protected]2a48ad62011-12-24 00:19:29579 'shell/toplevel_window.cc',
580 'shell/toplevel_window.h',
581 'shell/widgets.cc',
582 'shell/window_type_launcher.cc',
583 'shell/window_type_launcher.h',
[email protected]262f8bd2012-03-23 19:30:27584 'shell/window_watcher.cc',
585 'shell/window_watcher.h',
[email protected]711f428e2012-06-22 02:18:23586 '../content/app/startup_helper_win.cc',
[email protected]2a48ad62011-12-24 00:19:29587 '../ui/views/test/test_views_delegate.cc',
588 ],
[email protected]6f637732012-01-19 03:15:34589 'conditions': [
[email protected]fa4a45832012-04-12 21:32:48590 ['OS=="win"', {
591 'msvs_settings': {
592 'VCLinkerTool': {
593 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
594 },
595 },
596 'dependencies': [
597 '../sandbox/sandbox.gyp:sandbox',
598 ],
599 }],
[email protected]6f637732012-01-19 03:15:34600 ['OS=="mac"', {
601 'product_name': 'AuraShell',
602 'mac_bundle': 1,
603 'sources/': [
604 ['exclude', 'shell/shell_main_parts.cc'],
605 ],
606 'mac_bundle_resources': [
607 'shell/cocoa/app.icns',
608 'shell/cocoa/app-Info.plist',
609 'shell/cocoa/nibs/MainMenu.xib',
610 'shell/cocoa/nibs/RootWindow.xib',
611 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
[email protected]763498c02012-08-01 20:53:42612 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
[email protected]6f637732012-01-19 03:15:34613 ],
614 'mac_bundle_resources!': [
615 'shell/cocoa/app-Info.plist',
616 ],
617 'xcode_settings': {
618 'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist',
619 },
620 }],
621 ],
[email protected]2a48ad62011-12-24 00:19:29622 },
[email protected]4e0e2b22012-02-01 10:45:51623 ],
[email protected]2a48ad62011-12-24 00:19:29624}