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