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