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