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