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