Mandoline: Don't run mandoline_browser_apptests on Android until failures are fixed
[chromium-blink-merge.git] / ash / ash.gyp
blob13d84cefe1e4e332b88978779189c1c0688cba8b
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       '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/ui_controls_factory_ash.cc',
745       'test/ui_controls_factory_ash.h',
746       'test/user_metrics_recorder_test_api.cc',
747       'test/user_metrics_recorder_test_api.h',
748       'test/virtual_keyboard_test_helper.cc',
749       'test/virtual_keyboard_test_helper.h',
750     ],
751     'ash_shell_lib_sources': [
752       '../ui/views/test/test_views_delegate_aura.cc',
753       'shell/app_list.cc',
754       'shell/bubble.cc',
755       'shell/content_client/shell_browser_main_parts.cc',
756       'shell/content_client/shell_browser_main_parts.h',
757       'shell/content_client/shell_content_browser_client.cc',
758       'shell/content_client/shell_content_browser_client.h',
759       'shell/content_client/shell_main_delegate.cc',
760       'shell/content_client/shell_main_delegate.h',
761       'shell/context_menu.cc',
762       'shell/context_menu.h',
763       'shell/example_factory.h',
764       'shell/keyboard_controller_proxy_stub.cc',
765       'shell/keyboard_controller_proxy_stub.h',
766       'shell/lock_view.cc',
767       'shell/panel_window.cc',
768       'shell/panel_window.h',
769       'shell/shelf_delegate_impl.cc',
770       'shell/shelf_delegate_impl.h',
771       'shell/shell_delegate_impl.cc',
772       'shell/shell_delegate_impl.h',
773       'shell/shell_main_parts.cc',
774       'shell/shell_main_parts.h',
775       'shell/toplevel_window.cc',
776       'shell/toplevel_window.h',
777       'shell/widgets.cc',
778       'shell/window_type_launcher.cc',
779       'shell/window_type_launcher.h',
780       'shell/window_watcher.cc',
781       'shell/window_watcher.h',
782       'shell/window_watcher_shelf_item_delegate.cc',
783       'shell/window_watcher_shelf_item_delegate.h',
784     ],
785     'ash_unittests_sources': [
786       'accelerators/accelerator_commands_unittest.cc',
787       'accelerators/accelerator_controller_unittest.cc',
788       'accelerators/accelerator_filter_unittest.cc',
789       'accelerators/accelerator_table_unittest.cc',
790       'accelerators/magnifier_key_scroller_unittest.cc',
791       'accelerators/spoken_feedback_toggler_unittest.cc',
792       'ash_touch_exploration_manager_chromeos_unittest.cc',
793       'autoclick/autoclick_unittest.cc',
794       'content/display/screen_orientation_controller_chromeos_unittest.cc',
795       'desktop_background/desktop_background_controller_unittest.cc',
796       'dip_unittest.cc',
797       'display/cursor_window_controller_unittest.cc',
798       'display/display_change_observer_chromeos_unittest.cc',
799       'display/display_controller_unittest.cc',
800       'display/display_error_observer_chromeos_unittest.cc',
801       'display/display_info_unittest.cc',
802       'display/display_manager_unittest.cc',
803       'display/display_util_unittest.cc',
804       'display/extended_mouse_warp_controller_unittest.cc',
805       'display/mirror_window_controller_unittest.cc',
806       'display/mouse_cursor_event_filter_unittest.cc',
807       'display/projecting_observer_chromeos_unittest.cc',
808       'display/resolution_notification_controller_unittest.cc',
809       'display/root_window_transformers_unittest.cc',
810       'display/screen_position_controller_unittest.cc',
811       'display/unified_mouse_warp_controller_unittest.cc',
812       'drag_drop/drag_drop_controller_unittest.cc',
813       'drag_drop/drag_drop_tracker_unittest.cc',
814       'extended_desktop_unittest.cc',
815       'focus_cycler_unittest.cc',
816       'frame/caption_buttons/frame_caption_button_container_view_unittest.cc',
817       'frame/caption_buttons/frame_size_button_unittest.cc',
818       'frame/custom_frame_view_ash_unittest.cc',
819       'frame/default_header_painter_unittest.cc',
820       'host/ash_window_tree_host_x11_unittest.cc',
821       'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
822       'keyboard_overlay/keyboard_overlay_view_unittest.cc',
823       'magnifier/magnification_controller_unittest.cc',
824       'metrics/desktop_task_switch_metric_recorder_unittest.cc',
825       'metrics/task_switch_metrics_recorder_unittest.cc',
826       'metrics/task_switch_time_tracker_unittest.cc',
827       'metrics/user_metrics_recorder_unittest.cc',
828       'popup_message_unittest.cc',
829       'root_window_controller_unittest.cc',
830       'screen_util_unittest.cc',
831       'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
832       'shelf/shelf_button_pressed_metric_tracker_unittest.cc',
833       'shelf/shelf_layout_manager_unittest.cc',
834       'shelf/shelf_model_unittest.cc',
835       'shelf/shelf_navigator_unittest.cc',
836       'shelf/shelf_tooltip_manager_unittest.cc',
837       'shelf/shelf_unittest.cc',
838       'shelf/shelf_view_unittest.cc',
839       'shelf/shelf_widget_unittest.cc',
840       'shelf/shelf_window_watcher_unittest.cc',
841       'shell_unittest.cc',
842       'sticky_keys/sticky_keys_overlay_unittest.cc',
843       'sticky_keys/sticky_keys_unittest.cc',
844       'system/chromeos/brightness/tray_brightness_unittest.cc',
845       'system/chromeos/multi_user/user_switch_util_unittest.cc',
846       'system/chromeos/power/power_event_observer_unittest.cc',
847       'system/chromeos/power/power_status_unittest.cc',
848       'system/chromeos/power/power_status_view_unittest.cc',
849       'system/chromeos/power/tray_power_unittest.cc',
850       'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
851       'system/chromeos/screen_security/screen_tray_item_unittest.cc',
852       'system/chromeos/session/logout_confirmation_controller_unittest.cc',
853       'system/chromeos/session/tray_session_length_limit_unittest.cc',
854       'system/chromeos/supervised/tray_supervised_user_unittest.cc',
855       'system/chromeos/tray_display_unittest.cc',
856       'system/date/date_view_unittest.cc',
857       'system/ime/tray_ime_chromeos_unittest.cc',
858       'system/overview/overview_button_tray_unittest.cc',
859       'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
860       'system/tray/system_tray_unittest.cc',
861       'system/tray/tray_details_view_unittest.cc',
862       'system/user/tray_user_unittest.cc',
863       'system/web_notification/ash_popup_alignment_delegate_unittest.cc',
864       'system/web_notification/web_notification_tray_unittest.cc',
865       'test/ash_test_helper_unittest.cc',
866       'test/ash_unittests.cc',
867       'tooltips/tooltip_controller_unittest.cc',
868       'touch/touch_observer_hud_unittest.cc',
869       'touch/touch_transformer_controller_unittest.cc',
870       'touch/touchscreen_util_unittest.cc',
871       'utility/partial_screenshot_controller_unittest.cc',
872       'virtual_keyboard_controller_unittest.cc',
873       'wm/always_on_top_controller_unittest.cc',
874       'wm/app_list_controller_unittest.cc',
875       'wm/ash_native_cursor_manager_unittest.cc',
876       'wm/ash_focus_rules_unittest.cc',
877       'wm/dock/docked_window_layout_manager_unittest.cc',
878       'wm/dock/docked_window_resizer_unittest.cc',
879       'wm/drag_window_resizer_unittest.cc',
880       'wm/gestures/overview_gesture_handler_unittest.cc',
881       'wm/immersive_fullscreen_controller_unittest.cc',
882       'wm/lock_layout_manager_unittest.cc',
883       'wm/lock_state_controller_unittest.cc',
884       'wm/maximize_mode/accelerometer_test_data_literals.cc',
885       'wm/maximize_mode/maximize_mode_controller_unittest.cc',
886       'wm/maximize_mode/maximize_mode_window_manager_unittest.cc',
887       'wm/mru_window_tracker_unittest.cc',
888       'wm/overlay_event_filter_unittest.cc',
889       'wm/overview/window_selector_unittest.cc',
890       'wm/panels/panel_layout_manager_unittest.cc',
891       'wm/panels/panel_window_resizer_unittest.cc',
892       'wm/resize_shadow_and_cursor_unittest.cc',
893       'wm/screen_dimmer_unittest.cc',
894       'wm/session_state_animator_impl_unittest.cc',
895       'wm/stacking_controller_unittest.cc',
896       'wm/system_gesture_event_filter_unittest.cc',
897       'wm/system_modal_container_layout_manager_unittest.cc',
898       'wm/toplevel_window_event_handler_unittest.cc',
899       'wm/video_detector_unittest.cc',
900       'wm/window_animations_unittest.cc',
901       'wm/window_cycle_controller_unittest.cc',
902       'wm/window_manager_unittest.cc',
903       'wm/window_modality_controller_unittest.cc',
904       'wm/window_positioner_unittest.cc',
905       'wm/window_state_unittest.cc',
906       'wm/window_util_unittest.cc',
907       'wm/workspace/magnetism_matcher_unittest.cc',
908       'wm/workspace/multi_window_resize_controller_unittest.cc',
909       'wm/workspace/workspace_event_handler_test_helper.cc',
910       'wm/workspace/workspace_event_handler_test_helper.h',
911       'wm/workspace/workspace_event_handler_unittest.cc',
912       'wm/workspace/workspace_layout_manager_unittest.cc',
913       'wm/workspace/workspace_window_resizer_unittest.cc',
914       'wm/workspace_controller_test_helper.cc',
915       'wm/workspace_controller_test_helper.h',
916       'wm/workspace_controller_unittest.cc',
917     ],
918   },
919   'targets': [
920     {
921       # GN version: //ash
922       'target_name': 'ash',
923       'type': '<(component)',
924       'dependencies': [
925         '../base/base.gyp:base',
926         '../base/base.gyp:base_i18n',
927         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
928         '../cc/cc.gyp:cc',
929         '../components/components.gyp:device_event_log_component',
930         '../components/components.gyp:user_manager',
931         '../components/components.gyp:wallpaper',
932         '../content/content.gyp:content_browser',
933         '../media/media.gyp:media',
934         '../net/net.gyp:net',
935         '../skia/skia.gyp:skia',
936         '../third_party/icu/icu.gyp:icui18n',
937         '../third_party/icu/icu.gyp:icuuc',
938         '../ui/accessibility/accessibility.gyp:accessibility',
939         '../ui/app_list/app_list.gyp:app_list',
940         '../ui/aura/aura.gyp:aura',
941         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
942         '../ui/base/ui_base.gyp:ui_base',
943         '../ui/compositor/compositor.gyp:compositor',
944         '../ui/events/devices/events_devices.gyp:events_devices',
945         '../ui/events/events.gyp:events',
946         '../ui/events/events.gyp:events_base',
947         '../ui/events/events.gyp:gesture_detection',
948         '../ui/events/platform/events_platform.gyp:events_platform',
949         '../ui/gfx/gfx.gyp:gfx',
950         '../ui/gfx/gfx.gyp:gfx_geometry',
951         '../ui/keyboard/keyboard.gyp:keyboard',
952         '../ui/message_center/message_center.gyp:message_center',
953         '../ui/resources/ui_resources.gyp:ui_resources',
954         '../ui/strings/ui_strings.gyp:ui_strings',
955         '../ui/views/controls/webview/webview.gyp:webview',
956         '../ui/views/views.gyp:views',
957         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
958         '../ui/wm/wm.gyp:wm',
959         '../url/url.gyp:url_lib',
960         'ash_resources.gyp:ash_resources',
961         'ash_strings.gyp:ash_strings',
962       ],
963       'defines': [
964         'ASH_IMPLEMENTATION',
965       ],
966       'sources': [
967         '<@(ash_sources)',
968       ],
969       'conditions': [
970         ['OS=="win"', {
971           'sources!': [
972             # Note: sources list duplicated in GN build.
973             "sticky_keys/sticky_keys_controller.cc",
974             "sticky_keys/sticky_keys_controller.h",
975           ],
976           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
977           'msvs_disabled_warnings': [ 4267, ],
978         }],
979         ['use_x11==1', {
980           'dependencies': [
981             '../build/linux/system.gyp:x11',
982             '../build/linux/system.gyp:xfixes',
983             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
984            ],
985         }],
986         ['use_ozone==1', {
987           'dependencies': [
988             '../ui/events/ozone/events_ozone.gyp:events_ozone',
989             '../ui/ozone/ozone.gyp:ozone',
990           ],
991         }],
992         ['chromeos==1', {
993           'dependencies': [
994             '../chromeos/chromeos.gyp:chromeos',
995             # Ash #includes power_supply_properties.pb.h directly.
996             '../chromeos/chromeos.gyp:power_manager_proto',
997             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
998             '../third_party/qcms/qcms.gyp:qcms',
999             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
1000             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
1001             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
1002             '../ui/display/display.gyp:display',
1003             '../ui/display/display.gyp:display_util',
1004           ],
1005         }, { # else: chromeos!=1
1006           'sources!': [
1007             'accelerators/key_hold_detector.cc',
1008             'accelerators/key_hold_detector.h',
1009             'accelerators/magnifier_key_scroller.cc',
1010             'accelerators/magnifier_key_scroller.h',
1011             'accelerators/spoken_feedback_toggler.cc',
1012             'accelerators/spoken_feedback_toggler.h',
1013             'display/display_configurator_animation.cc',
1014             'display/display_configurator_animation.h',
1015             'display/resolution_notification_controller.cc',
1016             'display/resolution_notification_controller.h',
1017             'system/tray/media_security/media_capture_observer.h',
1018             'system/tray/media_security/multi_profile_media_tray_item.cc',
1019             'system/tray/media_security/multi_profile_media_tray_item.h',
1020             'touch/touch_transformer_controller.cc',
1021             'touch/touch_transformer_controller.h',
1022             'touch/touchscreen_util.cc',
1023             'touch/touchscreen_util.h',
1024             'virtual_keyboard_controller.cc',
1025             'virtual_keyboard_controller.h'
1026           ],
1027         }],
1028       ],
1029     },
1030     {
1031       # GN version: //ash:ash_with_content
1032       'target_name': 'ash_with_content',
1033       'type': '<(component)',
1034       'dependencies': [
1035         '../base/base.gyp:base',
1036         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1037         '../content/content.gyp:content_browser',
1038         '../ipc/ipc.gyp:ipc',
1039         '../skia/skia.gyp:skia',
1040         '../ui/aura/aura.gyp:aura',
1041         '../ui/base/ui_base.gyp:ui_base',
1042         '../ui/compositor/compositor.gyp:compositor',
1043         '../ui/events/events.gyp:events',
1044         '../ui/gfx/gfx.gyp:gfx',
1045         '../ui/gfx/gfx.gyp:gfx_geometry',
1046         '../ui/resources/ui_resources.gyp:ui_resources',
1047         '../ui/strings/ui_strings.gyp:ui_strings',
1048         '../ui/views/controls/webview/webview.gyp:webview',
1049         '../ui/views/views.gyp:views',
1050         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
1051         '../url/url.gyp:url_lib',
1052         'ash',
1053         'ash_resources.gyp:ash_resources',
1054         'ash_strings.gyp:ash_strings',
1055       ],
1056       'defines': [
1057         'ASH_WITH_CONTENT_IMPLEMENTATION',
1058       ],
1059       'sources': [
1060         # Note: sources list duplicated in GN build.
1061         'content_support/ash_with_content_export.h',
1062         'content_support/gpu_support_impl.cc',
1063         'content_support/gpu_support_impl.h',
1064         'keyboard_overlay/keyboard_overlay_delegate.cc',
1065         'keyboard_overlay/keyboard_overlay_delegate.h',
1066         'keyboard_overlay/keyboard_overlay_view.cc',
1067         'keyboard_overlay/keyboard_overlay_view.h',
1068       ],
1069     },
1070     {
1071       # GN version: //ash:test_support
1072       'target_name': 'ash_test_support',
1073       'type': 'static_library',
1074       'dependencies': [
1075         '../skia/skia.gyp:skia',
1076         '../testing/gtest.gyp:gtest',
1077         '../ui/accessibility/accessibility.gyp:ax_gen',
1078         '../ui/app_list/app_list.gyp:app_list_test_support',
1079         '../ui/events/devices/events_devices.gyp:events_devices',
1080         '../ui/views/views.gyp:views_test_support',
1081         'ash',
1082         'ash_resources.gyp:ash_resources',
1083       ],
1084       'sources': [
1085         '<@(ash_test_support_sources)',
1086       ],
1087       'conditions': [
1088         ['OS=="win"', {
1089           'dependencies': [
1090             '../ipc/ipc.gyp:ipc',
1091             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
1092             '../ui/platform_window/win/win_window.gyp:win_window',
1093             '../win8/win8.gyp:metro_viewer',
1094             '../win8/win8.gyp:test_support_win8',
1095             '../win8/win8_tests.gyp:test_registrar',
1096           ],
1097           'sources': [
1098             'test/test_metro_viewer_process_host.cc',
1099             'test/test_metro_viewer_process_host.h',
1100           ],
1101         }],
1102       ],
1103     },
1104     {
1105       # GN version: //ash:ash_unittests
1106       'target_name': 'ash_unittests',
1107       'type': 'executable',
1108       'dependencies': [
1109         '../base/base.gyp:base',
1110         '../base/base.gyp:test_support_base',
1111         '../chrome/chrome_resources.gyp:packed_resources',
1112         '../components/components.gyp:user_manager',
1113         '../content/content.gyp:content_browser',
1114         '../content/content_shell_and_tests.gyp:test_support_content',
1115         '../skia/skia.gyp:skia',
1116         '../testing/gtest.gyp:gtest',
1117         '../third_party/icu/icu.gyp:icui18n',
1118         '../third_party/icu/icu.gyp:icuuc',
1119         '../ui/accessibility/accessibility.gyp:accessibility',
1120         '../ui/app_list/app_list.gyp:app_list',
1121         '../ui/aura/aura.gyp:aura',
1122         '../ui/aura/aura.gyp:aura_test_support',
1123         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1124         '../ui/base/ui_base.gyp:ui_base',
1125         '../ui/base/ui_base.gyp:ui_base_test_support',
1126         '../ui/compositor/compositor.gyp:compositor',
1127         '../ui/compositor/compositor.gyp:compositor_test_support',
1128         '../ui/events/devices/events_devices.gyp:events_devices',
1129         '../ui/events/events.gyp:events',
1130         '../ui/events/events.gyp:events_test_support',
1131         '../ui/events/events.gyp:gesture_detection',
1132         '../ui/gfx/gfx.gyp:gfx',
1133         '../ui/gfx/gfx.gyp:gfx_geometry',
1134         '../ui/keyboard/keyboard.gyp:keyboard',
1135         '../ui/message_center/message_center.gyp:message_center',
1136         '../ui/message_center/message_center.gyp:message_center_test_support',
1137         '../ui/resources/ui_resources.gyp:ui_resources',
1138         '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
1139         '../ui/views/views.gyp:views',
1140         '../ui/views/views.gyp:views_test_support',
1141         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
1142         '../ui/wm/wm.gyp:wm',
1143         '../url/url.gyp:url_lib',
1144         'ash',
1145         'ash_resources.gyp:ash_resources',
1146         'ash_strings.gyp:ash_strings',
1147         'ash_test_support',
1148         'ash_with_content',
1149       ],
1150       'sources': [
1151         '<@(ash_unittests_sources)',
1152       ],
1153       'conditions': [
1154         ['chromeos==0', {
1155           'sources!': [
1156             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
1157             'focus_cycler_unittest.cc',
1159             # All tests for multiple displays: not supported on Windows Ash.
1160             'wm/drag_window_resizer_unittest.cc',
1162             # Can't resize on Windows Ash. http://crbug.com/165962
1163             'autoclick/autoclick_unittest.cc',
1164             'magnifier/magnification_controller_unittest.cc',
1165             'sticky_keys/sticky_keys_overlay_unittest.cc',
1166             'sticky_keys/sticky_keys_unittest.cc',
1167             'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
1168             'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
1169             'virtual_keyboard_controller_unittest.cc',
1170             'wm/maximize_mode/maximize_mode_controller_unittest.cc',
1171             'wm/workspace/workspace_window_resizer_unittest.cc',
1172           ],
1173           'sources': [
1174             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1175           ],
1176           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1177           'msvs_disabled_warnings': [ 4267, ],
1178         }],
1179         ['OS=="win" and win_use_allocator_shim==1', {
1180           'dependencies': [
1181             '../base/allocator/allocator.gyp:allocator',
1182           ],
1183         }],
1184         ['chromeos==1', {
1185           'dependencies': [
1186             '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
1187             '../chromeos/chromeos.gyp:power_manager_proto',
1188             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1189             '../ui/display/display.gyp:display',
1190             '../ui/display/display.gyp:display_test_util',
1191             '../ui/display/display.gyp:display_types',
1192           ],
1193           'sources': [
1194             'first_run/first_run_helper_unittest.cc',
1195           ],
1196         }, { # else: chromeos!=1
1197           'sources!': [
1198             'accelerators/magnifier_key_scroller_unittest.cc',
1199             'accelerators/spoken_feedback_toggler_unittest.cc',
1200             'display/resolution_notification_controller_unittest.cc',
1201             'touch/touch_transformer_controller_unittest.cc',
1202             'touch/touchscreen_util_unittest.cc',
1203           ],
1204         }],
1205         ['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
1206           'dependencies': [
1207             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1208           ],
1209           'link_settings': {
1210             'ldflags': ['-rdynamic'],
1211           },
1212         }],
1213         ['use_ozone==1', {
1214           'sources!': [
1215             'sticky_keys/sticky_keys_unittest.cc',  # crbug.com/354035
1216           ],
1217         }],
1218       ],
1219     },
1220     {
1221       # GN version: //ash:ash_shell_lib
1222       'target_name': 'ash_shell_lib',
1223       'type': 'static_library',
1224       'dependencies': [
1225         '../base/base.gyp:base',
1226         '../base/base.gyp:base_i18n',
1227         '../chrome/chrome_resources.gyp:packed_resources',
1228         '../content/content_shell_and_tests.gyp:content_shell_lib',
1229         '../content/content.gyp:content',
1230         '../skia/skia.gyp:skia',
1231         '../third_party/icu/icu.gyp:icui18n',
1232         '../third_party/icu/icu.gyp:icuuc',
1233         '../ui/app_list/app_list.gyp:app_list',
1234         '../ui/aura/aura.gyp:aura',
1235         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1236         '../ui/base/ui_base.gyp:ui_base',
1237         '../ui/compositor/compositor.gyp:compositor',
1238         '../ui/events/events.gyp:events',
1239         '../ui/gfx/gfx.gyp:gfx',
1240         '../ui/gfx/gfx.gyp:gfx_geometry',
1241         '../ui/keyboard/keyboard.gyp:keyboard',
1242         '../ui/message_center/message_center.gyp:message_center',
1243         '../ui/resources/ui_resources.gyp:ui_resources',
1244         '../ui/views/examples/examples.gyp:views_examples_lib',
1245         '../ui/views/examples/examples.gyp:views_examples_with_content_lib',
1246         '../ui/views/views.gyp:views',
1247         '../ui/views/views.gyp:views_test_support',
1248         'ash',
1249         'ash_resources.gyp:ash_resources',
1250         'ash_strings.gyp:ash_strings',
1251         'ash_test_support',
1252         'ash_with_content',
1253       ],
1254       'sources': [
1255         '<@(ash_shell_lib_sources)',
1256       ],
1257       'conditions': [
1258         ['OS=="win"', {
1259           'dependencies': [
1260             '../content/content.gyp:content_startup_helper_win',
1261           ],
1262         }],
1263       ],
1264     },
1265     {
1266       # GN version: //ash:ash_shell
1267       'target_name': 'ash_shell',
1268       'type': 'executable',
1269       'dependencies': [
1270         'ash_shell_lib',
1271         '../components/components.gyp:user_manager',
1272       ],
1273       'sources': [
1274         'shell/shell_main.cc',
1275       ],
1276       'conditions': [
1277         ['OS=="win"', {
1278           'msvs_settings': {
1279             'VCLinkerTool': {
1280               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
1281             },
1282           },
1283           'dependencies': [
1284             '../sandbox/sandbox.gyp:sandbox',
1285           ],
1286         }],
1287         ['chromeos==1', {
1288           'dependencies': [
1289             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1290           ],
1291         }],
1292         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1293           'dependencies': [
1294             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1295           ],
1296         }],
1297       ],
1298     },
1299     {
1300       # GN version: //ash:ash_shell_unittests
1301       'target_name': 'ash_shell_unittests',
1302       'type': 'executable',
1303       'dependencies': [
1304         '../base/base.gyp:test_support_base',
1305         '../components/components.gyp:user_manager',
1306         '../content/content_shell_and_tests.gyp:test_support_content',
1307         '../skia/skia.gyp:skia',
1308         '../testing/gtest.gyp:gtest',
1309         '../ui/accessibility/accessibility.gyp:ax_gen',
1310         'ash_shell_lib',
1311         'ash_test_support',
1312       ],
1313       'sources': [
1314         # Note: file list duplicated in GN build.
1315         'shell/window_watcher_unittest.cc',
1316         'test/ash_unittests.cc',
1317       ],
1318       'conditions': [
1319         ['chromeos==1', {
1320           'dependencies': [
1321             '../ui/display/display.gyp:display',
1322           ],
1323         }],
1324         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1325           'dependencies': [
1326             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1327           ],
1328         }],
1329       ],
1330     },
1331   ],
1332   'conditions': [
1333     ['test_isolation_mode != "noop"', {
1334       'targets': [
1335         {
1336           'target_name': 'ash_unittests_run',
1337           'type': 'none',
1338           'dependencies': [
1339             'ash_unittests',
1340           ],
1341           'includes': [
1342             '../build/isolate.gypi',
1343           ],
1344           'sources': [
1345             'ash_unittests.isolate',
1346           ],
1347           'conditions': [
1348             ['use_x11==1',
1349               {
1350                 'dependencies': [
1351                   '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1352                 ],
1353               }
1354             ],
1355           ],
1356         },
1357       ],
1358     }],
1359   ],