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