Morph the selector widget to a constant padding on the window shapes in overview.
[chromium-blink-merge.git] / ash / ash.gyp
blobdf74c491e0155de2328d9f0a674e229de5b4439a
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.
6   'variables': {
7     'chromium_code': 1,
8     'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
9   },
10   'includes': [
11     'ash_resources.gypi',
12   ],
13   'targets': [
14     {
15       'target_name': 'ash',
16       'type': '<(component)',
17       'dependencies': [
18         '../base/base.gyp:base',
19         '../base/base.gyp:base_i18n',
20         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
21         '../cc/cc.gyp:cc',
22         '../content/content.gyp:content',
23         '../content/content.gyp:content_browser',
24         '../ipc/ipc.gyp:ipc',
25         '../net/net.gyp:net',
26         '../skia/skia.gyp:skia',
27         '../third_party/icu/icu.gyp:icui18n',
28         '../third_party/icu/icu.gyp:icuuc',
29         '../ui/app_list/app_list.gyp:app_list',
30         '../ui/aura/aura.gyp:aura',
31         '../ui/base/strings/ui_strings.gyp:ui_strings',
32         '../ui/compositor/compositor.gyp:compositor',
33         '../ui/events/events.gyp:events',
34         '../ui/gfx/gfx.gyp:gfx',
35         '../ui/keyboard/keyboard.gyp:keyboard',
36         '../ui/message_center/message_center.gyp:message_center',
37         '../ui/oak/oak.gyp:oak',
38         '../ui/ui.gyp:ui',
39         '../ui/ui.gyp:ui_resources',
40         '../ui/views/controls/webview/webview.gyp:webview',
41         '../ui/views/views.gyp:views',
42         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
43         '../url/url.gyp:url_lib',
44         'ash_strings.gyp:ash_strings',
45         'ash_resources',
46       ],
47       'defines': [
48         'ASH_IMPLEMENTATION',
49       ],
50       'sources': [
51         # All .cc, .h under ash, except unittests
52         'accelerators/accelerator_commands.cc',
53         'accelerators/accelerator_commands.h',
54         'accelerators/accelerator_controller.cc',
55         'accelerators/accelerator_controller.h',
56         'accelerators/accelerator_dispatcher.cc',
57         'accelerators/accelerator_dispatcher.h',
58         'accelerators/accelerator_filter.cc',
59         'accelerators/accelerator_filter.h',
60         'accelerators/accelerator_table.cc',
61         'accelerators/accelerator_table.h',
62         'accelerators/debug_commands.cc',
63         'accelerators/debug_commands.h',
64         'accelerators/exit_warning_handler.cc',
65         'accelerators/exit_warning_handler.h',
66         'accelerators/focus_manager_factory.cc',
67         'accelerators/focus_manager_factory.h',
68         'accelerators/nested_dispatcher_controller.cc',
69         'accelerators/nested_dispatcher_controller.h',
70         'autoclick/autoclick_controller.cc',
71         'autoclick/autoclick_controller.h',
72         'ash_constants.cc',
73         'ash_constants.h',
74         'ash_switches.cc',
75         'ash_switches.h',
76         'cancel_mode.cc',
77         'cancel_mode.h',
78         'caps_lock_delegate.h',
79         'caps_lock_delegate_stub.cc',
80         'caps_lock_delegate_stub.h',
81         'debug.cc',
82         'debug.h',
83         'default_user_wallpaper_delegate.cc',
84         'default_user_wallpaper_delegate.h',
85         'desktop_background/desktop_background_controller.cc',
86         'desktop_background/desktop_background_controller.h',
87         'desktop_background/desktop_background_controller_observer.h',
88         'desktop_background/desktop_background_view.cc',
89         'desktop_background/desktop_background_view.h',
90         'desktop_background/desktop_background_widget_controller.cc',
91         'desktop_background/desktop_background_widget_controller.h',
92         'desktop_background/user_wallpaper_delegate.h',
93         'desktop_background/wallpaper_resizer.cc',
94         'desktop_background/wallpaper_resizer.h',
95         'desktop_background/wallpaper_resizer_observer.h',
96         'display/display_change_observer_chromeos.cc',
97         'display/display_change_observer_chromeos.h',
98         'display/display_controller.cc',
99         'display/display_controller.h',
100         'display/display_error_observer_chromeos.cc',
101         'display/display_error_observer_chromeos.h',
102         'display/display_info.h',
103         'display/display_info.cc',
104         'display/display_layout.h',
105         'display/display_layout.cc',
106         'display/display_layout_store.h',
107         'display/display_layout_store.cc',
108         'display/display_manager.cc',
109         'display/display_manager.h',
110         'display/display_pref_util.h',
111         'display/event_transformation_handler.cc',
112         'display/event_transformation_handler.h',
113         'display/mirror_window_controller.cc',
114         'display/mirror_window_controller.h',
115         'display/mouse_cursor_event_filter.cc',
116         'display/mouse_cursor_event_filter.h',
117         'display/output_configurator_animation.cc',
118         'display/output_configurator_animation.h',
119         'display/resolution_notification_controller.cc',
120         'display/resolution_notification_controller.h',
121         'display/root_window_transformers.cc',
122         'display/root_window_transformers.h',
123         'display/screen_position_controller.cc',
124         'display/screen_position_controller.h',
125         'display/shared_display_edge_indicator.cc',
126         'display/shared_display_edge_indicator.h',
127         'drag_drop/drag_drop_controller.cc',
128         'drag_drop/drag_drop_controller.h',
129         'drag_drop/drag_drop_tracker.cc',
130         'drag_drop/drag_drop_tracker.h',
131         'drag_drop/drag_image_view.cc',
132         'drag_drop/drag_image_view.h',
133         'event_rewriter_delegate.h',
134         'first_run/first_run_helper.cc',
135         'first_run/first_run_helper.h',
136         'first_run/first_run_helper_impl.cc',
137         'first_run/first_run_helper_impl.h',
138         'focus_cycler.cc',
139         'focus_cycler.h',
140         'high_contrast/high_contrast_controller.cc',
141         'high_contrast/high_contrast_controller.h',
142         'host/root_window_host_factory.cc',
143         'host/root_window_host_factory.h',
144         'host/root_window_host_factory_win.cc',
145         'keyboard_controller_proxy_stub.cc',
146         'keyboard_controller_proxy_stub.h',
147         'keyboard_overlay/keyboard_overlay_delegate.cc',
148         'keyboard_overlay/keyboard_overlay_delegate.h',
149         'keyboard_overlay/keyboard_overlay_view.cc',
150         'keyboard_overlay/keyboard_overlay_view.h',
151         'keyboard_uma_event_filter.cc',
152         'keyboard_uma_event_filter.h',
153         'launcher/launcher.cc',
154         'launcher/launcher.h',
155         'launcher/launcher_button.cc',
156         'launcher/launcher_button.h',
157         'launcher/launcher_delegate.h',
158         'launcher/launcher_item_delegate_manager.cc',
159         'launcher/launcher_item_delegate_manager.h',
160         'launcher/launcher_icon_observer.h',
161         'launcher/launcher_item_delegate.h',
162         'launcher/launcher_model.cc',
163         'launcher/launcher_model.h',
164         'launcher/launcher_model_observer.h',
165         'launcher/launcher_types.cc',
166         'launcher/launcher_types.h',
167         'magnifier/magnification_controller.cc',
168         'magnifier/magnification_controller.h',
169         'magnifier/magnifier_constants.h',
170         'magnifier/partial_magnification_controller.cc',
171         'magnifier/partial_magnification_controller.h',
172         'multi_profile_uma.cc',
173         'multi_profile_uma.h',
174         'popup_message.cc',
175         'popup_message.h',
176         'root_window_controller.cc',
177         'root_window_controller.h',
178         'root_window_settings.cc',
179         'root_window_settings.h',
180         'rotator/screen_rotation.cc',
181         'rotator/screen_rotation.h',
182         'scoped_target_root_window.cc',
183         'scoped_target_root_window.h',
184         'screen_ash.cc',
185         'screen_ash.h',
186         'screensaver/screensaver_view.cc',
187         'screensaver/screensaver_view.h',
188         'screenshot_delegate.h',
189         'session_state_delegate.h',
190         'session_state_observer.h',
191         'shelf/alternate_app_list_button.cc',
192         'shelf/alternate_app_list_button.h',
193         'shelf/app_list_button.cc',
194         'shelf/app_list_button.h',
195         'shelf/app_list_shelf_item_delegate.cc',
196         'shelf/app_list_shelf_item_delegate.h',
197         'shelf/background_animator.cc',
198         'shelf/background_animator.h',
199         'shelf/overflow_bubble.cc',
200         'shelf/overflow_bubble.h',
201         'shelf/overflow_button.cc',
202         'shelf/overflow_button.h',
203         'shelf/scoped_observer_with_duplicated_sources.h',
204         'shelf/shelf_alignment_menu.cc',
205         'shelf/shelf_alignment_menu.h',
206         'shelf/shelf_bezel_event_filter.cc',
207         'shelf/shelf_bezel_event_filter.h',
208         'shelf/shelf_layout_manager.cc',
209         'shelf/shelf_layout_manager.h',
210         'shelf/shelf_layout_manager_observer.h',
211         'shelf/shelf_navigator.cc',
212         'shelf/shelf_navigator.h',
213         'shelf/shelf_tooltip_manager.cc',
214         'shelf/shelf_tooltip_manager.h',
215         'shelf/shelf_types.h',
216         'shelf/shelf_util.cc',
217         'shelf/shelf_util.h',
218         'shelf/shelf_view.cc',
219         'shelf/shelf_view.h',
220         'shelf/shelf_widget.cc',
221         'shelf/shelf_widget.h',
222         'shell.cc',
223         'shell.h',
224         'shell_delegate.h',
225         'shell_factory.h',
226         'shell_window_ids.h',
227         'system/bluetooth/bluetooth_observer.h',
228         'system/bluetooth/tray_bluetooth.cc',
229         'system/bluetooth/tray_bluetooth.h',
230         'system/brightness_control_delegate.h',
231         'system/chromeos/audio/tray_audio.cc',
232         'system/chromeos/audio/tray_audio.h',
233         'system/chromeos/enterprise/enterprise_domain_observer.h',
234         'system/chromeos/brightness/brightness_controller_chromeos.cc',
235         'system/chromeos/brightness/brightness_controller_chromeos.h',
236         'system/chromeos/brightness/tray_brightness.cc',
237         'system/chromeos/brightness/tray_brightness.h',
238         'system/chromeos/enterprise/tray_enterprise.h',
239         'system/chromeos/enterprise/tray_enterprise.cc',
240         'system/chromeos/keyboard_brightness_controller.cc',
241         'system/chromeos/keyboard_brightness_controller.h',
242         'system/chromeos/label_tray_view.h',
243         'system/chromeos/label_tray_view.cc',
244         'system/chromeos/managed/tray_locally_managed_user.h',
245         'system/chromeos/managed/tray_locally_managed_user.cc',
246         'system/chromeos/network/network_connect.cc',
247         'system/chromeos/network/network_connect.h',
248         'system/chromeos/network/network_detailed_view.h',
249         'system/chromeos/network/network_icon.cc',
250         'system/chromeos/network/network_icon.h',
251         'system/chromeos/network/network_icon_animation.cc',
252         'system/chromeos/network/network_icon_animation.h',
253         'system/chromeos/network/network_icon_animation_observer.h',
254         'system/chromeos/network/network_observer.h',
255         'system/chromeos/network/network_state_list_detailed_view.cc',
256         'system/chromeos/network/network_state_list_detailed_view.h',
257         'system/chromeos/network/network_state_notifier.cc',
258         'system/chromeos/network/network_state_notifier.h',
259         'system/chromeos/network/tray_network.cc',
260         'system/chromeos/network/tray_network.h',
261         'system/chromeos/network/tray_network_state_observer.cc',
262         'system/chromeos/network/tray_network_state_observer.h',
263         'system/chromeos/network/tray_sms.cc',
264         'system/chromeos/network/tray_sms.h',
265         'system/chromeos/network/tray_vpn.cc',
266         'system/chromeos/network/tray_vpn.h',
267         'system/chromeos/power/power_event_observer.cc',
268         'system/chromeos/power/power_event_observer.h',
269         'system/chromeos/power/power_status.cc',
270         'system/chromeos/power/power_status.h',
271         'system/chromeos/power/power_status_view.cc',
272         'system/chromeos/power/power_status_view.h',
273         'system/chromeos/power/tray_power.cc',
274         'system/chromeos/power/tray_power.h',
275         'system/chromeos/power/user_activity_notifier.cc',
276         'system/chromeos/power/user_activity_notifier.h',
277         'system/chromeos/power/video_activity_notifier.cc',
278         'system/chromeos/power/video_activity_notifier.h',
279         'system/chromeos/screen_security/screen_capture_observer.h',
280         'system/chromeos/screen_security/screen_capture_tray_item.cc',
281         'system/chromeos/screen_security/screen_capture_tray_item.h',
282         'system/chromeos/screen_security/screen_share_observer.h',
283         'system/chromeos/screen_security/screen_share_tray_item.cc',
284         'system/chromeos/screen_security/screen_share_tray_item.h',
285         'system/chromeos/screen_security/screen_tray_item.cc',
286         'system/chromeos/screen_security/screen_tray_item.h',
287         'system/chromeos/settings/tray_settings.cc',
288         'system/chromeos/settings/tray_settings.h',
289         'system/chromeos/system_clock_observer.cc',
290         'system/chromeos/system_clock_observer.h',
291         'system/chromeos/tray_display.cc',
292         'system/chromeos/tray_display.h',
293         'system/chromeos/tray_tracing.cc',
294         'system/chromeos/tray_tracing.h',
295         'system/date/clock_observer.h',
296         'system/date/date_view.cc',
297         'system/date/date_view.h',
298         'system/date/tray_date.cc',
299         'system/date/tray_date.h',
300         'system/drive/drive_observer.h',
301         'system/drive/tray_drive.cc',
302         'system/drive/tray_drive.h',
303         'system/ime/ime_observer.h',
304         'system/ime/tray_ime.cc',
305         'system/ime/tray_ime.h',
306         'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
307         'system/locale/locale_notification_controller.cc',
308         'system/locale/locale_notification_controller.h',
309         'system/logout_button/logout_button_observer.h',
310         'system/logout_button/logout_button_tray.cc',
311         'system/logout_button/logout_button_tray.h',
312         'system/monitor/tray_monitor.cc',
313         'system/monitor/tray_monitor.h',
314         'system/session_length_limit/session_length_limit_observer.h',
315         'system/session_length_limit/tray_session_length_limit.cc',
316         'system/session_length_limit/tray_session_length_limit.h',
317         'system/status_area_widget.cc',
318         'system/status_area_widget.h',
319         'system/status_area_widget_delegate.cc',
320         'system/status_area_widget_delegate.h',
321         'system/system_notifier.cc',
322         'system/system_notifier.h',
323         'system/tray/actionable_view.cc',
324         'system/tray/actionable_view.h',
325         'system/tray/default_system_tray_delegate.cc',
326         'system/tray/default_system_tray_delegate.h',
327         'system/tray/fixed_sized_image_view.cc',
328         'system/tray/fixed_sized_image_view.h',
329         'system/tray/fixed_sized_scroll_view.cc',
330         'system/tray/fixed_sized_scroll_view.h',
331         'system/tray/hover_highlight_view.cc',
332         'system/tray/hover_highlight_view.h',
333         'system/tray/special_popup_row.cc',
334         'system/tray/special_popup_row.h',
335         'system/tray/system_tray.cc',
336         'system/tray/system_tray.h',
337         'system/tray/system_tray_bubble.cc',
338         'system/tray/system_tray_bubble.h',
339         'system/tray/system_tray_delegate.cc',
340         'system/tray/system_tray_delegate.h',
341         'system/tray/system_tray_item.cc',
342         'system/tray/system_tray_item.h',
343         'system/tray/system_tray_notifier.cc',
344         'system/tray/system_tray_notifier.h',
345         'system/tray/throbber_view.cc',
346         'system/tray/throbber_view.h',
347         'system/tray/tray_background_view.cc',
348         'system/tray/tray_background_view.h',
349         'system/tray/tray_bar_button_with_title.cc',
350         'system/tray/tray_bar_button_with_title.h',
351         'system/tray/tray_bubble_wrapper.cc',
352         'system/tray/tray_bubble_wrapper.h',
353         'system/tray/tray_constants.cc',
354         'system/tray/tray_constants.h',
355         'system/tray/tray_details_view.cc',
356         'system/tray/tray_details_view.h',
357         'system/tray/tray_empty.cc',
358         'system/tray/tray_empty.h',
359         'system/tray/tray_event_filter.cc',
360         'system/tray/tray_event_filter.h',
361         'system/tray/tray_image_item.cc',
362         'system/tray/tray_image_item.h',
363         'system/tray/tray_item_more.cc',
364         'system/tray/tray_item_more.h',
365         'system/tray/tray_item_view.cc',
366         'system/tray/tray_item_view.h',
367         'system/tray/tray_notification_view.cc',
368         'system/tray/tray_notification_view.h',
369         'system/tray/tray_popup_header_button.cc',
370         'system/tray/tray_popup_header_button.h',
371         'system/tray/tray_popup_label_button.cc',
372         'system/tray/tray_popup_label_button.cc',
373         'system/tray/tray_popup_label_button.h',
374         'system/tray/tray_popup_label_button_border.cc',
375         'system/tray/tray_popup_label_button_border.h',
376         'system/tray/tray_utils.cc',
377         'system/tray/tray_utils.h',
378         'system/tray/view_click_listener.h',
379         'system/tray_accessibility.cc',
380         'system/tray_accessibility.h',
381         'system/tray_caps_lock.cc',
382         'system/tray_caps_lock.h',
383         'system/tray_update.cc',
384         'system/tray_update.h',
385         'system/user/login_status.cc',
386         'system/user/login_status.h',
387         'system/user/tray_user.cc',
388         'system/user/tray_user.h',
389         'system/user/update_observer.h',
390         'system/user/user_observer.h',
391         'system/web_notification/web_notification_tray.cc',
392         'system/web_notification/web_notification_tray.h',
393         'touch/touch_hud_debug.cc',
394         'touch/touch_hud_debug.h',
395         'touch/touch_hud_projection.cc',
396         'touch/touch_hud_projection.h',
397         'touch/touch_observer_hud.cc',
398         'touch/touch_observer_hud.h',
399         'touch/touch_uma.cc',
400         'touch/touch_uma.h',
401         'volume_control_delegate.h',
402         'wm/app_list_controller.cc',
403         'wm/app_list_controller.h',
404         'wm/always_on_top_controller.cc',
405         'wm/always_on_top_controller.h',
406         'wm/ash_native_cursor_manager.cc',
407         'wm/ash_native_cursor_manager.h',
408         'wm/ash_focus_rules.cc',
409         'wm/ash_focus_rules.h',
410         'wm/base_layout_manager.cc',
411         'wm/base_layout_manager.h',
412         'wm/boot_splash_screen_chromeos.cc',
413         'wm/boot_splash_screen_chromeos.h',
414         'wm/caption_buttons/alternate_frame_caption_button.cc',
415         'wm/caption_buttons/alternate_frame_caption_button.h',
416         'wm/caption_buttons/frame_caption_button_container_view.cc',
417         'wm/caption_buttons/frame_caption_button_container_view.h',
418         'wm/caption_buttons/frame_maximize_button.cc',
419         'wm/caption_buttons/frame_maximize_button.h',
420         'wm/caption_buttons/maximize_bubble_controller.cc',
421         'wm/caption_buttons/maximize_bubble_controller.h',
422         'wm/caption_buttons/maximize_bubble_frame_state.h',
423         'wm/coordinate_conversion.cc',
424         'wm/coordinate_conversion.h',
425         'wm/custom_frame_view_ash.cc',
426         'wm/custom_frame_view_ash.h',
427         'wm/default_window_resizer.cc',
428         'wm/default_window_resizer.h',
429         'wm/dock/docked_window_layout_manager.cc',
430         'wm/dock/docked_window_layout_manager.h',
431         'wm/dock/docked_window_layout_manager_observer.h',
432         'wm/dock/docked_window_resizer.cc',
433         'wm/dock/docked_window_resizer.h',
434         'wm/drag_window_controller.cc',
435         'wm/drag_window_controller.h',
436         'wm/drag_window_resizer.cc',
437         'wm/drag_window_resizer.h',
438         'wm/event_client_impl.cc',
439         'wm/event_client_impl.h',
440         'wm/event_rewriter_event_filter.cc',
441         'wm/event_rewriter_event_filter.h',
442         'wm/frame_border_hit_test_controller.cc',
443         'wm/frame_border_hit_test_controller.h',
444         'wm/header_painter.cc',
445         'wm/header_painter.h',
446         'wm/gestures/long_press_affordance_handler.cc',
447         'wm/gestures/long_press_affordance_handler.h',
448         'wm/gestures/overview_gesture_handler.cc',
449         'wm/gestures/overview_gesture_handler.h',
450         'wm/gestures/shelf_gesture_handler.cc',
451         'wm/gestures/shelf_gesture_handler.h',
452         'wm/gestures/system_pinch_handler.cc',
453         'wm/gestures/system_pinch_handler.h',
454         'wm/gestures/tray_gesture_handler.cc',
455         'wm/gestures/tray_gesture_handler.h',
456         'wm/gestures/two_finger_drag_handler.cc',
457         'wm/gestures/two_finger_drag_handler.h',
458         'wm/image_cursors.cc',
459         'wm/image_cursors.h',
460         'wm/lock_state_controller.cc',
461         'wm/lock_state_controller.h',
462         'wm/lock_state_observer.h',
463         'wm/mru_window_tracker.cc',
464         'wm/mru_window_tracker.h',
465         'wm/overlay_event_filter.cc',
466         'wm/overlay_event_filter.h',
467         'wm/overview/scoped_transform_overview_window.cc',
468         'wm/overview/scoped_transform_overview_window.h',
469         'wm/overview/window_overview.cc',
470         'wm/overview/window_overview.h',
471         'wm/overview/window_selector.cc',
472         'wm/overview/window_selector.h',
473         'wm/overview/window_selector_controller.cc',
474         'wm/overview/window_selector_controller.h',
475         'wm/overview/window_selector_delegate.h',
476         'wm/overview/window_selector_item.cc',
477         'wm/overview/window_selector_item.h',
478         'wm/overview/window_selector_panels.cc',
479         'wm/overview/window_selector_panels.h',
480         'wm/overview/window_selector_window.cc',
481         'wm/overview/window_selector_window.h',
482         'wm/panels/panel_frame_view.cc',
483         'wm/panels/panel_frame_view.h',
484         'wm/panels/panel_layout_manager.cc',
485         'wm/panels/panel_layout_manager.h',
486         'wm/panels/panel_window_event_handler.cc',
487         'wm/panels/panel_window_event_handler.h',
488         'wm/panels/panel_window_resizer.cc',
489         'wm/panels/panel_window_resizer.h',
490         'wm/partial_screenshot_view.cc',
491         'wm/partial_screenshot_view.h',
492         'wm/power_button_controller.cc',
493         'wm/power_button_controller.h',
494         'wm/resize_shadow.cc',
495         'wm/resize_shadow.h',
496         'wm/resize_shadow_controller.cc',
497         'wm/resize_shadow_controller.h',
498         'wm/root_window_layout_manager.cc',
499         'wm/root_window_layout_manager.h',
500         'wm/screen_dimmer.cc',
501         'wm/screen_dimmer.h',
502         'wm/session_state_animator.cc',
503         'wm/session_state_animator.h',
504         'wm/stacking_controller.cc',
505         'wm/stacking_controller.h',
506         'wm/status_area_layout_manager.cc',
507         'wm/status_area_layout_manager.h',
508         'wm/sticky_keys.cc',
509         'wm/sticky_keys.h',
510         'wm/system_background_controller.cc',
511         'wm/system_background_controller.h',
512         'wm/system_gesture_event_filter.cc',
513         'wm/system_gesture_event_filter.h',
514         'wm/system_modal_container_event_filter.cc',
515         'wm/system_modal_container_event_filter.h',
516         'wm/system_modal_container_event_filter_delegate.h',
517         'wm/system_modal_container_layout_manager.cc',
518         'wm/system_modal_container_layout_manager.h',
519         'wm/toplevel_window_event_handler.cc',
520         'wm/toplevel_window_event_handler.h',
521         'wm/user_activity_detector.cc',
522         'wm/user_activity_detector.h',
523         'wm/user_activity_observer.h',
524         'wm/video_detector.cc',
525         'wm/video_detector.h',
526         'wm/window_animations.cc',
527         'wm/window_animations.h',
528         'wm/window_cycle_controller.cc',
529         'wm/window_cycle_controller.h',
530         'wm/window_cycle_list.cc',
531         'wm/window_cycle_list.h',
532         'wm/window_positioner.cc',
533         'wm/window_positioner.h',
534         'wm/window_state.cc',
535         'wm/window_state.h',
536         'wm/window_state_observer.h',
537         'wm/window_properties.cc',
538         'wm/window_properties.h',
539         'wm/window_resizer.cc',
540         'wm/window_resizer.h',
541         'wm/window_util.cc',
542         'wm/window_util.h',
543         'wm/wm_types.cc',
544         'wm/wm_types.h',
545         'wm/workspace_controller.cc',
546         'wm/workspace_controller.h',
547         'wm/workspace/colored_window_controller.cc',
548         'wm/workspace/colored_window_controller.h',
549         'wm/workspace/desktop_background_fade_controller.cc',
550         'wm/workspace/desktop_background_fade_controller.h',
551         'wm/workspace/magnetism_matcher.cc',
552         'wm/workspace/magnetism_matcher.h',
553         'wm/workspace/multi_window_resize_controller.cc',
554         'wm/workspace/multi_window_resize_controller.h',
555         'wm/workspace/phantom_window_controller.cc',
556         'wm/workspace/phantom_window_controller.h',
557         'wm/workspace/snap_sizer.cc',
558         'wm/workspace/snap_sizer.h',
559         'wm/workspace/snap_types.h',
560         'wm/workspace/workspace_event_handler.cc',
561         'wm/workspace/workspace_event_handler.h',
562         'wm/workspace/workspace_layout_manager.cc',
563         'wm/workspace/workspace_layout_manager.h',
564         'wm/workspace/workspace_types.h',
565         'wm/workspace/workspace_window_resizer.cc',
566         'wm/workspace/workspace_window_resizer.h',
567       ],
568       'conditions': [
569         ['OS=="win"', {
570           'sources/': [
571             ['exclude', 'host/root_window_host_factory.cc'],
572             ['exclude', 'wm/sticky_keys.cc'],
573             ['exclude', 'wm/sticky_keys.h'],
574           ],
575           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
576           'msvs_disabled_warnings': [ 4267, ],
577         }],
578         ['OS!="linux"', {
579           'sources/': [
580             ['exclude', 'system/monitor/tray_monitor.cc'],
581             ['exclude', 'system/monitor/tray_monitor.h'],
582           ],
583         }],
584         ['use_x11!=1', {
585           'sources/': [
586             ['exclude', 'display/display_change_observer_chromeos.cc'],
587             ['exclude', 'display/display_change_observer_chromeos.h'],
588             ['exclude', 'display/display_error_observer_chromeos.cc'],
589             ['exclude', 'display/display_error_observer_chromeos.h'],
590           ],
591         }],
592         ['chromeos==1', {
593           'dependencies': [
594             '../chromeos/chromeos.gyp:chromeos',
595             # Ash #includes power_supply_properties.pb.h directly.
596             '../chromeos/chromeos.gyp:power_manager_proto',
597           ],
598         }, { # else: chromeos!=1
599           'sources/': [
600             ['exclude', '/chromeos/'],
601             ['exclude', 'display/output_configurator_animation.cc'],
602             ['exclude', 'display/output_configurator_animation.h'],
603           ],
604         }],
605       ],
606     },
607     {
608       'target_name': 'ash_test_support',
609       'type': 'static_library',
610       'dependencies': [
611         '../skia/skia.gyp:skia',
612         '../testing/gtest.gyp:gtest',
613         'ash',
614         'ash_resources',
615       ],
616       'sources': [
617         'test/app_list_controller_test_api.cc',
618         'test/app_list_controller_test_api.h',
619         'test/ash_test_base.cc',
620         'test/ash_test_base.h',
621         'test/ash_test_helper.cc',
622         'test/ash_test_helper.h',
623         'test/cursor_manager_test_api.cc',
624         'test/cursor_manager_test_api.h',
625         'test/launcher_test_api.cc',
626         'test/launcher_test_api.h',
627         'test/shelf_view_test_api.cc',
628         'test/shelf_view_test_api.h',
629         'test/display_manager_test_api.cc',
630         'test/display_manager_test_api.h',
631         'test/launcher_item_delegate_manager_test_api.cc',
632         'test/launcher_item_delegate_manager_test_api.h',
633         'test/mirror_window_test_api.cc',
634         'test/mirror_window_test_api.h',
635         'test/shell_test_api.cc',
636         'test/shell_test_api.h',
637         'test/test_activation_delegate.cc',
638         'test/test_activation_delegate.h',
639         'test/test_user_wallpaper_delegate.cc',
640         'test/test_user_wallpaper_delegate.h',
641         'test/test_launcher_delegate.cc',
642         'test/test_launcher_delegate.h',
643         'test/test_launcher_item_delegate.cc',
644         'test/test_launcher_item_delegate.h',
645         'test/test_screenshot_delegate.cc',
646         'test/test_screenshot_delegate.cc',
647         'test/test_session_state_delegate.cc',
648         'test/test_session_state_delegate.h',
649         'test/test_shell_delegate.cc',
650         'test/test_shell_delegate.h',
651         'test/test_suite.cc',
652         'test/test_suite.h',
653         'test/test_suite_init.h',
654         'test/test_suite_init.mm',
655         'test/test_system_tray_delegate.cc',
656         'test/test_system_tray_delegate.h',
657         'test/ui_controls_factory_ash.cc',
658         'test/ui_controls_factory_ash.h',
659       ],
660       'conditions': [
661         ['OS=="win"', {
662           'dependencies': [
663             '../ipc/ipc.gyp:ipc',
664             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
665             '../win8/win8.gyp:metro_viewer',
666             '../win8/win8.gyp:test_support_win8',
667             '../win8/win8_tests.gyp:test_registrar',
668           ],
669           'sources': [
670             'test/test_metro_viewer_process_host.cc',
671             'test/test_metro_viewer_process_host.h',
672           ],
673           'msvs_settings': {
674             'VCCLCompilerTool': {
675               'ForcedIncludeFiles': [ 'build/intsafe_workaround.h' ],
676             },
677           },
678         }],
679       ],
680     },
681     {
682       'target_name': 'ash_unittests',
683       'type': 'executable',
684       'dependencies': [
685         '../base/base.gyp:base',
686         '../base/base.gyp:test_support_base',
687         '../chrome/chrome_resources.gyp:packed_resources',
688         '../content/content.gyp:content_browser',
689         '../content/content_shell_and_tests.gyp:test_support_content',
690         '../skia/skia.gyp:skia',
691         '../testing/gtest.gyp:gtest',
692         '../third_party/icu/icu.gyp:icui18n',
693         '../third_party/icu/icu.gyp:icuuc',
694         '../ui/app_list/app_list.gyp:app_list',
695         '../ui/aura/aura.gyp:aura',
696         '../ui/aura/aura.gyp:aura_test_support',
697         '../ui/compositor/compositor.gyp:compositor',
698         '../ui/events/events.gyp:events',
699         '../ui/gfx/gfx.gyp:gfx',
700         '../ui/keyboard/keyboard.gyp:keyboard',
701         '../ui/message_center/message_center.gyp:message_center',
702         '../ui/message_center/message_center.gyp:message_center_test_support',
703         '../ui/ui.gyp:ui',
704         '../ui/ui.gyp:ui_resources',
705         '../ui/ui.gyp:ui_test_support',
706         '../ui/views/views.gyp:views',
707         '../ui/views/views.gyp:views_examples_with_content_lib',
708         '../ui/views/views.gyp:views_test_support',
709         '../ui/views/views.gyp:views_with_content_test_support',
710         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
711         '../url/url.gyp:url_lib',
712         'ash_strings.gyp:ash_strings',
713         'ash',
714         'ash_resources',
715         'ash_test_support',
716       ],
717       'sources': [
718         '../ui/compositor/test/layer_animator_test_controller.cc',
719         '../ui/compositor/test/layer_animator_test_controller.h',
720         '../ui/views/test/test_views_delegate.cc',
721         '../ui/views/test/test_views_delegate.h',
722         'accelerators/accelerator_commands_unittest.cc',
723         'accelerators/accelerator_controller_unittest.cc',
724         'accelerators/accelerator_filter_unittest.cc',
725         'accelerators/accelerator_table_unittest.cc',
726         'accelerators/nested_dispatcher_controller_unittest.cc',
727         'autoclick/autoclick_unittest.cc',
728         'desktop_background/desktop_background_controller_unittest.cc',
729         'desktop_background/wallpaper_resizer_unittest.cc',
730         'dip_unittest.cc',
731         'display/display_change_observer_chromeos_unittest.cc',
732         'display/display_controller_unittest.cc',
733         'display/display_error_observer_chromeos_unittest.cc',
734         'display/display_info_unittest.cc',
735         'display/display_manager_unittest.cc',
736         'display/mirror_window_controller_unittest.cc',
737         'display/mouse_cursor_event_filter_unittest.cc',
738         'display/resolution_notification_controller_unittest.cc',
739         'display/root_window_transformers_unittest.cc',
740         'display/screen_position_controller_unittest.cc',
741         'drag_drop/drag_drop_controller_unittest.cc',
742         'drag_drop/drag_drop_tracker_unittest.cc',
743         'extended_desktop_unittest.cc',
744         'focus_cycler_unittest.cc',
745         'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
746         'keyboard_overlay/keyboard_overlay_view_unittest.cc',
747         'launcher/launcher_model_unittest.cc',
748         'launcher/launcher_unittest.cc',
749         'magnifier/magnification_controller_unittest.cc',
750         'root_window_controller_unittest.cc',
751         'screen_ash_unittest.cc',
752         'screensaver/screensaver_view_unittest.cc',
753         'session_state_delegate_stub.cc',
754         'session_state_delegate_stub.h',
755         'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
756         'shelf/shelf_layout_manager_unittest.cc',
757         'shelf/shelf_navigator_unittest.cc',
758         'shelf/shelf_tooltip_manager_unittest.cc',
759         'shelf/shelf_view_unittest.cc',
760         'shelf/shelf_widget_unittest.cc',
761         'shell/app_list.cc',
762         'shell/bubble.cc',
763         'shell/context_menu.cc',
764         'shell/context_menu.h',
765         'shell/launcher_delegate_impl.cc',
766         'shell/launcher_delegate_impl.h',
767         'shell/lock_view.cc',
768         'shell/panel_window.cc',
769         'shell/panel_window.h',
770         'shell/shell_delegate_impl.cc',
771         'shell/shell_delegate_impl.h',
772         'shell/toplevel_window.cc',
773         'shell/toplevel_window.h',
774         'shell/widgets.cc',
775         'shell/window_type_launcher.cc',
776         'shell/window_type_launcher.h',
777         'shell/window_watcher.cc',
778         'shell/window_watcher.h',
779         'shell/window_watcher_launcher_item_delegate.cc',
780         'shell/window_watcher_launcher_item_delegate.h',
781         'shell/window_watcher_unittest.cc',
782         'shell_unittest.cc',
783         'system/chromeos/managed/tray_locally_managed_user_unittest.cc',
784         'system/chromeos/network/network_state_notifier_unittest.cc',
785         'system/chromeos/power/power_status_unittest.cc',
786         'system/chromeos/power/tray_power_unittest.cc',
787         'system/chromeos/screen_security/screen_tray_item_unittest.cc',
788         'system/chromeos/tray_display_unittest.cc',
789         'system/date/date_view_unittest.cc',
790         'system/tray/system_tray_unittest.cc',
791         'system/user/tray_user_unittest.cc',
792         'system/web_notification/web_notification_tray_unittest.cc',
793         'test/ash_test_helper_unittest.cc',
794         'test/ash_unittests.cc',
795         'tooltips/tooltip_controller_unittest.cc',
796         'touch/touch_observer_hud_unittest.cc',
797         'wm/app_list_controller_unittest.cc',
798         'wm/ash_native_cursor_manager_unittest.cc',
799         'wm/base_layout_manager_unittest.cc',
800         'wm/caption_buttons/frame_caption_button_container_view_unittest.cc',
801         'wm/caption_buttons/frame_maximize_button_unittest.cc',
802         'wm/dock/docked_window_layout_manager_unittest.cc',
803         'wm/dock/docked_window_resizer_unittest.cc',
804         'wm/drag_window_resizer_unittest.cc',
805         'wm/header_painter_unittest.cc',
806         'wm/lock_state_controller_unittest.cc',
807         'wm/mru_window_tracker_unittest.cc',
808         'wm/overview/window_selector_unittest.cc',
809         'wm/panels/panel_layout_manager_unittest.cc',
810         'wm/panels/panel_window_resizer_unittest.cc',
811         'wm/partial_screenshot_view_unittest.cc',
812         'wm/resize_shadow_and_cursor_unittest.cc',
813         'wm/screen_dimmer_unittest.cc',
814         'wm/stacking_controller_unittest.cc',
815         'wm/sticky_keys_unittest.cc',
816         'wm/system_gesture_event_filter_unittest.cc',
817         'wm/system_modal_container_layout_manager_unittest.cc',
818         'wm/toplevel_window_event_handler_unittest.cc',
819         'wm/user_activity_detector_unittest.cc',
820         'wm/video_detector_unittest.cc',
821         'wm/window_animations_unittest.cc',
822         'wm/window_cycle_controller_unittest.cc',
823         'wm/window_manager_unittest.cc',
824         'wm/window_modality_controller_unittest.cc',
825         'wm/window_util_unittest.cc',
826         'wm/workspace/magnetism_matcher_unittest.cc',
827         'wm/workspace/multi_window_resize_controller_unittest.cc',
828         'wm/workspace/snap_sizer_unittest.cc',
829         'wm/workspace/workspace_event_handler_test_helper.cc',
830         'wm/workspace/workspace_event_handler_test_helper.h',
831         'wm/workspace/workspace_event_handler_unittest.cc',
832         'wm/workspace/workspace_layout_manager_unittest.cc',
833         'wm/workspace/workspace_window_resizer_unittest.cc',
834         'wm/workspace_controller_test_helper.cc',
835         'wm/workspace_controller_test_helper.h',
836         'wm/workspace_controller_unittest.cc',
837       ],
838       'conditions': [
839         ['OS=="win"', {
840           'sources/': [
841             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
842             ['exclude', 'focus_cycler_unittest.cc'],
843             # All tests for multiple displays: not supported on Windows Ash.
844             ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
845             ['exclude', 'wm/drag_window_resizer_unittest.cc'],
846             # Can't resize on Windows Ash. http://crbug.com/165962
847             ['exclude', 'ash_root_window_transformer_unittest.cc'],
848             ['exclude', 'magnifier/magnification_controller_unittest.cc'],
849             ['exclude', 'wm/workspace/workspace_window_resizer_unittest.cc'],
850             ['exclude', 'wm/sticky_keys_unittest.cc'],
851             ['exclude', 'autoclick/autoclick_unittest.cc'],
852           ],
853           'sources': [
854             '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc',
855           ],
856           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
857           'msvs_disabled_warnings': [ 4267, ],
858         }],
859         ['use_x11!=1', {
860           'sources/': [
861             ['exclude', 'display/display_change_observer_chromeos_unittest.cc'],
862             ['exclude', 'display/display_error_observer_chromeos_unittest.cc'],
863           ],
864         }],
865         ['chromeos==1', {
866           'dependencies': [
867             '../chromeos/chromeos.gyp:power_manager_proto',
868           ],
869         }],
870         ['OS=="linux" and component=="shared_library" and linux_use_tcmalloc==1', {
871           'dependencies': [
872             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
873           ],
874           'link_settings': {
875             'ldflags': ['-rdynamic'],
876           },
877         }],
878       ],
879     },
880     {
881       'target_name': 'ash_shell',
882       'type': 'executable',
883       'dependencies': [
884         'ash_strings.gyp:ash_strings',
885         '../base/base.gyp:base',
886         '../base/base.gyp:base_i18n',
887         '../chrome/chrome_resources.gyp:packed_resources',
888         '../content/content_shell_and_tests.gyp:content_shell_lib',
889         '../content/content.gyp:content',
890         '../skia/skia.gyp:skia',
891         '../third_party/icu/icu.gyp:icui18n',
892         '../third_party/icu/icu.gyp:icuuc',
893         '../ui/app_list/app_list.gyp:app_list',
894         '../ui/aura/aura.gyp:aura',
895         '../ui/compositor/compositor.gyp:compositor',
896         '../ui/events/events.gyp:events',
897         '../ui/gfx/gfx.gyp:gfx',
898         '../ui/keyboard/keyboard.gyp:keyboard',
899         '../ui/message_center/message_center.gyp:message_center',
900         '../ui/ui.gyp:ui',
901         '../ui/ui.gyp:ui_resources',
902         '../ui/views/views.gyp:views',
903         '../ui/views/views.gyp:views_examples_lib',
904         '../ui/views/views.gyp:views_examples_with_content_lib',
905         '../ui/views/views.gyp:views_test_support',
906         'ash',
907         'ash_resources',
908       ],
909       'sources': [
910         'session_state_delegate_stub.cc',
911         'session_state_delegate_stub.h',
912         'shell/app_list.cc',
913         'shell/bubble.cc',
914         'shell/content_client/shell_browser_main_parts.cc',
915         'shell/content_client/shell_browser_main_parts.h',
916         'shell/content_client/shell_content_browser_client.cc',
917         'shell/content_client/shell_content_browser_client.h',
918         'shell/content_client/shell_main_delegate.cc',
919         'shell/content_client/shell_main_delegate.h',
920         'shell/context_menu.cc',
921         'shell/context_menu.h',
922         'shell/example_factory.h',
923         'shell/launcher_delegate_impl.cc',
924         'shell/launcher_delegate_impl.h',
925         'shell/lock_view.cc',
926         'shell/panel_window.cc',
927         'shell/panel_window.h',
928         'shell/shell_delegate_impl.cc',
929         'shell/shell_delegate_impl.h',
930         'shell/shell_main.cc',
931         'shell/shell_main_parts.cc',
932         'shell/shell_main_parts.h',
933         'shell/toplevel_window.cc',
934         'shell/toplevel_window.h',
935         'shell/widgets.cc',
936         'shell/window_type_launcher.cc',
937         'shell/window_type_launcher.h',
938         'shell/window_watcher.cc',
939         'shell/window_watcher.h',
940         'shell/window_watcher_launcher_item_delegate.cc',
941         'shell/window_watcher_launcher_item_delegate.h',
942         '../content/app/startup_helper_win.cc',
943         '../ui/views/test/test_views_delegate.cc',
944       ],
945       'conditions': [
946         ['OS=="win"', {
947           'msvs_settings': {
948             'VCLinkerTool': {
949               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
950             },
951           },
952           'dependencies': [
953             '../sandbox/sandbox.gyp:sandbox',
954           ],
955         }],
956       ],
957     },
958   ],