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