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