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