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