Enabled volume buttons when TouchView is active
[chromium-blink-merge.git] / ash / ash.gyp
blob66279e8f6a3869a4e6ed0c10c3057ac87cc91405
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_browser',
23         '../media/media.gyp:media',
24         '../net/net.gyp:net',
25         '../skia/skia.gyp:skia',
26         '../third_party/icu/icu.gyp:icui18n',
27         '../third_party/icu/icu.gyp:icuuc',
28         '../ui/accessibility/accessibility.gyp:accessibility',
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/base/ui_base.gyp:ui_base',
33         '../ui/compositor/compositor.gyp:compositor',
34         '../ui/events/events.gyp:events',
35         '../ui/events/events.gyp:events_base',
36         '../ui/gfx/gfx.gyp:gfx',
37         '../ui/gfx/gfx.gyp:gfx_geometry',
38         '../ui/keyboard/keyboard.gyp:keyboard',
39         '../ui/message_center/message_center.gyp:message_center',
40         '../ui/resources/ui_resources.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         '../ui/wm/wm.gyp:wm',
45         '../url/url.gyp:url_lib',
46         'ash_strings.gyp:ash_strings',
47         'ash_resources',
48       ],
49       'defines': [
50         'ASH_IMPLEMENTATION',
51       ],
52       'sources': [
53         # All .cc, .h under ash, except unittests
54         'accelerators/accelerator_commands.cc',
55         'accelerators/accelerator_commands.h',
56         'accelerators/accelerator_controller.cc',
57         'accelerators/accelerator_controller.h',
58         'accelerators/accelerator_dispatcher.cc',
59         'accelerators/accelerator_dispatcher.h',
60         'accelerators/accelerator_dispatcher_linux.cc',
61         'accelerators/accelerator_dispatcher_win.cc',
62         'accelerators/accelerator_filter.cc',
63         'accelerators/accelerator_filter.h',
64         'accelerators/accelerator_table.cc',
65         'accelerators/accelerator_table.h',
66         'accelerators/debug_commands.cc',
67         'accelerators/debug_commands.h',
68         'accelerators/exit_warning_handler.cc',
69         'accelerators/exit_warning_handler.h',
70         'accelerators/key_hold_detector.cc',
71         'accelerators/key_hold_detector.h',
72         'accelerators/focus_manager_factory.cc',
73         'accelerators/focus_manager_factory.h',
74         'accelerators/magnifier_key_scroller.cc',
75         'accelerators/magnifier_key_scroller.h',
76         'accelerators/nested_dispatcher_controller.cc',
77         'accelerators/nested_dispatcher_controller.h',
78         'accelerators/spoken_feedback_toggler.cc',
79         'accelerators/spoken_feedback_toggler.h',
80         'accelerometer/accelerometer_controller.cc',
81         'accelerometer/accelerometer_controller.h',
82         'accelerometer/accelerometer_observer.h',
83         'accessibility_delegate.h',
84         'audio/sounds.cc',
85         'audio/sounds.h',
86         'autoclick/autoclick_controller.cc',
87         'autoclick/autoclick_controller.h',
88         'ash_constants.cc',
89         'ash_constants.h',
90         'ash_switches.cc',
91         'ash_switches.h',
92         'cancel_mode.cc',
93         'cancel_mode.h',
94         'debug.cc',
95         'debug.h',
96         'default_accessibility_delegate.cc',
97         'default_accessibility_delegate.h',
98         'default_user_wallpaper_delegate.cc',
99         'default_user_wallpaper_delegate.h',
100         'desktop_background/desktop_background_controller.cc',
101         'desktop_background/desktop_background_controller.h',
102         'desktop_background/desktop_background_controller_observer.h',
103         'desktop_background/desktop_background_view.cc',
104         'desktop_background/desktop_background_view.h',
105         'desktop_background/desktop_background_widget_controller.cc',
106         'desktop_background/desktop_background_widget_controller.h',
107         'desktop_background/user_wallpaper_delegate.h',
108         'desktop_background/wallpaper_resizer.cc',
109         'desktop_background/wallpaper_resizer.h',
110         'desktop_background/wallpaper_resizer_observer.h',
111         'display/cursor_window_controller.cc',
112         'display/cursor_window_controller.h',
113         'display/display_change_observer_chromeos.cc',
114         'display/display_change_observer_chromeos.h',
115         'display/display_configurator_animation.cc',
116         'display/display_configurator_animation.h',
117         'display/display_controller.cc',
118         'display/display_controller.h',
119         'display/display_error_observer_chromeos.cc',
120         'display/display_error_observer_chromeos.h',
121         'display/display_info.h',
122         'display/display_info.cc',
123         'display/display_layout.h',
124         'display/display_layout.cc',
125         'display/display_layout_store.h',
126         'display/display_layout_store.cc',
127         'display/display_manager.cc',
128         'display/display_manager.h',
129         'display/display_pref_util.h',
130         'display/event_transformation_handler.cc',
131         'display/event_transformation_handler.h',
132         'display/mirror_window_controller.cc',
133         'display/mirror_window_controller.h',
134         'display/mouse_cursor_event_filter.cc',
135         'display/mouse_cursor_event_filter.h',
136         'display/projecting_observer_chromeos.cc',
137         'display/projecting_observer_chromeos.h',
138         'display/resolution_notification_controller.cc',
139         'display/resolution_notification_controller.h',
140         'display/root_window_transformers.cc',
141         'display/root_window_transformers.h',
142         'display/screen_ash.cc',
143         'display/screen_ash.h',
144         'display/screen_position_controller.cc',
145         'display/screen_position_controller.h',
146         'display/shared_display_edge_indicator.cc',
147         'display/shared_display_edge_indicator.h',
148         'display/virtual_keyboard_window_controller.cc',
149         'display/virtual_keyboard_window_controller.h',
150         'drag_drop/drag_drop_controller.cc',
151         'drag_drop/drag_drop_controller.h',
152         'drag_drop/drag_drop_tracker.cc',
153         'drag_drop/drag_drop_tracker.h',
154         'drag_drop/drag_image_view.cc',
155         'drag_drop/drag_image_view.h',
156         'first_run/desktop_cleaner.cc',
157         'first_run/desktop_cleaner.h',
158         'first_run/first_run_helper.cc',
159         'first_run/first_run_helper.h',
160         'first_run/first_run_helper_impl.cc',
161         'first_run/first_run_helper_impl.h',
162         'focus_cycler.cc',
163         'focus_cycler.h',
164         'frame/caption_buttons/alternate_frame_size_button.cc',
165         'frame/caption_buttons/alternate_frame_size_button.h',
166         'frame/caption_buttons/alternate_frame_size_button_delegate.h',
167         'frame/caption_buttons/bubble_contents_button_row.cc',
168         'frame/caption_buttons/bubble_contents_button_row.h',
169         'frame/caption_buttons/caption_button_types.h',
170         'frame/caption_buttons/frame_caption_button.cc',
171         'frame/caption_buttons/frame_caption_button.h',
172         'frame/caption_buttons/frame_caption_button_container_view.cc',
173         'frame/caption_buttons/frame_caption_button_container_view.h',
174         'frame/caption_buttons/frame_maximize_button.cc',
175         'frame/caption_buttons/frame_maximize_button.h',
176         'frame/caption_buttons/frame_maximize_button_observer.h',
177         'frame/caption_buttons/maximize_bubble_controller.cc',
178         'frame/caption_buttons/maximize_bubble_controller.h',
179         'frame/caption_buttons/maximize_bubble_controller_bubble.cc',
180         'frame/caption_buttons/maximize_bubble_controller_bubble.h',
181         'frame/custom_frame_view_ash.cc',
182         'frame/custom_frame_view_ash.h',
183         'frame/frame_border_hit_test_controller.cc',
184         'frame/frame_border_hit_test_controller.h',
185         'frame/default_header_painter.cc',
186         'frame/default_header_painter.h',
187         'frame/frame_util.cc',
188         'frame/frame_util.h',
189         'frame/header_painter.h',
190         'frame/header_painter_util.cc',
191         'frame/header_painter_util.h',
192         'gpu_support.h',
193         'gpu_support_stub.cc',
194         'gpu_support_stub.h',
195         'high_contrast/high_contrast_controller.cc',
196         'high_contrast/high_contrast_controller.h',
197         'host/ash_remote_window_tree_host_win.cc',
198         'host/ash_remote_window_tree_host_win.h',
199         'host/ash_window_tree_host.h',
200         'host/ash_window_tree_host_ozone.cc',
201         'host/ash_window_tree_host_win.cc',
202         'host/ash_window_tree_host_x11.cc',
203         'host/ash_window_tree_host_x11.h',
204         'host/root_window_transformer.h',
205         'host/transformer_helper.cc',
206         'host/transformer_helper.h',
207         'ime/candidate_view.cc',
208         'ime/candidate_view.h',
209         'ime/candidate_window_view.cc',
210         'ime/candidate_window_view.h',
211         'ime/infolist_window.cc',
212         'ime/infolist_window.h',
213         'ime/input_method_menu_item.cc',
214         'ime/input_method_menu_item.h',
215         'ime/input_method_menu_manager.cc',
216         'ime/input_method_menu_manager.h',
217         'ime/mode_indicator_view.cc',
218         'ime/mode_indicator_view.h',
219         'keyboard_uma_event_filter.cc',
220         'keyboard_uma_event_filter.h',
221         'magnifier/magnification_controller.cc',
222         'magnifier/magnification_controller.h',
223         'magnifier/magnifier_constants.h',
224         'magnifier/partial_magnification_controller.cc',
225         'magnifier/partial_magnification_controller.h',
226         'metrics/user_metrics_recorder.cc',
227         'metrics/user_metrics_recorder.h',
228         'multi_profile_uma.cc',
229         'multi_profile_uma.h',
230         'popup_message.cc',
231         'popup_message.h',
232         'root_window_controller.cc',
233         'root_window_controller.h',
234         'root_window_settings.cc',
235         'root_window_settings.h',
236         'rotator/screen_rotation.cc',
237         'rotator/screen_rotation.h',
238         'scoped_target_root_window.cc',
239         'scoped_target_root_window.h',
240         'screen_util.cc',
241         'screen_util.h',
242         'screenshot_delegate.h',
243         'session/session_state_delegate.h',
244         'session/session_state_observer.cc',
245         'session/session_state_observer.h',
246         'session/user_info.h',
247         'shelf/app_list_button.cc',
248         'shelf/app_list_button.h',
249         'shelf/app_list_shelf_item_delegate.cc',
250         'shelf/app_list_shelf_item_delegate.h',
251         'shelf/background_animator.cc',
252         'shelf/background_animator.h',
253         'shelf/overflow_bubble.cc',
254         'shelf/overflow_bubble.h',
255         'shelf/overflow_bubble_view.cc',
256         'shelf/overflow_bubble_view.h',
257         'shelf/overflow_button.cc',
258         'shelf/overflow_button.h',
259         'shelf/scoped_observer_with_duplicated_sources.h',
260         'shelf/shelf.cc',
261         'shelf/shelf.h',
262         'shelf/shelf_alignment_menu.cc',
263         'shelf/shelf_alignment_menu.h',
264         'shelf/shelf_bezel_event_filter.cc',
265         'shelf/shelf_bezel_event_filter.h',
266         'shelf/shelf_button.cc',
267         'shelf/shelf_button.h',
268         'shelf/shelf_button_host.h',
269         'shelf/shelf_constants.cc',
270         'shelf/shelf_constants.h',
271         'shelf/shelf_delegate.h',
272         'shelf/shelf_icon_observer.h',
273         'shelf/shelf_item_delegate.h',
274         'shelf/shelf_item_delegate_manager.cc',
275         'shelf/shelf_item_delegate_manager.h',
276         'shelf/shelf_item_types.cc',
277         'shelf/shelf_item_types.h',
278         'shelf/shelf_layout_manager.cc',
279         'shelf/shelf_layout_manager.h',
280         'shelf/shelf_layout_manager_observer.h',
281         'shelf/shelf_menu_model.h',
282         'shelf/shelf_model.cc',
283         'shelf/shelf_model.h',
284         'shelf/shelf_model_observer.h',
285         'shelf/shelf_navigator.cc',
286         'shelf/shelf_navigator.h',
287         'shelf/shelf_tooltip_manager.cc',
288         'shelf/shelf_tooltip_manager.h',
289         'shelf/shelf_types.h',
290         'shelf/shelf_util.cc',
291         'shelf/shelf_util.h',
292         'shelf/shelf_view.cc',
293         'shelf/shelf_view.h',
294         'shelf/shelf_widget.cc',
295         'shelf/shelf_widget.h',
296         'shelf/shelf_window_watcher.cc',
297         'shelf/shelf_window_watcher.h',
298         'shelf/shelf_window_watcher_item_delegate.cc',
299         'shelf/shelf_window_watcher_item_delegate.h',
300         'shell.cc',
301         'shell.h',
302         'shell_delegate.h',
303         'shell_factory.h',
304         'shell_window_ids.h',
305         'sticky_keys/sticky_keys_state.h',
306         'sticky_keys/sticky_keys_controller.cc',
307         'sticky_keys/sticky_keys_controller.h',
308         'sticky_keys/sticky_keys_overlay.cc',
309         'sticky_keys/sticky_keys_overlay.h',
310         'switchable_windows.cc',
311         'switchable_windows.h',
312         'system/audio/audio_observer.h',
313         'system/audio/tray_audio.cc',
314         'system/audio/tray_audio.h',
315         'system/audio/tray_audio_delegate.h',
316         'system/audio/volume_view.cc',
317         'system/audio/volume_view.h',
318         'system/bluetooth/bluetooth_observer.h',
319         'system/bluetooth/tray_bluetooth.cc',
320         'system/bluetooth/tray_bluetooth.h',
321         'system/brightness_control_delegate.h',
322         'system/chromeos/audio/audio_detailed_view.cc',
323         'system/chromeos/audio/audio_detailed_view.h',
324         'system/chromeos/audio/tray_audio_chromeos.cc',
325         'system/chromeos/audio/tray_audio_chromeos.h',
326         'system/chromeos/audio/tray_audio_delegate_chromeos.cc',
327         'system/chromeos/audio/tray_audio_delegate_chromeos.h',
328         'system/chromeos/bluetooth/bluetooth_notification_controller.cc',
329         'system/chromeos/bluetooth/bluetooth_notification_controller.h',
330         'system/chromeos/brightness/brightness_controller_chromeos.cc',
331         'system/chromeos/brightness/brightness_controller_chromeos.h',
332         'system/chromeos/brightness/tray_brightness.cc',
333         'system/chromeos/brightness/tray_brightness.h',
334         'system/chromeos/enterprise/enterprise_domain_observer.h',
335         'system/chromeos/enterprise/tray_enterprise.cc',
336         'system/chromeos/enterprise/tray_enterprise.h',
337         'system/chromeos/keyboard_brightness_controller.cc',
338         'system/chromeos/keyboard_brightness_controller.h',
339         'system/chromeos/label_tray_view.cc',
340         'system/chromeos/label_tray_view.h',
341         'system/chromeos/managed/tray_locally_managed_user.cc',
342         'system/chromeos/managed/tray_locally_managed_user.h',
343         'system/chromeos/network/network_connect.cc',
344         'system/chromeos/network/network_connect.h',
345         'system/chromeos/network/network_detailed_view.h',
346         'system/chromeos/network/network_icon.cc',
347         'system/chromeos/network/network_icon.h',
348         'system/chromeos/network/network_icon_animation.cc',
349         'system/chromeos/network/network_icon_animation.h',
350         'system/chromeos/network/network_icon_animation_observer.h',
351         'system/chromeos/network/network_observer.h',
352         'system/chromeos/network/network_portal_detector_observer.h',
353         'system/chromeos/network/network_state_list_detailed_view.cc',
354         'system/chromeos/network/network_state_list_detailed_view.h',
355         'system/chromeos/network/network_state_notifier.cc',
356         'system/chromeos/network/network_state_notifier.h',
357         'system/chromeos/network/tray_network.cc',
358         'system/chromeos/network/tray_network.h',
359         'system/chromeos/network/tray_network_state_observer.cc',
360         'system/chromeos/network/tray_network_state_observer.h',
361         'system/chromeos/network/tray_sms.cc',
362         'system/chromeos/network/tray_sms.h',
363         'system/chromeos/network/tray_vpn.cc',
364         'system/chromeos/network/tray_vpn.h',
365         'system/chromeos/power/power_event_observer.cc',
366         'system/chromeos/power/power_event_observer.h',
367         'system/chromeos/power/power_status.cc',
368         'system/chromeos/power/power_status.h',
369         'system/chromeos/power/power_status_view.cc',
370         'system/chromeos/power/power_status_view.h',
371         'system/chromeos/power/tray_power.cc',
372         'system/chromeos/power/tray_power.h',
373         'system/chromeos/power/video_activity_notifier.cc',
374         'system/chromeos/power/video_activity_notifier.h',
375         'system/chromeos/rotation/tray_rotation_lock.cc',
376         'system/chromeos/rotation/tray_rotation_lock.h',
377         'system/chromeos/screen_security/screen_capture_observer.h',
378         'system/chromeos/screen_security/screen_capture_tray_item.cc',
379         'system/chromeos/screen_security/screen_capture_tray_item.h',
380         'system/chromeos/screen_security/screen_share_observer.h',
381         'system/chromeos/screen_security/screen_share_tray_item.cc',
382         'system/chromeos/screen_security/screen_share_tray_item.h',
383         'system/chromeos/screen_security/screen_tray_item.cc',
384         'system/chromeos/screen_security/screen_tray_item.h',
385         'system/chromeos/session/last_window_closed_observer.h',
386         'system/chromeos/session/last_window_closed_logout_reminder.cc',
387         'system/chromeos/session/last_window_closed_logout_reminder.h',
388         'system/chromeos/session/logout_button_observer.h',
389         'system/chromeos/session/logout_button_tray.cc',
390         'system/chromeos/session/logout_button_tray.h',
391         'system/chromeos/session/logout_confirmation_controller.cc',
392         'system/chromeos/session/logout_confirmation_controller.h',
393         'system/chromeos/session/logout_confirmation_dialog.cc',
394         'system/chromeos/session/logout_confirmation_dialog.h',
395         'system/chromeos/session/session_length_limit_observer.h',
396         'system/chromeos/session/tray_session_length_limit.cc',
397         'system/chromeos/session/tray_session_length_limit.h',
398         'system/chromeos/settings/tray_settings.cc',
399         'system/chromeos/settings/tray_settings.h',
400         'system/chromeos/system_clock_observer.cc',
401         'system/chromeos/system_clock_observer.h',
402         'system/chromeos/tray_caps_lock.cc',
403         'system/chromeos/tray_caps_lock.h',
404         'system/chromeos/tray_display.cc',
405         'system/chromeos/tray_display.h',
406         'system/chromeos/tray_tracing.cc',
407         'system/chromeos/tray_tracing.h',
408         'system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc',
409         'system/chromeos/virtual_keyboard/virtual_keyboard_tray.h',
410         'system/date/clock_observer.h',
411         'system/date/date_default_view.cc',
412         'system/date/date_default_view.h',
413         'system/date/date_view.cc',
414         'system/date/date_view.h',
415         'system/date/tray_date.cc',
416         'system/date/tray_date.h',
417         'system/drive/drive_observer.h',
418         'system/drive/tray_drive.cc',
419         'system/drive/tray_drive.h',
420         'system/ime/ime_observer.h',
421         'system/ime/tray_ime.cc',
422         'system/ime/tray_ime.h',
423         'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
424         'system/locale/locale_notification_controller.cc',
425         'system/locale/locale_notification_controller.h',
426         'system/overview/overview_button_tray.h',
427         'system/overview/overview_button_tray.cc',
428         'system/status_area_widget.cc',
429         'system/status_area_widget.h',
430         'system/status_area_widget_delegate.cc',
431         'system/status_area_widget_delegate.h',
432         'system/system_notifier.cc',
433         'system/system_notifier.h',
434         'system/tray/actionable_view.cc',
435         'system/tray/actionable_view.h',
436         'system/tray/default_system_tray_delegate.cc',
437         'system/tray/default_system_tray_delegate.h',
438         'system/tray/fixed_sized_image_view.cc',
439         'system/tray/fixed_sized_image_view.h',
440         'system/tray/fixed_sized_scroll_view.cc',
441         'system/tray/fixed_sized_scroll_view.h',
442         'system/tray/hover_highlight_view.cc',
443         'system/tray/hover_highlight_view.h',
444         'system/tray/media_security/media_capture_observer.h',
445         'system/tray/media_security/multi_profile_media_tray_item.cc',
446         'system/tray/media_security/multi_profile_media_tray_item.h',
447         'system/tray/special_popup_row.cc',
448         'system/tray/special_popup_row.h',
449         'system/tray/system_tray.cc',
450         'system/tray/system_tray.h',
451         'system/tray/system_tray_bubble.cc',
452         'system/tray/system_tray_bubble.h',
453         'system/tray/system_tray_delegate.cc',
454         'system/tray/system_tray_delegate.h',
455         'system/tray/system_tray_item.cc',
456         'system/tray/system_tray_item.h',
457         'system/tray/system_tray_notifier.cc',
458         'system/tray/system_tray_notifier.h',
459         'system/tray/throbber_view.cc',
460         'system/tray/throbber_view.h',
461         'system/tray/tray_background_view.cc',
462         'system/tray/tray_background_view.h',
463         'system/tray/tray_bar_button_with_title.cc',
464         'system/tray/tray_bar_button_with_title.h',
465         'system/tray/tray_bubble_wrapper.cc',
466         'system/tray/tray_bubble_wrapper.h',
467         'system/tray/tray_constants.cc',
468         'system/tray/tray_constants.h',
469         'system/tray/tray_details_view.cc',
470         'system/tray/tray_details_view.h',
471         'system/tray/tray_empty.cc',
472         'system/tray/tray_empty.h',
473         'system/tray/tray_event_filter.cc',
474         'system/tray/tray_event_filter.h',
475         'system/tray/tray_image_item.cc',
476         'system/tray/tray_image_item.h',
477         'system/tray/tray_item_more.cc',
478         'system/tray/tray_item_more.h',
479         'system/tray/tray_item_view.cc',
480         'system/tray/tray_item_view.h',
481         'system/tray/tray_notification_view.cc',
482         'system/tray/tray_notification_view.h',
483         'system/tray/tray_popup_header_button.cc',
484         'system/tray/tray_popup_header_button.h',
485         'system/tray/tray_popup_label_button.cc',
486         'system/tray/tray_popup_label_button.cc',
487         'system/tray/tray_popup_label_button.h',
488         'system/tray/tray_popup_label_button_border.cc',
489         'system/tray/tray_popup_label_button_border.h',
490         'system/tray/tray_utils.cc',
491         'system/tray/tray_utils.h',
492         'system/tray/view_click_listener.h',
493         'system/tray_accessibility.cc',
494         'system/tray_accessibility.h',
495         'system/tray_update.cc',
496         'system/tray_update.h',
497         'system/user/accounts_detailed_view.cc',
498         'system/user/accounts_detailed_view.h',
499         'system/user/config.cc',
500         'system/user/config.h',
501         'system/user/button_from_view.cc',
502         'system/user/button_from_view.h',
503         'system/user/login_status.cc',
504         'system/user/login_status.h',
505         'system/user/rounded_image_view.cc',
506         'system/user/rounded_image_view.h',
507         'system/user/tray_user.cc',
508         'system/user/tray_user.h',
509         'system/user/tray_user_separator.cc',
510         'system/user/tray_user_separator.h',
511         'system/user/update_observer.h',
512         'system/user/user_observer.h',
513         'system/user/user_accounts_delegate.cc',
514         'system/user/user_accounts_delegate.h',
515         'system/user/user_card_view.cc',
516         'system/user/user_card_view.h',
517         'system/user/user_view.cc',
518         'system/user/user_view.h',
519         'system/web_notification/web_notification_tray.cc',
520         'system/web_notification/web_notification_tray.h',
521         'system/win/audio/tray_audio_delegate_win.cc',
522         'system/win/audio/tray_audio_delegate_win.h',
523         'system/win/audio/tray_audio_win.cc',
524         'system/win/audio/tray_audio_win.h',
525         'touch/touch_hud_debug.cc',
526         'touch/touch_hud_debug.h',
527         'touch/touch_hud_projection.cc',
528         'touch/touch_hud_projection.h',
529         'touch/touch_observer_hud.cc',
530         'touch/touch_observer_hud.h',
531         'touch/touch_uma.cc',
532         'touch/touch_uma.h',
533         'volume_control_delegate.h',
534         'wm/app_list_controller.cc',
535         'wm/app_list_controller.h',
536         'wm/always_on_top_controller.cc',
537         'wm/always_on_top_controller.h',
538         'wm/ash_native_cursor_manager.cc',
539         'wm/ash_native_cursor_manager.h',
540         'wm/ash_focus_rules.cc',
541         'wm/ash_focus_rules.h',
542         'wm/boot_splash_screen_chromeos.cc',
543         'wm/boot_splash_screen_chromeos.h',
544         'wm/cursor_manager_chromeos.cc',
545         'wm/cursor_manager_chromeos.h',
546         'wm/coordinate_conversion.cc',
547         'wm/coordinate_conversion.h',
548         'wm/default_state.cc',
549         'wm/default_state.h',
550         'wm/default_window_resizer.cc',
551         'wm/default_window_resizer.h',
552         'wm/dock/docked_window_layout_manager.cc',
553         'wm/dock/docked_window_layout_manager.h',
554         'wm/dock/docked_window_layout_manager_observer.h',
555         'wm/dock/docked_window_resizer.cc',
556         'wm/dock/docked_window_resizer.h',
557         'wm/drag_details.cc',
558         'wm/drag_details.h',
559         'wm/drag_window_controller.cc',
560         'wm/drag_window_controller.h',
561         'wm/drag_window_resizer.cc',
562         'wm/drag_window_resizer.h',
563         'wm/event_client_impl.cc',
564         'wm/event_client_impl.h',
565         'wm/gestures/long_press_affordance_handler.cc',
566         'wm/gestures/long_press_affordance_handler.h',
567         'wm/gestures/overview_gesture_handler.cc',
568         'wm/gestures/overview_gesture_handler.h',
569         'wm/gestures/shelf_gesture_handler.cc',
570         'wm/gestures/shelf_gesture_handler.h',
571         'wm/gestures/tray_gesture_handler.cc',
572         'wm/gestures/tray_gesture_handler.h',
573         'wm/immersive_fullscreen_controller.cc',
574         'wm/immersive_fullscreen_controller.h',
575         'wm/immersive_revealed_lock.cc',
576         'wm/immersive_revealed_lock.h',
577         'wm/lock_state_controller.cc',
578         'wm/lock_state_controller.h',
579         'wm/lock_state_observer.h',
580         'wm/maximize_mode/maximize_mode_controller.cc',
581         'wm/maximize_mode/maximize_mode_controller.h',
582         'wm/maximize_mode/maximize_mode_event_blocker.cc',
583         'wm/maximize_mode/maximize_mode_event_blocker.h',
584         'wm/maximize_mode/maximize_mode_window_manager.cc',
585         'wm/maximize_mode/maximize_mode_window_manager.h',
586         'wm/maximize_mode/maximize_mode_window_state.cc',
587         'wm/maximize_mode/maximize_mode_window_state.h',
588         'wm/maximize_mode/workspace_backdrop_delegate.cc',
589         'wm/maximize_mode/workspace_backdrop_delegate.h',
590         'wm/mru_window_tracker.cc',
591         'wm/mru_window_tracker.h',
592         'wm/overlay_event_filter.cc',
593         'wm/overlay_event_filter.h',
594         'wm/overview/scoped_transform_overview_window.cc',
595         'wm/overview/scoped_transform_overview_window.h',
596         'wm/overview/scoped_window_copy.cc',
597         'wm/overview/scoped_window_copy.h',
598         'wm/overview/window_overview.cc',
599         'wm/overview/window_overview.h',
600         'wm/overview/window_selector.cc',
601         'wm/overview/window_selector.h',
602         'wm/overview/window_selector_controller.cc',
603         'wm/overview/window_selector_controller.h',
604         'wm/overview/window_selector_delegate.h',
605         'wm/overview/window_selector_item.cc',
606         'wm/overview/window_selector_item.h',
607         'wm/overview/window_selector_panels.cc',
608         'wm/overview/window_selector_panels.h',
609         'wm/overview/window_selector_window.cc',
610         'wm/overview/window_selector_window.h',
611         'wm/panels/attached_panel_window_targeter.cc',
612         'wm/panels/attached_panel_window_targeter.h',
613         'wm/panels/panel_frame_view.cc',
614         'wm/panels/panel_frame_view.h',
615         'wm/panels/panel_layout_manager.cc',
616         'wm/panels/panel_layout_manager.h',
617         'wm/panels/panel_window_event_handler.cc',
618         'wm/panels/panel_window_event_handler.h',
619         'wm/panels/panel_window_resizer.cc',
620         'wm/panels/panel_window_resizer.h',
621         'wm/partial_screenshot_view.cc',
622         'wm/partial_screenshot_view.h',
623         'wm/power_button_controller.cc',
624         'wm/power_button_controller.h',
625         'wm/resize_handle_window_targeter.cc',
626         'wm/resize_handle_window_targeter.h',
627         'wm/resize_shadow.cc',
628         'wm/resize_shadow.h',
629         'wm/resize_shadow_controller.cc',
630         'wm/resize_shadow_controller.h',
631         'wm/root_window_layout_manager.cc',
632         'wm/root_window_layout_manager.h',
633         'wm/screen_dimmer.cc',
634         'wm/screen_dimmer.h',
635         'wm/session_state_animator.cc',
636         'wm/session_state_animator.h',
637         'wm/stacking_controller.cc',
638         'wm/stacking_controller.h',
639         'wm/status_area_layout_manager.cc',
640         'wm/status_area_layout_manager.h',
641         'wm/system_background_controller.cc',
642         'wm/system_background_controller.h',
643         'wm/system_gesture_event_filter.cc',
644         'wm/system_gesture_event_filter.h',
645         'wm/system_modal_container_event_filter.cc',
646         'wm/system_modal_container_event_filter.h',
647         'wm/system_modal_container_event_filter_delegate.h',
648         'wm/system_modal_container_layout_manager.cc',
649         'wm/system_modal_container_layout_manager.h',
650         'wm/toplevel_window_event_handler.cc',
651         'wm/toplevel_window_event_handler.h',
652         'wm/video_detector.cc',
653         'wm/video_detector.h',
654         'wm/window_animations.cc',
655         'wm/window_animations.h',
656         'wm/window_positioner.cc',
657         'wm/window_positioner.h',
658         'wm/window_state.cc',
659         'wm/window_state.h',
660         'wm/window_state_delegate.cc',
661         'wm/window_state_delegate.h',
662         'wm/window_state_observer.h',
663         'wm/window_state_util.cc',
664         'wm/window_state_util.h',
665         'wm/window_properties.cc',
666         'wm/window_properties.h',
667         'wm/window_resizer.cc',
668         'wm/window_resizer.h',
669         'wm/window_util.cc',
670         'wm/window_util.h',
671         'wm/wm_event.cc',
672         'wm/wm_event.h',
673         'wm/wm_types.cc',
674         'wm/wm_types.h',
675         'wm/workspace_controller.cc',
676         'wm/workspace_controller.h',
677         'wm/workspace/magnetism_matcher.cc',
678         'wm/workspace/magnetism_matcher.h',
679         'wm/workspace/multi_window_resize_controller.cc',
680         'wm/workspace/multi_window_resize_controller.h',
681         'wm/workspace/phantom_window_controller.cc',
682         'wm/workspace/phantom_window_controller.h',
683         'wm/workspace/snap_types.h',
684         'wm/workspace/two_step_edge_cycler.cc',
685         'wm/workspace/two_step_edge_cycler.h',
686         'wm/workspace/workspace_event_handler.cc',
687         'wm/workspace/workspace_event_handler.h',
688         'wm/workspace/workspace_layout_manager.cc',
689         'wm/workspace/workspace_layout_manager.h',
690         'wm/workspace/workspace_layout_manager_delegate.h',
691         'wm/workspace/workspace_types.h',
692         'wm/workspace/workspace_window_resizer.cc',
693         'wm/workspace/workspace_window_resizer.h',
694       ],
695       'conditions': [
696         ['OS=="win"', {
697           'sources/': [
698             ['exclude', 'host/window_tree_host_factory.cc'],
699             ['exclude', 'sticky_keys/sticky_keys_controller.cc'],
700             ['exclude', 'sticky_keys/sticky_keys_controller.h'],
701           ],
702           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
703           'msvs_disabled_warnings': [ 4267, ],
704         }],
705         ['use_x11!=1', {
706           'sources/': [
707             ['exclude', 'accelerators/key_hold_detector.cc'],
708             ['exclude', 'accelerators/key_hold_detector.h'],
709             ['exclude', 'accelerators/magnifier_key_scroller.cc'],
710             ['exclude', 'accelerators/magnifier_key_scroller.h'],
711             ['exclude', 'accelerators/spoken_feedback_toggler.cc'],
712             ['exclude', 'accelerators/spoken_feedback_toggler.h'],
713           ],
714         }, { # else: use_x11==1
715           'dependencies': [
716             '../build/linux/system.gyp:xfixes',
717            ],
718         }],
719         ['chromeos==1', {
720           'dependencies': [
721             '../chromeos/chromeos.gyp:chromeos',
722             # Ash #includes power_supply_properties.pb.h directly.
723             '../chromeos/chromeos.gyp:power_manager_proto',
724             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
725             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
726             '../ui/display/display.gyp:display',
727             '../ui/display/display.gyp:display_util',
728           ],
729         }, { # else: chromeos!=1
730           'sources/': [
731             ['exclude', 'display/display_configurator_animation.cc'],
732             ['exclude', 'display/display_configurator_animation.h'],
733             ['exclude', 'display/resolution_notification_controller.cc'],
734             ['exclude', 'display/resolution_notification_controller.h'],
735             ['exclude', 'system/tray/media_security/media_capture_observer.h'],
736             ['exclude', 'system/tray/media_security/multi_profile_media_tray_item.cc'],
737             ['exclude', 'system/tray/media_security/multi_profile_media_tray_item.h'],
738           ],
739         }],
740       ],
741     },
742     {
743       'target_name': 'ash_with_content',
744       'type': '<(component)',
745       'dependencies': [
746         '../base/base.gyp:base',
747         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
748         '../content/content.gyp:content_browser',
749         '../ipc/ipc.gyp:ipc',
750         '../skia/skia.gyp:skia',
751         '../ui/aura/aura.gyp:aura',
752         '../ui/base/strings/ui_strings.gyp:ui_strings',
753         '../ui/base/ui_base.gyp:ui_base',
754         '../ui/compositor/compositor.gyp:compositor',
755         '../ui/events/events.gyp:events',
756         '../ui/gfx/gfx.gyp:gfx',
757         '../ui/gfx/gfx.gyp:gfx_geometry',
758         '../ui/resources/ui_resources.gyp:ui_resources',
759         '../ui/views/controls/webview/webview.gyp:webview',
760         '../ui/views/views.gyp:views',
761         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
762         '../url/url.gyp:url_lib',
763         'ash_strings.gyp:ash_strings',
764         'ash',
765         'ash_resources',
766       ],
767       'defines': [
768         'ASH_WITH_CONTENT_IMPLEMENTATION',
769       ],
770       'sources': [
771         'content_support/ash_with_content_export.h',
772         'content_support/gpu_support_impl.cc',
773         'content_support/gpu_support_impl.h',
774         'screensaver/screensaver_view.cc',
775         'screensaver/screensaver_view.h',
776         'keyboard_overlay/keyboard_overlay_delegate.cc',
777         'keyboard_overlay/keyboard_overlay_delegate.h',
778         'keyboard_overlay/keyboard_overlay_view.cc',
779         'keyboard_overlay/keyboard_overlay_view.h',
780       ],
781     },
782     {
783       'target_name': 'ash_test_support',
784       'type': 'static_library',
785       'dependencies': [
786         '../skia/skia.gyp:skia',
787         '../testing/gtest.gyp:gtest',
788         '../ui/accessibility/accessibility.gyp:ax_gen',
789         '../ui/app_list/app_list.gyp:app_list_test_support',
790         '../ui/views/views.gyp:views_test_support',
791         'ash',
792         'ash_resources',
793       ],
794       'sources': [
795         'desktop_background/desktop_background_controller_test_api.cc',
796         'desktop_background/desktop_background_controller_test_api.h',
797         'shell/keyboard_controller_proxy_stub.cc',
798         'shell/keyboard_controller_proxy_stub.h',
799         'shell/toplevel_window.cc',
800         'shell/toplevel_window.h',
801         'test/app_list_controller_test_api.cc',
802         'test/app_list_controller_test_api.h',
803         'test/ash_test_base.cc',
804         'test/ash_test_base.h',
805         'test/ash_test_helper.cc',
806         'test/ash_test_helper.h',
807         'test/cursor_manager_test_api.cc',
808         'test/cursor_manager_test_api.h',
809         'test/display_manager_test_api.cc',
810         'test/display_manager_test_api.h',
811         'test/mirror_window_test_api.cc',
812         'test/mirror_window_test_api.h',
813         'test/overflow_bubble_view_test_api.cc',
814         'test/overflow_bubble_view_test_api.h',
815         'test/shelf_item_delegate_manager_test_api.cc',
816         'test/shelf_item_delegate_manager_test_api.h',
817         'test/shelf_test_api.cc',
818         'test/shelf_test_api.h',
819         'test/shelf_view_test_api.cc',
820         'test/shelf_view_test_api.h',
821         'test/shell_test_api.cc',
822         'test/shell_test_api.h',
823         'test/status_area_widget_test_helper.cc',
824         'test/status_area_widget_test_helper.h',
825         'test/test_activation_delegate.cc',
826         'test/test_activation_delegate.h',
827         'test/test_screenshot_delegate.cc',
828         'test/test_screenshot_delegate.cc',
829         'test/test_session_state_delegate.cc',
830         'test/test_session_state_delegate.h',
831         'test/test_shelf_delegate.cc',
832         'test/test_shelf_delegate.h',
833         'test/test_shelf_item_delegate.cc',
834         'test/test_shelf_item_delegate.h',
835         'test/test_shell_delegate.cc',
836         'test/test_shell_delegate.h',
837         'test/test_suite.cc',
838         'test/test_suite.h',
839         'test/test_suite_init.h',
840         'test/test_suite_init.mm',
841         'test/test_system_tray_delegate.cc',
842         'test/test_system_tray_delegate.h',
843         'test/test_user_wallpaper_delegate.cc',
844         'test/test_user_wallpaper_delegate.h',
845         'test/test_volume_control_delegate.cc',
846         'test/test_volume_control_delegate.h',
847         'test/ui_controls_factory_ash.cc',
848         'test/ui_controls_factory_ash.h',
849       ],
850       'conditions': [
851         ['OS=="win"', {
852           'dependencies': [
853             '../ipc/ipc.gyp:ipc',
854             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
855             '../win8/win8.gyp:metro_viewer',
856             '../win8/win8.gyp:test_support_win8',
857             '../win8/win8_tests.gyp:test_registrar',
858           ],
859           'sources': [
860             'test/test_metro_viewer_process_host.cc',
861             'test/test_metro_viewer_process_host.h',
862           ],
863         }],
864       ],
865     },
866     {
867       'target_name': 'ash_unittests',
868       'type': 'executable',
869       'dependencies': [
870         '../base/base.gyp:base',
871         '../base/base.gyp:test_support_base',
872         '../chrome/chrome_resources.gyp:packed_resources',
873         '../content/content.gyp:content_browser',
874         '../content/content_shell_and_tests.gyp:test_support_content',
875         '../skia/skia.gyp:skia',
876         '../testing/gtest.gyp:gtest',
877         '../third_party/icu/icu.gyp:icui18n',
878         '../third_party/icu/icu.gyp:icuuc',
879         '../ui/accessibility/accessibility.gyp:accessibility',
880         '../ui/app_list/app_list.gyp:app_list',
881         '../ui/aura/aura.gyp:aura',
882         '../ui/aura/aura.gyp:aura_test_support',
883         '../ui/base/ui_base.gyp:ui_base',
884         '../ui/base/ui_base.gyp:ui_base_test_support',
885         '../ui/compositor/compositor.gyp:compositor',
886         '../ui/compositor/compositor.gyp:compositor_test_support',
887         '../ui/events/events.gyp:events',
888         '../ui/events/events.gyp:events_test_support',
889         '../ui/gfx/gfx.gyp:gfx',
890         '../ui/gfx/gfx.gyp:gfx_geometry',
891         '../ui/keyboard/keyboard.gyp:keyboard',
892         '../ui/message_center/message_center.gyp:message_center',
893         '../ui/message_center/message_center.gyp:message_center_test_support',
894         '../ui/resources/ui_resources.gyp:ui_resources',
895         '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
896         '../ui/views/views.gyp:views',
897         '../ui/views/views.gyp:views_test_support',
898         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
899         '../ui/wm/wm.gyp:wm',
900         '../url/url.gyp:url_lib',
901         'ash_strings.gyp:ash_strings',
902         'ash',
903         'ash_resources',
904         'ash_test_support',
905         'ash_with_content',
906       ],
907       'sources': [
908         'accelerators/accelerator_commands_unittest.cc',
909         'accelerators/accelerator_controller_unittest.cc',
910         'accelerators/accelerator_filter_unittest.cc',
911         'accelerators/accelerator_table_unittest.cc',
912         'accelerators/magnifier_key_scroller_unittest.cc',
913         'accelerators/nested_dispatcher_controller_unittest.cc',
914         'accelerators/spoken_feedback_toggler_unittest.cc',
915         'autoclick/autoclick_unittest.cc',
916         'desktop_background/desktop_background_controller_unittest.cc',
917         'desktop_background/wallpaper_resizer_unittest.cc',
918         'dip_unittest.cc',
919         'display/display_change_observer_chromeos_unittest.cc',
920         'display/display_controller_unittest.cc',
921         'display/display_error_observer_chromeos_unittest.cc',
922         'display/display_info_unittest.cc',
923         'display/display_manager_unittest.cc',
924         'display/mirror_window_controller_unittest.cc',
925         'display/virtual_keyboard_window_controller_unittest.cc',
926         'display/mouse_cursor_event_filter_unittest.cc',
927         'display/projecting_observer_chromeos_unittest.cc',
928         'display/resolution_notification_controller_unittest.cc',
929         'display/root_window_transformers_unittest.cc',
930         'display/screen_position_controller_unittest.cc',
931         'drag_drop/drag_drop_controller_unittest.cc',
932         'drag_drop/drag_drop_tracker_unittest.cc',
933         'extended_desktop_unittest.cc',
934         'focus_cycler_unittest.cc',
935         'frame/caption_buttons/alternate_frame_size_button_unittest.cc',
936         'frame/caption_buttons/frame_caption_button_container_view_unittest.cc',
937         'frame/caption_buttons/frame_maximize_button_unittest.cc',
938         'frame/custom_frame_view_ash_unittest.cc',
939         'frame/default_header_painter_unittest.cc',
940         'host/ash_window_tree_host_x11_unittest.cc',
941         'ime/candidate_view_unittest.cc',
942         'ime/candidate_window_view_unittest.cc',
943         'ime/input_method_menu_item_unittest.cc',
944         'ime/input_method_menu_manager_unittest.cc',
945         'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
946         'keyboard_overlay/keyboard_overlay_view_unittest.cc',
947         'magnifier/magnification_controller_unittest.cc',
948         'root_window_controller_unittest.cc',
949         'screen_util_unittest.cc',
950         'screensaver/screensaver_view_unittest.cc',
951         'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
952         'shelf/shelf_layout_manager_unittest.cc',
953         'shelf/shelf_model_unittest.cc',
954         'shelf/shelf_navigator_unittest.cc',
955         'shelf/shelf_tooltip_manager_unittest.cc',
956         'shelf/shelf_unittest.cc',
957         'shelf/shelf_view_unittest.cc',
958         'shelf/shelf_widget_unittest.cc',
959         'shelf/shelf_window_watcher_unittest.cc',
960         'shell_unittest.cc',
961         'sticky_keys/sticky_keys_overlay_unittest.cc',
962         'sticky_keys/sticky_keys_unittest.cc',
963         'system/chromeos/brightness/tray_brightness_unittest.cc',
964         'system/chromeos/managed/tray_locally_managed_user_unittest.cc',
965         'system/chromeos/network/network_state_notifier_unittest.cc',
966         'system/chromeos/power/power_event_observer_unittest.cc',
967         'system/chromeos/power/power_status_unittest.cc',
968         'system/chromeos/power/power_status_view_unittest.cc',
969         'system/chromeos/power/tray_power_unittest.cc',
970         'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
971         'system/chromeos/screen_security/screen_tray_item_unittest.cc',
972         'system/chromeos/session/logout_confirmation_controller_unittest.cc',
973         'system/chromeos/session/tray_session_length_limit_unittest.cc',
974         'system/chromeos/tray_display_unittest.cc',
975         'system/date/date_view_unittest.cc',
976         'system/overview/overview_button_tray_unittest.cc',
977         'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
978         'system/tray/system_tray_unittest.cc',
979         'system/tray/tray_details_view_unittest.cc',
980         'system/user/tray_user_unittest.cc',
981         'system/web_notification/web_notification_tray_unittest.cc',
982         'test/ash_test_helper_unittest.cc',
983         'test/ash_unittests.cc',
984         'tooltips/tooltip_controller_unittest.cc',
985         'touch/touch_observer_hud_unittest.cc',
986         'wm/app_list_controller_unittest.cc',
987         'wm/ash_native_cursor_manager_unittest.cc',
988         'wm/dock/docked_window_layout_manager_unittest.cc',
989         'wm/dock/docked_window_resizer_unittest.cc',
990         'wm/drag_window_resizer_unittest.cc',
991         'wm/gestures/overview_gesture_handler_unittest.cc',
992         'wm/immersive_fullscreen_controller_unittest.cc',
993         'wm/lock_state_controller_unittest.cc',
994         'wm/maximize_mode/accelerometer_test_data_literals.cc',
995         'wm/maximize_mode/maximize_mode_controller_unittest.cc',
996         'wm/maximize_mode/maximize_mode_window_manager_unittest.cc',
997         'wm/mru_window_tracker_unittest.cc',
998         'wm/overview/window_selector_unittest.cc',
999         'wm/panels/panel_layout_manager_unittest.cc',
1000         'wm/panels/panel_window_resizer_unittest.cc',
1001         'wm/partial_screenshot_view_unittest.cc',
1002         'wm/resize_shadow_and_cursor_unittest.cc',
1003         'wm/screen_dimmer_unittest.cc',
1004         'wm/stacking_controller_unittest.cc',
1005         'wm/system_gesture_event_filter_unittest.cc',
1006         'wm/system_modal_container_layout_manager_unittest.cc',
1007         'wm/toplevel_window_event_handler_unittest.cc',
1008         'wm/video_detector_unittest.cc',
1009         'wm/window_animations_unittest.cc',
1010         'wm/window_manager_unittest.cc',
1011         'wm/window_modality_controller_unittest.cc',
1012         'wm/window_positioner_unittest.cc',
1013         'wm/window_state_unittest.cc',
1014         'wm/window_util_unittest.cc',
1015         'wm/maximize_mode/workspace_backdrop_delegate.cc',
1016         'wm/maximize_mode/workspace_backdrop_delegate.h',
1017         'wm/workspace/magnetism_matcher_unittest.cc',
1018         'wm/workspace/multi_window_resize_controller_unittest.cc',
1019         'wm/workspace/phantom_window_controller_unittest.cc',
1020         'wm/workspace/workspace_event_handler_test_helper.cc',
1021         'wm/workspace/workspace_event_handler_test_helper.h',
1022         'wm/workspace/workspace_event_handler_unittest.cc',
1023         'wm/workspace/workspace_layout_manager_unittest.cc',
1024         'wm/workspace/workspace_window_resizer_unittest.cc',
1025         'wm/workspace_controller_test_helper.cc',
1026         'wm/workspace_controller_test_helper.h',
1027         'wm/workspace_controller_unittest.cc',
1028       ],
1029       'conditions': [
1030         ['OS=="win"', {
1031           'sources/': [
1032             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
1033             ['exclude', 'focus_cycler_unittest.cc'],
1034             # All tests for multiple displays: not supported on Windows Ash.
1035             ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
1036             ['exclude', 'wm/drag_window_resizer_unittest.cc'],
1037             # Can't resize on Windows Ash. http://crbug.com/165962
1038             ['exclude', 'ash_root_window_transformer_unittest.cc'],
1039             ['exclude', 'magnifier/magnification_controller_unittest.cc'],
1040             ['exclude', 'wm/workspace/workspace_window_resizer_unittest.cc'],
1041             ['exclude', 'sticky_keys/sticky_keys_overlay_unittest.cc'],
1042             ['exclude', 'sticky_keys/sticky_keys_unittest.cc'],
1043             ['exclude', 'system/tray/media_security/multi_profile_media_tray_item_unittest.cc'],
1044             ['exclude', 'autoclick/autoclick_unittest.cc'],
1045           ],
1046           'sources': [
1047             '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc',
1048           ],
1049           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1050           'msvs_disabled_warnings': [ 4267, ],
1051         }],
1052         ['OS=="win" and win_use_allocator_shim==1', {
1053           'dependencies': [
1054             '../base/allocator/allocator.gyp:allocator',
1055           ],
1056         }],
1057         ['use_x11!=1', {
1058           'sources/': [
1059             ['exclude', 'accelerators/magnifier_key_scroller_unittest.cc'],
1060             ['exclude', 'accelerators/spoken_feedback_toggler_unittest.cc'],
1061           ],
1062         }],
1063         ['chromeos==1', {
1064           'dependencies': [
1065             '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
1066             '../chromeos/chromeos.gyp:power_manager_proto',
1067             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1068             '../ui/display/display.gyp:display',
1069             '../ui/display/display.gyp:display_test_util',
1070             '../ui/display/display.gyp:display_types',
1071           ],
1072           'sources': [
1073             'first_run/first_run_helper_unittest.cc',
1074           ],
1075         }, { # else: chromeos!=1
1076           'sources/': [
1077             ['exclude', 'display/resolution_notification_controller_unittest.cc'],
1078           ],
1079         }],
1080         # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
1081         ['OS=="linux" and component=="shared_library" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
1082           'dependencies': [
1083             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1084           ],
1085           'link_settings': {
1086             'ldflags': ['-rdynamic'],
1087           },
1088         }],
1089         ['use_ozone==1', {
1090           'sources!': [
1091             'sticky_keys/sticky_keys_unittest.cc',  # crbug.com/354035
1092           ],
1093         }],
1094       ],
1095     },
1096     {
1097       'target_name': 'ash_shell_lib',
1098       'type': 'static_library',
1099       'dependencies': [
1100         '../base/base.gyp:base',
1101         '../base/base.gyp:base_i18n',
1102         '../chrome/chrome_resources.gyp:packed_resources',
1103         '../content/content_shell_and_tests.gyp:content_shell_lib',
1104         '../content/content.gyp:content',
1105         '../skia/skia.gyp:skia',
1106         '../third_party/icu/icu.gyp:icui18n',
1107         '../third_party/icu/icu.gyp:icuuc',
1108         '../ui/app_list/app_list.gyp:app_list',
1109         '../ui/aura/aura.gyp:aura',
1110         '../ui/base/ui_base.gyp:ui_base',
1111         '../ui/compositor/compositor.gyp:compositor',
1112         '../ui/events/events.gyp:events',
1113         '../ui/gfx/gfx.gyp:gfx',
1114         '../ui/gfx/gfx.gyp:gfx_geometry',
1115         '../ui/keyboard/keyboard.gyp:keyboard',
1116         '../ui/message_center/message_center.gyp:message_center',
1117         '../ui/resources/ui_resources.gyp:ui_resources',
1118         '../ui/views/examples/examples.gyp:views_examples_lib',
1119         '../ui/views/examples/examples.gyp:views_examples_with_content_lib',
1120         '../ui/views/views.gyp:views',
1121         '../ui/views/views.gyp:views_test_support',
1122         'ash',
1123         'ash_resources',
1124         'ash_strings.gyp:ash_strings',
1125         'ash_with_content',
1126       ],
1127       'sources': [
1128         '../content/app/startup_helper_win.cc',
1129         '../ui/views/test/test_views_delegate.cc',
1130         'shell/app_list.cc',
1131         'shell/bubble.cc',
1132         'shell/content_client/shell_browser_main_parts.cc',
1133         'shell/content_client/shell_browser_main_parts.h',
1134         'shell/content_client/shell_content_browser_client.cc',
1135         'shell/content_client/shell_content_browser_client.h',
1136         'shell/content_client/shell_main_delegate.cc',
1137         'shell/content_client/shell_main_delegate.h',
1138         'shell/context_menu.cc',
1139         'shell/context_menu.h',
1140         'shell/example_factory.h',
1141         'shell/keyboard_controller_proxy_stub.cc',
1142         'shell/keyboard_controller_proxy_stub.h',
1143         'shell/lock_view.cc',
1144         'shell/panel_window.cc',
1145         'shell/panel_window.h',
1146         'shell/shelf_delegate_impl.cc',
1147         'shell/shelf_delegate_impl.h',
1148         'shell/shell_delegate_impl.cc',
1149         'shell/shell_delegate_impl.h',
1150         'shell/shell_main_parts.cc',
1151         'shell/shell_main_parts.h',
1152         'shell/toplevel_window.cc',
1153         'shell/toplevel_window.h',
1154         'shell/widgets.cc',
1155         'shell/window_type_launcher.cc',
1156         'shell/window_type_launcher.h',
1157         'shell/window_watcher.cc',
1158         'shell/window_watcher.h',
1159         'shell/window_watcher_shelf_item_delegate.cc',
1160         'shell/window_watcher_shelf_item_delegate.h',
1161       ],
1162     },
1163     {
1164       'target_name': 'ash_shell',
1165       'type': 'executable',
1166       'dependencies': [
1167         'ash_shell_lib',
1168       ],
1169       'sources': [
1170         'shell/shell_main.cc',
1171       ],
1172       'conditions': [
1173         ['OS=="win"', {
1174           'msvs_settings': {
1175             'VCLinkerTool': {
1176               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
1177             },
1178           },
1179           'dependencies': [
1180             '../sandbox/sandbox.gyp:sandbox',
1181           ],
1182         }],
1183         ['chromeos==1', {
1184           'dependencies': [
1185             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1186           ],
1187         }],
1188       ],
1189     },
1190     {
1191       'target_name': 'ash_shell_unittests',
1192       'type': 'executable',
1193       'dependencies': [
1194         '../base/base.gyp:test_support_base',
1195         '../content/content_shell_and_tests.gyp:test_support_content',
1196         '../skia/skia.gyp:skia',
1197         '../testing/gtest.gyp:gtest',
1198         '../ui/accessibility/accessibility.gyp:ax_gen',
1199         '../ui/display/display.gyp:display',
1200         'ash_shell_lib',
1201         'ash_test_support',
1202       ],
1203       'sources': [
1204         'shell/window_watcher_unittest.cc',
1205         'test/ash_unittests.cc',
1206       ],
1207     },
1208   ],