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