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