Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / ash / ash.gyp
blobbead4a60592131fd382c2cb7e557c5a5d0365298
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/virtual_keyboard_container_layout_manager.cc',
607       'wm/virtual_keyboard_container_layout_manager.h',
608       'wm/window_animations.cc',
609       'wm/window_animations.h',
610       'wm/window_cycle_controller.cc',
611       'wm/window_cycle_controller.h',
612       'wm/window_cycle_list.cc',
613       'wm/window_cycle_list.h',
614       'wm/window_positioner.cc',
615       'wm/window_positioner.h',
616       'wm/window_properties.cc',
617       'wm/window_properties.h',
618       'wm/window_resizer.cc',
619       'wm/window_resizer.h',
620       'wm/window_state.cc',
621       'wm/window_state.h',
622       'wm/window_state_delegate.cc',
623       'wm/window_state_delegate.h',
624       'wm/window_state_observer.h',
625       'wm/window_state_util.cc',
626       'wm/window_state_util.h',
627       'wm/window_util.cc',
628       'wm/window_util.h',
629       'wm/wm_event.cc',
630       'wm/wm_event.h',
631       'wm/wm_types.cc',
632       'wm/wm_types.h',
633       'wm/workspace/magnetism_matcher.cc',
634       'wm/workspace/magnetism_matcher.h',
635       'wm/workspace/multi_window_resize_controller.cc',
636       'wm/workspace/multi_window_resize_controller.h',
637       'wm/workspace/phantom_window_controller.cc',
638       'wm/workspace/phantom_window_controller.h',
639       'wm/workspace/two_step_edge_cycler.cc',
640       'wm/workspace/two_step_edge_cycler.h',
641       'wm/workspace/workspace_event_handler.cc',
642       'wm/workspace/workspace_event_handler.h',
643       'wm/workspace/workspace_layout_manager.cc',
644       'wm/workspace/workspace_layout_manager.h',
645       'wm/workspace/workspace_layout_manager_delegate.h',
646       'wm/workspace/workspace_types.h',
647       'wm/workspace/workspace_window_resizer.cc',
648       'wm/workspace/workspace_window_resizer.h',
649       'wm/workspace_controller.cc',
650       'wm/workspace_controller.h',
651     ],
652     'ash_test_support_sources': [
653       'desktop_background/desktop_background_controller_test_api.cc',
654       'desktop_background/desktop_background_controller_test_api.h',
655       'shell/keyboard_controller_proxy_stub.cc',
656       'shell/keyboard_controller_proxy_stub.h',
657       'shell/toplevel_window.cc',
658       'shell/toplevel_window.h',
659       'test/app_list_controller_test_api.cc',
660       'test/app_list_controller_test_api.h',
661       'test/ash_test_base.cc',
662       'test/ash_test_base.h',
663       'test/ash_test_helper.cc',
664       'test/ash_test_helper.h',
665       'test/ash_test_views_delegate.cc',
666       'test/ash_test_views_delegate.h',
667       'test/child_modal_window.cc',
668       'test/child_modal_window.h',
669       'test/cursor_manager_test_api.cc',
670       'test/cursor_manager_test_api.h',
671       'test/display_manager_test_api.cc',
672       'test/display_manager_test_api.h',
673       'test/mirror_window_test_api.cc',
674       'test/mirror_window_test_api.h',
675       'test/overflow_bubble_view_test_api.cc',
676       'test/overflow_bubble_view_test_api.h',
677       'test/shelf_item_delegate_manager_test_api.cc',
678       'test/shelf_item_delegate_manager_test_api.h',
679       'test/shelf_test_api.cc',
680       'test/shelf_test_api.h',
681       'test/shelf_view_test_api.cc',
682       'test/shelf_view_test_api.h',
683       'test/shell_test_api.cc',
684       'test/shell_test_api.h',
685       'test/status_area_widget_test_helper.cc',
686       'test/status_area_widget_test_helper.h',
687       'test/test_activation_delegate.cc',
688       'test/test_activation_delegate.h',
689       'test/test_lock_state_controller_delegate.cc',
690       'test/test_lock_state_controller_delegate.h',
691       'test/test_overlay_delegate.cc',
692       'test/test_overlay_delegate.h',
693       'test/test_screenshot_delegate.cc',
694       'test/test_screenshot_delegate.h',
695       'test/test_session_state_animator.cc',
696       'test/test_session_state_animator.h',
697       'test/test_session_state_delegate.cc',
698       'test/test_session_state_delegate.h',
699       'test/test_shelf_delegate.cc',
700       'test/test_shelf_delegate.h',
701       'test/test_shelf_item_delegate.cc',
702       'test/test_shelf_item_delegate.h',
703       'test/test_shell_delegate.cc',
704       'test/test_shell_delegate.h',
705       'test/test_suite.cc',
706       'test/test_suite.h',
707       'test/test_suite_init.h',
708       'test/test_suite_init.mm',
709       'test/test_system_tray_delegate.cc',
710       'test/test_system_tray_delegate.h',
711       'test/test_user_wallpaper_delegate.cc',
712       'test/test_user_wallpaper_delegate.h',
713       'test/test_volume_control_delegate.cc',
714       'test/test_volume_control_delegate.h',
715       'test/ui_controls_factory_ash.cc',
716       'test/ui_controls_factory_ash.h',
717       'test/virtual_keyboard_test_helper.cc',
718       'test/virtual_keyboard_test_helper.h',
719     ],
720     'ash_shell_lib_sources': [
721       '../ui/views/test/test_views_delegate_aura.cc',
722       'shell/app_list.cc',
723       'shell/bubble.cc',
724       'shell/content_client/shell_browser_main_parts.cc',
725       'shell/content_client/shell_browser_main_parts.h',
726       'shell/content_client/shell_content_browser_client.cc',
727       'shell/content_client/shell_content_browser_client.h',
728       'shell/content_client/shell_main_delegate.cc',
729       'shell/content_client/shell_main_delegate.h',
730       'shell/context_menu.cc',
731       'shell/context_menu.h',
732       'shell/example_factory.h',
733       'shell/keyboard_controller_proxy_stub.cc',
734       'shell/keyboard_controller_proxy_stub.h',
735       'shell/lock_view.cc',
736       'shell/panel_window.cc',
737       'shell/panel_window.h',
738       'shell/shelf_delegate_impl.cc',
739       'shell/shelf_delegate_impl.h',
740       'shell/shell_delegate_impl.cc',
741       'shell/shell_delegate_impl.h',
742       'shell/shell_main_parts.cc',
743       'shell/shell_main_parts.h',
744       'shell/toplevel_window.cc',
745       'shell/toplevel_window.h',
746       'shell/widgets.cc',
747       'shell/window_type_launcher.cc',
748       'shell/window_type_launcher.h',
749       'shell/window_watcher.cc',
750       'shell/window_watcher.h',
751       'shell/window_watcher_shelf_item_delegate.cc',
752       'shell/window_watcher_shelf_item_delegate.h',
753     ],
754     'ash_unittests_sources': [
755       'accelerators/accelerator_commands_unittest.cc',
756       'accelerators/accelerator_controller_unittest.cc',
757       'accelerators/accelerator_filter_unittest.cc',
758       'accelerators/accelerator_table_unittest.cc',
759       'accelerators/magnifier_key_scroller_unittest.cc',
760       'accelerators/spoken_feedback_toggler_unittest.cc',
761       'ash_touch_exploration_manager_chromeos_unittest.cc',
762       'autoclick/autoclick_unittest.cc',
763       'content/display/screen_orientation_controller_chromeos_unittest.cc',
764       'desktop_background/desktop_background_controller_unittest.cc',
765       'dip_unittest.cc',
766       'display/cursor_window_controller_unittest.cc',
767       'display/display_change_observer_chromeos_unittest.cc',
768       'display/display_controller_unittest.cc',
769       'display/display_error_observer_chromeos_unittest.cc',
770       'display/display_info_unittest.cc',
771       'display/display_manager_unittest.cc',
772       'display/mirror_window_controller_unittest.cc',
773       'display/mouse_cursor_event_filter_unittest.cc',
774       'display/projecting_observer_chromeos_unittest.cc',
775       'display/resolution_notification_controller_unittest.cc',
776       'display/root_window_transformers_unittest.cc',
777       'display/screen_position_controller_unittest.cc',
778       'drag_drop/drag_drop_controller_unittest.cc',
779       'drag_drop/drag_drop_tracker_unittest.cc',
780       'extended_desktop_unittest.cc',
781       'focus_cycler_unittest.cc',
782       'frame/caption_buttons/frame_caption_button_container_view_unittest.cc',
783       'frame/caption_buttons/frame_size_button_unittest.cc',
784       'frame/custom_frame_view_ash_unittest.cc',
785       'frame/default_header_painter_unittest.cc',
786       'host/ash_window_tree_host_x11_unittest.cc',
787       'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
788       'keyboard_overlay/keyboard_overlay_view_unittest.cc',
789       'magnifier/magnification_controller_unittest.cc',
790       'popup_message_unittest.cc',
791       'root_window_controller_unittest.cc',
792       'screen_util_unittest.cc',
793       'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
794       'shelf/shelf_layout_manager_unittest.cc',
795       'shelf/shelf_model_unittest.cc',
796       'shelf/shelf_navigator_unittest.cc',
797       'shelf/shelf_tooltip_manager_unittest.cc',
798       'shelf/shelf_unittest.cc',
799       'shelf/shelf_view_unittest.cc',
800       'shelf/shelf_widget_unittest.cc',
801       'shelf/shelf_window_watcher_unittest.cc',
802       'shell_unittest.cc',
803       'sticky_keys/sticky_keys_overlay_unittest.cc',
804       'sticky_keys/sticky_keys_unittest.cc',
805       'system/chromeos/brightness/tray_brightness_unittest.cc',
806       'system/chromeos/multi_user/user_switch_util_unittest.cc',
807       'system/chromeos/power/power_event_observer_unittest.cc',
808       'system/chromeos/power/power_status_unittest.cc',
809       'system/chromeos/power/power_status_view_unittest.cc',
810       'system/chromeos/power/tray_power_unittest.cc',
811       'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
812       'system/chromeos/screen_security/screen_tray_item_unittest.cc',
813       'system/chromeos/session/logout_confirmation_controller_unittest.cc',
814       'system/chromeos/session/tray_session_length_limit_unittest.cc',
815       'system/chromeos/supervised/tray_supervised_user_unittest.cc',
816       'system/chromeos/tray_display_unittest.cc',
817       'system/date/date_view_unittest.cc',
818       'system/ime/tray_ime_chromeos_unittest.cc',
819       'system/overview/overview_button_tray_unittest.cc',
820       'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
821       'system/tray/system_tray_unittest.cc',
822       'system/tray/tray_details_view_unittest.cc',
823       'system/user/tray_user_unittest.cc',
824       'system/web_notification/ash_popup_alignment_delegate_unittest.cc',
825       'system/web_notification/web_notification_tray_unittest.cc',
826       'test/ash_test_helper_unittest.cc',
827       'test/ash_unittests.cc',
828       'tooltips/tooltip_controller_unittest.cc',
829       'touch/touch_observer_hud_unittest.cc',
830       'touch/touch_transformer_controller_unittest.cc',
831       'touch/touchscreen_util_unittest.cc',
832       'utility/partial_screenshot_controller_unittest.cc',
833       'virtual_keyboard_controller_unittest.cc',
834       'wm/always_on_top_controller_unittest.cc',
835       'wm/app_list_controller_unittest.cc',
836       'wm/ash_native_cursor_manager_unittest.cc',
837       'wm/ash_focus_rules_unittest.cc',
838       'wm/dock/docked_window_layout_manager_unittest.cc',
839       'wm/dock/docked_window_resizer_unittest.cc',
840       'wm/drag_window_resizer_unittest.cc',
841       'wm/gestures/overview_gesture_handler_unittest.cc',
842       'wm/immersive_fullscreen_controller_unittest.cc',
843       'wm/lock_layout_manager_unittest.cc',
844       'wm/lock_state_controller_unittest.cc',
845       'wm/maximize_mode/accelerometer_test_data_literals.cc',
846       'wm/maximize_mode/maximize_mode_controller_unittest.cc',
847       'wm/maximize_mode/maximize_mode_window_manager_unittest.cc',
848       'wm/mru_window_tracker_unittest.cc',
849       'wm/overlay_event_filter_unittest.cc',
850       'wm/overview/window_selector_unittest.cc',
851       'wm/panels/panel_layout_manager_unittest.cc',
852       'wm/panels/panel_window_resizer_unittest.cc',
853       'wm/resize_shadow_and_cursor_unittest.cc',
854       'wm/screen_dimmer_unittest.cc',
855       'wm/stacking_controller_unittest.cc',
856       'wm/system_gesture_event_filter_unittest.cc',
857       'wm/system_modal_container_layout_manager_unittest.cc',
858       'wm/toplevel_window_event_handler_unittest.cc',
859       'wm/video_detector_unittest.cc',
860       'wm/window_animations_unittest.cc',
861       'wm/window_cycle_controller_unittest.cc',
862       'wm/window_manager_unittest.cc',
863       'wm/window_modality_controller_unittest.cc',
864       'wm/window_positioner_unittest.cc',
865       'wm/window_state_unittest.cc',
866       'wm/window_util_unittest.cc',
867       'wm/workspace/magnetism_matcher_unittest.cc',
868       'wm/workspace/multi_window_resize_controller_unittest.cc',
869       'wm/workspace/workspace_event_handler_test_helper.cc',
870       'wm/workspace/workspace_event_handler_test_helper.h',
871       'wm/workspace/workspace_event_handler_unittest.cc',
872       'wm/workspace/workspace_layout_manager_unittest.cc',
873       'wm/workspace/workspace_window_resizer_unittest.cc',
874       'wm/workspace_controller_test_helper.cc',
875       'wm/workspace_controller_test_helper.h',
876       'wm/workspace_controller_unittest.cc',
877     ],
878   },
879   'targets': [
880     {
881       # GN version: //ash
882       'target_name': 'ash',
883       'type': '<(component)',
884       'dependencies': [
885         '../base/base.gyp:base',
886         '../base/base.gyp:base_i18n',
887         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
888         '../cc/cc.gyp:cc',
889         '../components/components.gyp:device_event_log_component',
890         '../components/components.gyp:user_manager',
891         '../components/components.gyp:wallpaper',
892         '../content/content.gyp:content_browser',
893         '../media/media.gyp:media',
894         '../net/net.gyp:net',
895         '../skia/skia.gyp:skia',
896         '../third_party/icu/icu.gyp:icui18n',
897         '../third_party/icu/icu.gyp:icuuc',
898         '../ui/accessibility/accessibility.gyp:accessibility',
899         '../ui/app_list/app_list.gyp:app_list',
900         '../ui/aura/aura.gyp:aura',
901         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
902         '../ui/base/ui_base.gyp:ui_base',
903         '../ui/compositor/compositor.gyp:compositor',
904         '../ui/events/devices/events_devices.gyp:events_devices',
905         '../ui/events/events.gyp:events',
906         '../ui/events/events.gyp:events_base',
907         '../ui/events/events.gyp:gesture_detection',
908         '../ui/events/platform/events_platform.gyp:events_platform',
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           'dependencies': [
941             '../build/linux/system.gyp:x11',
942             '../build/linux/system.gyp:xfixes',
943             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
944            ],
945         }],
946         ['use_ozone==1', {
947           'dependencies': [
948             '../ui/events/ozone/events_ozone.gyp:events_ozone',
949             '../ui/ozone/ozone.gyp:ozone',
950           ],
951         }],
952         ['chromeos==1', {
953           'dependencies': [
954             '../chromeos/chromeos.gyp:chromeos',
955             # Ash #includes power_supply_properties.pb.h directly.
956             '../chromeos/chromeos.gyp:power_manager_proto',
957             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
958             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
959             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
960             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
961             '../ui/display/display.gyp:display',
962             '../ui/display/display.gyp:display_util',
963           ],
964         }, { # else: chromeos!=1
965           'sources!': [
966             'accelerators/key_hold_detector.cc',
967             'accelerators/key_hold_detector.h',
968             'accelerators/magnifier_key_scroller.cc',
969             'accelerators/magnifier_key_scroller.h',
970             'accelerators/spoken_feedback_toggler.cc',
971             'accelerators/spoken_feedback_toggler.h',
972             'display/display_configurator_animation.cc',
973             'display/display_configurator_animation.h',
974             'display/resolution_notification_controller.cc',
975             'display/resolution_notification_controller.h',
976             'system/tray/media_security/media_capture_observer.h',
977             'system/tray/media_security/multi_profile_media_tray_item.cc',
978             'system/tray/media_security/multi_profile_media_tray_item.h',
979             'touch/touch_transformer_controller.cc',
980             'touch/touch_transformer_controller.h',
981             'touch/touchscreen_util.cc',
982             'touch/touchscreen_util.h',
983             'virtual_keyboard_controller.cc',
984             'virtual_keyboard_controller.h'
985           ],
986         }],
987       ],
988     },
989     {
990       # GN version: //ash:ash_with_content
991       'target_name': 'ash_with_content',
992       'type': '<(component)',
993       'dependencies': [
994         '../base/base.gyp:base',
995         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
996         '../content/content.gyp:content_browser',
997         '../ipc/ipc.gyp:ipc',
998         '../skia/skia.gyp:skia',
999         '../ui/aura/aura.gyp:aura',
1000         '../ui/base/ui_base.gyp:ui_base',
1001         '../ui/compositor/compositor.gyp:compositor',
1002         '../ui/events/events.gyp:events',
1003         '../ui/gfx/gfx.gyp:gfx',
1004         '../ui/gfx/gfx.gyp:gfx_geometry',
1005         '../ui/resources/ui_resources.gyp:ui_resources',
1006         '../ui/strings/ui_strings.gyp:ui_strings',
1007         '../ui/views/controls/webview/webview.gyp:webview',
1008         '../ui/views/views.gyp:views',
1009         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
1010         '../url/url.gyp:url_lib',
1011         'ash',
1012         'ash_resources.gyp:ash_resources',
1013         'ash_strings.gyp:ash_strings',
1014       ],
1015       'defines': [
1016         'ASH_WITH_CONTENT_IMPLEMENTATION',
1017       ],
1018       'sources': [
1019         # Note: sources list duplicated in GN build.
1020         'content_support/ash_with_content_export.h',
1021         'content_support/gpu_support_impl.cc',
1022         'content_support/gpu_support_impl.h',
1023         'keyboard_overlay/keyboard_overlay_delegate.cc',
1024         'keyboard_overlay/keyboard_overlay_delegate.h',
1025         'keyboard_overlay/keyboard_overlay_view.cc',
1026         'keyboard_overlay/keyboard_overlay_view.h',
1027       ],
1028     },
1029     {
1030       # GN version: //ash:test_support
1031       'target_name': 'ash_test_support',
1032       'type': 'static_library',
1033       'dependencies': [
1034         '../skia/skia.gyp:skia',
1035         '../testing/gtest.gyp:gtest',
1036         '../ui/accessibility/accessibility.gyp:ax_gen',
1037         '../ui/app_list/app_list.gyp:app_list_test_support',
1038         '../ui/events/devices/events_devices.gyp:events_devices',
1039         '../ui/views/views.gyp:views_test_support',
1040         'ash',
1041         'ash_resources.gyp:ash_resources',
1042       ],
1043       'sources': [
1044         '<@(ash_test_support_sources)',
1045       ],
1046       'conditions': [
1047         ['OS=="win"', {
1048           'dependencies': [
1049             '../ipc/ipc.gyp:ipc',
1050             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
1051             '../ui/platform_window/win/win_window.gyp:win_window',
1052             '../win8/win8.gyp:metro_viewer',
1053             '../win8/win8.gyp:test_support_win8',
1054             '../win8/win8_tests.gyp:test_registrar',
1055           ],
1056           'sources': [
1057             'test/test_metro_viewer_process_host.cc',
1058             'test/test_metro_viewer_process_host.h',
1059           ],
1060         }],
1061       ],
1062     },
1063     {
1064       # GN version: //ash:ash_unittests
1065       'target_name': 'ash_unittests',
1066       'type': 'executable',
1067       'dependencies': [
1068         '../base/base.gyp:base',
1069         '../base/base.gyp:test_support_base',
1070         '../chrome/chrome_resources.gyp:packed_resources',
1071         '../components/components.gyp:user_manager',
1072         '../content/content.gyp:content_browser',
1073         '../content/content_shell_and_tests.gyp:test_support_content',
1074         '../skia/skia.gyp:skia',
1075         '../testing/gtest.gyp:gtest',
1076         '../third_party/icu/icu.gyp:icui18n',
1077         '../third_party/icu/icu.gyp:icuuc',
1078         '../ui/accessibility/accessibility.gyp:accessibility',
1079         '../ui/app_list/app_list.gyp:app_list',
1080         '../ui/aura/aura.gyp:aura',
1081         '../ui/aura/aura.gyp:aura_test_support',
1082         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1083         '../ui/base/ui_base.gyp:ui_base',
1084         '../ui/base/ui_base.gyp:ui_base_test_support',
1085         '../ui/compositor/compositor.gyp:compositor',
1086         '../ui/compositor/compositor.gyp:compositor_test_support',
1087         '../ui/events/devices/events_devices.gyp:events_devices',
1088         '../ui/events/events.gyp:events',
1089         '../ui/events/events.gyp:events_test_support',
1090         '../ui/events/events.gyp:gesture_detection',
1091         '../ui/gfx/gfx.gyp:gfx',
1092         '../ui/gfx/gfx.gyp:gfx_geometry',
1093         '../ui/keyboard/keyboard.gyp:keyboard',
1094         '../ui/message_center/message_center.gyp:message_center',
1095         '../ui/message_center/message_center.gyp:message_center_test_support',
1096         '../ui/resources/ui_resources.gyp:ui_resources',
1097         '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
1098         '../ui/views/views.gyp:views',
1099         '../ui/views/views.gyp:views_test_support',
1100         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
1101         '../ui/wm/wm.gyp:wm',
1102         '../url/url.gyp:url_lib',
1103         'ash',
1104         'ash_resources.gyp:ash_resources',
1105         'ash_strings.gyp:ash_strings',
1106         'ash_test_support',
1107         'ash_with_content',
1108       ],
1109       'sources': [
1110         '<@(ash_unittests_sources)',
1111       ],
1112       'conditions': [
1113         ['chromeos==0', {
1114           'sources!': [
1115             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
1116             'focus_cycler_unittest.cc',
1118             # All tests for multiple displays: not supported on Windows Ash.
1119             'wm/drag_window_resizer_unittest.cc',
1121             # Can't resize on Windows Ash. http://crbug.com/165962
1122             'autoclick/autoclick_unittest.cc',
1123             'magnifier/magnification_controller_unittest.cc',
1124             'sticky_keys/sticky_keys_overlay_unittest.cc',
1125             'sticky_keys/sticky_keys_unittest.cc',
1126             'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
1127             'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
1128             'virtual_keyboard_controller_unittest.cc',
1129             'wm/maximize_mode/maximize_mode_controller_unittest.cc',
1130             'wm/workspace/workspace_window_resizer_unittest.cc',
1131           ],
1132           'sources': [
1133             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1134           ],
1135           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1136           'msvs_disabled_warnings': [ 4267, ],
1137         }],
1138         ['OS=="win" and win_use_allocator_shim==1', {
1139           'dependencies': [
1140             '../base/allocator/allocator.gyp:allocator',
1141           ],
1142         }],
1143         ['chromeos==1', {
1144           'dependencies': [
1145             '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
1146             '../chromeos/chromeos.gyp:power_manager_proto',
1147             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1148             '../ui/display/display.gyp:display',
1149             '../ui/display/display.gyp:display_test_util',
1150             '../ui/display/display.gyp:display_types',
1151           ],
1152           'sources': [
1153             'first_run/first_run_helper_unittest.cc',
1154           ],
1155         }, { # else: chromeos!=1
1156           'sources!': [
1157             'accelerators/magnifier_key_scroller_unittest.cc',
1158             'accelerators/spoken_feedback_toggler_unittest.cc',
1159             'display/resolution_notification_controller_unittest.cc',
1160             'touch/touch_transformer_controller_unittest.cc',
1161             'touch/touchscreen_util_unittest.cc',
1162           ],
1163         }],
1164         ['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
1165           'dependencies': [
1166             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1167           ],
1168           'link_settings': {
1169             'ldflags': ['-rdynamic'],
1170           },
1171         }],
1172         ['use_ozone==1', {
1173           'sources!': [
1174             'sticky_keys/sticky_keys_unittest.cc',  # crbug.com/354035
1175           ],
1176         }],
1177       ],
1178     },
1179     {
1180       # GN version: //ash:ash_shell_lib
1181       'target_name': 'ash_shell_lib',
1182       'type': 'static_library',
1183       'dependencies': [
1184         '../base/base.gyp:base',
1185         '../base/base.gyp:base_i18n',
1186         '../chrome/chrome_resources.gyp:packed_resources',
1187         '../content/content_shell_and_tests.gyp:content_shell_lib',
1188         '../content/content.gyp:content',
1189         '../skia/skia.gyp:skia',
1190         '../third_party/icu/icu.gyp:icui18n',
1191         '../third_party/icu/icu.gyp:icuuc',
1192         '../ui/app_list/app_list.gyp:app_list',
1193         '../ui/aura/aura.gyp:aura',
1194         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1195         '../ui/base/ui_base.gyp:ui_base',
1196         '../ui/compositor/compositor.gyp:compositor',
1197         '../ui/events/events.gyp:events',
1198         '../ui/gfx/gfx.gyp:gfx',
1199         '../ui/gfx/gfx.gyp:gfx_geometry',
1200         '../ui/keyboard/keyboard.gyp:keyboard',
1201         '../ui/message_center/message_center.gyp:message_center',
1202         '../ui/resources/ui_resources.gyp:ui_resources',
1203         '../ui/views/examples/examples.gyp:views_examples_lib',
1204         '../ui/views/examples/examples.gyp:views_examples_with_content_lib',
1205         '../ui/views/views.gyp:views',
1206         '../ui/views/views.gyp:views_test_support',
1207         'ash',
1208         'ash_resources.gyp:ash_resources',
1209         'ash_strings.gyp:ash_strings',
1210         'ash_test_support',
1211         'ash_with_content',
1212       ],
1213       'sources': [
1214         '<@(ash_shell_lib_sources)',
1215       ],
1216       'conditions': [
1217         ['OS=="win"', {
1218           'dependencies': [
1219             '../content/content.gyp:content_startup_helper_win',
1220           ],
1221         }],
1222       ],
1223     },
1224     {
1225       # GN version: //ash:ash_shell
1226       'target_name': 'ash_shell',
1227       'type': 'executable',
1228       'dependencies': [
1229         'ash_shell_lib',
1230         '../components/components.gyp:user_manager',
1231       ],
1232       'sources': [
1233         'shell/shell_main.cc',
1234       ],
1235       'conditions': [
1236         ['OS=="win"', {
1237           'msvs_settings': {
1238             'VCLinkerTool': {
1239               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
1240             },
1241           },
1242           'dependencies': [
1243             '../sandbox/sandbox.gyp:sandbox',
1244           ],
1245         }],
1246         ['chromeos==1', {
1247           'dependencies': [
1248             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1249           ],
1250         }],
1251         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1252           'dependencies': [
1253             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1254           ],
1255         }],
1256       ],
1257     },
1258     {
1259       # GN version: //ash:ash_shell_unittests
1260       'target_name': 'ash_shell_unittests',
1261       'type': 'executable',
1262       'dependencies': [
1263         '../base/base.gyp:test_support_base',
1264         '../components/components.gyp:user_manager',
1265         '../content/content_shell_and_tests.gyp:test_support_content',
1266         '../skia/skia.gyp:skia',
1267         '../testing/gtest.gyp:gtest',
1268         '../ui/accessibility/accessibility.gyp:ax_gen',
1269         'ash_shell_lib',
1270         'ash_test_support',
1271       ],
1272       'sources': [
1273         # Note: file list duplicated in GN build.
1274         'shell/window_watcher_unittest.cc',
1275         'test/ash_unittests.cc',
1276       ],
1277       'conditions': [
1278         ['chromeos==1', {
1279           'dependencies': [
1280             '../ui/display/display.gyp:display',
1281           ],
1282         }],
1283         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1284           'dependencies': [
1285             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1286           ],
1287         }],
1288       ],
1289     },
1290   ],
1291   'conditions': [
1292     ['test_isolation_mode != "noop"', {
1293       'targets': [
1294         {
1295           'target_name': 'ash_unittests_run',
1296           'type': 'none',
1297           'dependencies': [
1298             'ash_unittests',
1299           ],
1300           'includes': [
1301             '../build/isolate.gypi',
1302           ],
1303           'sources': [
1304             'ash_unittests.isolate',
1305           ],
1306           'conditions': [
1307             ['use_x11==1',
1308               {
1309                 'dependencies': [
1310                   '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1311                 ],
1312               }
1313             ],
1314           ],
1315         },
1316       ],
1317     }],
1318   ],