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