Added dsinclair as owner of components/tracing to be consistent with other tracing...
[chromium-blink-merge.git] / ash / ash.gyp
blob9ae3b275d5cad199218d912fa8f2082f5042dfa2
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/session_state_animator_impl_unittest.cc',
891       'wm/stacking_controller_unittest.cc',
892       'wm/system_gesture_event_filter_unittest.cc',
893       'wm/system_modal_container_layout_manager_unittest.cc',
894       'wm/toplevel_window_event_handler_unittest.cc',
895       'wm/video_detector_unittest.cc',
896       'wm/window_animations_unittest.cc',
897       'wm/window_cycle_controller_unittest.cc',
898       'wm/window_manager_unittest.cc',
899       'wm/window_modality_controller_unittest.cc',
900       'wm/window_positioner_unittest.cc',
901       'wm/window_state_unittest.cc',
902       'wm/window_util_unittest.cc',
903       'wm/workspace/magnetism_matcher_unittest.cc',
904       'wm/workspace/multi_window_resize_controller_unittest.cc',
905       'wm/workspace/workspace_event_handler_test_helper.cc',
906       'wm/workspace/workspace_event_handler_test_helper.h',
907       'wm/workspace/workspace_event_handler_unittest.cc',
908       'wm/workspace/workspace_layout_manager_unittest.cc',
909       'wm/workspace/workspace_window_resizer_unittest.cc',
910       'wm/workspace_controller_test_helper.cc',
911       'wm/workspace_controller_test_helper.h',
912       'wm/workspace_controller_unittest.cc',
913     ],
914   },
915   'targets': [
916     {
917       # GN version: //ash
918       'target_name': 'ash',
919       'type': '<(component)',
920       'dependencies': [
921         '../base/base.gyp:base',
922         '../base/base.gyp:base_i18n',
923         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
924         '../cc/cc.gyp:cc',
925         '../components/components.gyp:device_event_log_component',
926         '../components/components.gyp:user_manager',
927         '../components/components.gyp:wallpaper',
928         '../content/content.gyp:content_browser',
929         '../media/media.gyp:media',
930         '../net/net.gyp:net',
931         '../skia/skia.gyp:skia',
932         '../third_party/icu/icu.gyp:icui18n',
933         '../third_party/icu/icu.gyp:icuuc',
934         '../ui/accessibility/accessibility.gyp:accessibility',
935         '../ui/app_list/app_list.gyp:app_list',
936         '../ui/aura/aura.gyp:aura',
937         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
938         '../ui/base/ui_base.gyp:ui_base',
939         '../ui/compositor/compositor.gyp:compositor',
940         '../ui/events/devices/events_devices.gyp:events_devices',
941         '../ui/events/events.gyp:events',
942         '../ui/events/events.gyp:events_base',
943         '../ui/events/events.gyp:gesture_detection',
944         '../ui/events/platform/events_platform.gyp:events_platform',
945         '../ui/gfx/gfx.gyp:gfx',
946         '../ui/gfx/gfx.gyp:gfx_geometry',
947         '../ui/keyboard/keyboard.gyp:keyboard',
948         '../ui/message_center/message_center.gyp:message_center',
949         '../ui/resources/ui_resources.gyp:ui_resources',
950         '../ui/strings/ui_strings.gyp:ui_strings',
951         '../ui/views/controls/webview/webview.gyp:webview',
952         '../ui/views/views.gyp:views',
953         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
954         '../ui/wm/wm.gyp:wm',
955         '../url/url.gyp:url_lib',
956         'ash_resources.gyp:ash_resources',
957         'ash_strings.gyp:ash_strings',
958       ],
959       'defines': [
960         'ASH_IMPLEMENTATION',
961       ],
962       'sources': [
963         '<@(ash_sources)',
964       ],
965       'conditions': [
966         ['OS=="win"', {
967           'sources!': [
968             # Note: sources list duplicated in GN build.
969             "sticky_keys/sticky_keys_controller.cc",
970             "sticky_keys/sticky_keys_controller.h",
971           ],
972           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
973           'msvs_disabled_warnings': [ 4267, ],
974         }],
975         ['use_x11==1', {
976           'dependencies': [
977             '../build/linux/system.gyp:x11',
978             '../build/linux/system.gyp:xfixes',
979             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
980            ],
981         }],
982         ['use_ozone==1', {
983           'dependencies': [
984             '../ui/events/ozone/events_ozone.gyp:events_ozone',
985             '../ui/ozone/ozone.gyp:ozone',
986           ],
987         }],
988         ['chromeos==1', {
989           'dependencies': [
990             '../chromeos/chromeos.gyp:chromeos',
991             # Ash #includes power_supply_properties.pb.h directly.
992             '../chromeos/chromeos.gyp:power_manager_proto',
993             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
994             '../third_party/qcms/qcms.gyp:qcms',
995             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
996             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
997             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
998             '../ui/display/display.gyp:display',
999             '../ui/display/display.gyp:display_util',
1000           ],
1001         }, { # else: chromeos!=1
1002           'sources!': [
1003             'accelerators/key_hold_detector.cc',
1004             'accelerators/key_hold_detector.h',
1005             'accelerators/magnifier_key_scroller.cc',
1006             'accelerators/magnifier_key_scroller.h',
1007             'accelerators/spoken_feedback_toggler.cc',
1008             'accelerators/spoken_feedback_toggler.h',
1009             'display/display_configurator_animation.cc',
1010             'display/display_configurator_animation.h',
1011             'display/resolution_notification_controller.cc',
1012             'display/resolution_notification_controller.h',
1013             'system/tray/media_security/media_capture_observer.h',
1014             'system/tray/media_security/multi_profile_media_tray_item.cc',
1015             'system/tray/media_security/multi_profile_media_tray_item.h',
1016             'touch/touch_transformer_controller.cc',
1017             'touch/touch_transformer_controller.h',
1018             'touch/touchscreen_util.cc',
1019             'touch/touchscreen_util.h',
1020             'virtual_keyboard_controller.cc',
1021             'virtual_keyboard_controller.h'
1022           ],
1023         }],
1024       ],
1025     },
1026     {
1027       # GN version: //ash:ash_with_content
1028       'target_name': 'ash_with_content',
1029       'type': '<(component)',
1030       'dependencies': [
1031         '../base/base.gyp:base',
1032         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1033         '../content/content.gyp:content_browser',
1034         '../ipc/ipc.gyp:ipc',
1035         '../skia/skia.gyp:skia',
1036         '../ui/aura/aura.gyp:aura',
1037         '../ui/base/ui_base.gyp:ui_base',
1038         '../ui/compositor/compositor.gyp:compositor',
1039         '../ui/events/events.gyp:events',
1040         '../ui/gfx/gfx.gyp:gfx',
1041         '../ui/gfx/gfx.gyp:gfx_geometry',
1042         '../ui/resources/ui_resources.gyp:ui_resources',
1043         '../ui/strings/ui_strings.gyp:ui_strings',
1044         '../ui/views/controls/webview/webview.gyp:webview',
1045         '../ui/views/views.gyp:views',
1046         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
1047         '../url/url.gyp:url_lib',
1048         'ash',
1049         'ash_resources.gyp:ash_resources',
1050         'ash_strings.gyp:ash_strings',
1051       ],
1052       'defines': [
1053         'ASH_WITH_CONTENT_IMPLEMENTATION',
1054       ],
1055       'sources': [
1056         # Note: sources list duplicated in GN build.
1057         'content_support/ash_with_content_export.h',
1058         'content_support/gpu_support_impl.cc',
1059         'content_support/gpu_support_impl.h',
1060         'keyboard_overlay/keyboard_overlay_delegate.cc',
1061         'keyboard_overlay/keyboard_overlay_delegate.h',
1062         'keyboard_overlay/keyboard_overlay_view.cc',
1063         'keyboard_overlay/keyboard_overlay_view.h',
1064       ],
1065     },
1066     {
1067       # GN version: //ash:test_support
1068       'target_name': 'ash_test_support',
1069       'type': 'static_library',
1070       'dependencies': [
1071         '../skia/skia.gyp:skia',
1072         '../testing/gtest.gyp:gtest',
1073         '../ui/accessibility/accessibility.gyp:ax_gen',
1074         '../ui/app_list/app_list.gyp:app_list_test_support',
1075         '../ui/events/devices/events_devices.gyp:events_devices',
1076         '../ui/views/views.gyp:views_test_support',
1077         'ash',
1078         'ash_resources.gyp:ash_resources',
1079       ],
1080       'sources': [
1081         '<@(ash_test_support_sources)',
1082       ],
1083       'conditions': [
1084         ['OS=="win"', {
1085           'dependencies': [
1086             '../ipc/ipc.gyp:ipc',
1087             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
1088             '../ui/platform_window/win/win_window.gyp:win_window',
1089             '../win8/win8.gyp:metro_viewer',
1090             '../win8/win8.gyp:test_support_win8',
1091             '../win8/win8_tests.gyp:test_registrar',
1092           ],
1093           'sources': [
1094             'test/test_metro_viewer_process_host.cc',
1095             'test/test_metro_viewer_process_host.h',
1096           ],
1097         }],
1098       ],
1099     },
1100     {
1101       # GN version: //ash:ash_unittests
1102       'target_name': 'ash_unittests',
1103       'type': 'executable',
1104       'dependencies': [
1105         '../base/base.gyp:base',
1106         '../base/base.gyp:test_support_base',
1107         '../chrome/chrome_resources.gyp:packed_resources',
1108         '../components/components.gyp:user_manager',
1109         '../content/content.gyp:content_browser',
1110         '../content/content_shell_and_tests.gyp:test_support_content',
1111         '../skia/skia.gyp:skia',
1112         '../testing/gtest.gyp:gtest',
1113         '../third_party/icu/icu.gyp:icui18n',
1114         '../third_party/icu/icu.gyp:icuuc',
1115         '../ui/accessibility/accessibility.gyp:accessibility',
1116         '../ui/app_list/app_list.gyp:app_list',
1117         '../ui/aura/aura.gyp:aura',
1118         '../ui/aura/aura.gyp:aura_test_support',
1119         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1120         '../ui/base/ui_base.gyp:ui_base',
1121         '../ui/base/ui_base.gyp:ui_base_test_support',
1122         '../ui/compositor/compositor.gyp:compositor',
1123         '../ui/compositor/compositor.gyp:compositor_test_support',
1124         '../ui/events/devices/events_devices.gyp:events_devices',
1125         '../ui/events/events.gyp:events',
1126         '../ui/events/events.gyp:events_test_support',
1127         '../ui/events/events.gyp:gesture_detection',
1128         '../ui/gfx/gfx.gyp:gfx',
1129         '../ui/gfx/gfx.gyp:gfx_geometry',
1130         '../ui/keyboard/keyboard.gyp:keyboard',
1131         '../ui/message_center/message_center.gyp:message_center',
1132         '../ui/message_center/message_center.gyp:message_center_test_support',
1133         '../ui/resources/ui_resources.gyp:ui_resources',
1134         '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
1135         '../ui/views/views.gyp:views',
1136         '../ui/views/views.gyp:views_test_support',
1137         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
1138         '../ui/wm/wm.gyp:wm',
1139         '../url/url.gyp:url_lib',
1140         'ash',
1141         'ash_resources.gyp:ash_resources',
1142         'ash_strings.gyp:ash_strings',
1143         'ash_test_support',
1144         'ash_with_content',
1145       ],
1146       'sources': [
1147         '<@(ash_unittests_sources)',
1148       ],
1149       'conditions': [
1150         ['chromeos==0', {
1151           'sources!': [
1152             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
1153             'focus_cycler_unittest.cc',
1155             # All tests for multiple displays: not supported on Windows Ash.
1156             'wm/drag_window_resizer_unittest.cc',
1158             # Can't resize on Windows Ash. http://crbug.com/165962
1159             'autoclick/autoclick_unittest.cc',
1160             'magnifier/magnification_controller_unittest.cc',
1161             'sticky_keys/sticky_keys_overlay_unittest.cc',
1162             'sticky_keys/sticky_keys_unittest.cc',
1163             'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
1164             'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
1165             'virtual_keyboard_controller_unittest.cc',
1166             'wm/maximize_mode/maximize_mode_controller_unittest.cc',
1167             'wm/workspace/workspace_window_resizer_unittest.cc',
1168           ],
1169           'sources': [
1170             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1171           ],
1172           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1173           'msvs_disabled_warnings': [ 4267, ],
1174         }],
1175         ['OS=="win" and win_use_allocator_shim==1', {
1176           'dependencies': [
1177             '../base/allocator/allocator.gyp:allocator',
1178           ],
1179         }],
1180         ['chromeos==1', {
1181           'dependencies': [
1182             '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
1183             '../chromeos/chromeos.gyp:power_manager_proto',
1184             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1185             '../ui/display/display.gyp:display',
1186             '../ui/display/display.gyp:display_test_util',
1187             '../ui/display/display.gyp:display_types',
1188           ],
1189           'sources': [
1190             'first_run/first_run_helper_unittest.cc',
1191           ],
1192         }, { # else: chromeos!=1
1193           'sources!': [
1194             'accelerators/magnifier_key_scroller_unittest.cc',
1195             'accelerators/spoken_feedback_toggler_unittest.cc',
1196             'display/resolution_notification_controller_unittest.cc',
1197             'touch/touch_transformer_controller_unittest.cc',
1198             'touch/touchscreen_util_unittest.cc',
1199           ],
1200         }],
1201         ['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
1202           'dependencies': [
1203             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1204           ],
1205           'link_settings': {
1206             'ldflags': ['-rdynamic'],
1207           },
1208         }],
1209         ['use_ozone==1', {
1210           'sources!': [
1211             'sticky_keys/sticky_keys_unittest.cc',  # crbug.com/354035
1212           ],
1213         }],
1214       ],
1215     },
1216     {
1217       # GN version: //ash:ash_shell_lib
1218       'target_name': 'ash_shell_lib',
1219       'type': 'static_library',
1220       'dependencies': [
1221         '../base/base.gyp:base',
1222         '../base/base.gyp:base_i18n',
1223         '../chrome/chrome_resources.gyp:packed_resources',
1224         '../content/content_shell_and_tests.gyp:content_shell_lib',
1225         '../content/content.gyp:content',
1226         '../skia/skia.gyp:skia',
1227         '../third_party/icu/icu.gyp:icui18n',
1228         '../third_party/icu/icu.gyp:icuuc',
1229         '../ui/app_list/app_list.gyp:app_list',
1230         '../ui/aura/aura.gyp:aura',
1231         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1232         '../ui/base/ui_base.gyp:ui_base',
1233         '../ui/compositor/compositor.gyp:compositor',
1234         '../ui/events/events.gyp:events',
1235         '../ui/gfx/gfx.gyp:gfx',
1236         '../ui/gfx/gfx.gyp:gfx_geometry',
1237         '../ui/keyboard/keyboard.gyp:keyboard',
1238         '../ui/message_center/message_center.gyp:message_center',
1239         '../ui/resources/ui_resources.gyp:ui_resources',
1240         '../ui/views/examples/examples.gyp:views_examples_lib',
1241         '../ui/views/examples/examples.gyp:views_examples_with_content_lib',
1242         '../ui/views/views.gyp:views',
1243         '../ui/views/views.gyp:views_test_support',
1244         'ash',
1245         'ash_resources.gyp:ash_resources',
1246         'ash_strings.gyp:ash_strings',
1247         'ash_test_support',
1248         'ash_with_content',
1249       ],
1250       'sources': [
1251         '<@(ash_shell_lib_sources)',
1252       ],
1253       'conditions': [
1254         ['OS=="win"', {
1255           'dependencies': [
1256             '../content/content.gyp:content_startup_helper_win',
1257           ],
1258         }],
1259       ],
1260     },
1261     {
1262       # GN version: //ash:ash_shell
1263       'target_name': 'ash_shell',
1264       'type': 'executable',
1265       'dependencies': [
1266         'ash_shell_lib',
1267         '../components/components.gyp:user_manager',
1268       ],
1269       'sources': [
1270         'shell/shell_main.cc',
1271       ],
1272       'conditions': [
1273         ['OS=="win"', {
1274           'msvs_settings': {
1275             'VCLinkerTool': {
1276               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
1277             },
1278           },
1279           'dependencies': [
1280             '../sandbox/sandbox.gyp:sandbox',
1281           ],
1282         }],
1283         ['chromeos==1', {
1284           'dependencies': [
1285             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1286           ],
1287         }],
1288         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1289           'dependencies': [
1290             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1291           ],
1292         }],
1293       ],
1294     },
1295     {
1296       # GN version: //ash:ash_shell_unittests
1297       'target_name': 'ash_shell_unittests',
1298       'type': 'executable',
1299       'dependencies': [
1300         '../base/base.gyp:test_support_base',
1301         '../components/components.gyp:user_manager',
1302         '../content/content_shell_and_tests.gyp:test_support_content',
1303         '../skia/skia.gyp:skia',
1304         '../testing/gtest.gyp:gtest',
1305         '../ui/accessibility/accessibility.gyp:ax_gen',
1306         'ash_shell_lib',
1307         'ash_test_support',
1308       ],
1309       'sources': [
1310         # Note: file list duplicated in GN build.
1311         'shell/window_watcher_unittest.cc',
1312         'test/ash_unittests.cc',
1313       ],
1314       'conditions': [
1315         ['chromeos==1', {
1316           'dependencies': [
1317             '../ui/display/display.gyp:display',
1318           ],
1319         }],
1320         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1321           'dependencies': [
1322             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1323           ],
1324         }],
1325       ],
1326     },
1327   ],
1328   'conditions': [
1329     ['test_isolation_mode != "noop"', {
1330       'targets': [
1331         {
1332           'target_name': 'ash_unittests_run',
1333           'type': 'none',
1334           'dependencies': [
1335             'ash_unittests',
1336           ],
1337           'includes': [
1338             '../build/isolate.gypi',
1339           ],
1340           'sources': [
1341             'ash_unittests.isolate',
1342           ],
1343           'conditions': [
1344             ['use_x11==1',
1345               {
1346                 'dependencies': [
1347                   '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1348                 ],
1349               }
1350             ],
1351           ],
1352         },
1353       ],
1354     }],
1355   ],