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