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