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