Python readability review for dbeam@.
[chromium-blink-merge.git] / ash / ash.gyp
blobbb444679ee5ae7d5ff30fdb9b4163ac1a8f1bb41
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       'root_window_controller_unittest.cc',
791       'screen_util_unittest.cc',
792       'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
793       'shelf/shelf_layout_manager_unittest.cc',
794       'shelf/shelf_model_unittest.cc',
795       'shelf/shelf_navigator_unittest.cc',
796       'shelf/shelf_tooltip_manager_unittest.cc',
797       'shelf/shelf_unittest.cc',
798       'shelf/shelf_view_unittest.cc',
799       'shelf/shelf_widget_unittest.cc',
800       'shelf/shelf_window_watcher_unittest.cc',
801       'shell_unittest.cc',
802       'sticky_keys/sticky_keys_overlay_unittest.cc',
803       'sticky_keys/sticky_keys_unittest.cc',
804       'system/chromeos/brightness/tray_brightness_unittest.cc',
805       'system/chromeos/multi_user/user_switch_util_unittest.cc',
806       'system/chromeos/power/power_event_observer_unittest.cc',
807       'system/chromeos/power/power_status_unittest.cc',
808       'system/chromeos/power/power_status_view_unittest.cc',
809       'system/chromeos/power/tray_power_unittest.cc',
810       'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
811       'system/chromeos/screen_security/screen_tray_item_unittest.cc',
812       'system/chromeos/session/logout_confirmation_controller_unittest.cc',
813       'system/chromeos/session/tray_session_length_limit_unittest.cc',
814       'system/chromeos/supervised/tray_supervised_user_unittest.cc',
815       'system/chromeos/tray_display_unittest.cc',
816       'system/date/date_view_unittest.cc',
817       'system/ime/tray_ime_chromeos_unittest.cc',
818       'system/overview/overview_button_tray_unittest.cc',
819       'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
820       'system/tray/system_tray_unittest.cc',
821       'system/tray/tray_details_view_unittest.cc',
822       'system/user/tray_user_unittest.cc',
823       'system/web_notification/ash_popup_alignment_delegate_unittest.cc',
824       'system/web_notification/web_notification_tray_unittest.cc',
825       'test/ash_test_helper_unittest.cc',
826       'test/ash_unittests.cc',
827       'tooltips/tooltip_controller_unittest.cc',
828       'touch/touch_observer_hud_unittest.cc',
829       'touch/touch_transformer_controller_unittest.cc',
830       'touch/touchscreen_util_unittest.cc',
831       'utility/partial_screenshot_controller_unittest.cc',
832       'virtual_keyboard_controller_unittest.cc',
833       'wm/always_on_top_controller_unittest.cc',
834       'wm/app_list_controller_unittest.cc',
835       'wm/ash_native_cursor_manager_unittest.cc',
836       'wm/ash_focus_rules_unittest.cc',
837       'wm/dock/docked_window_layout_manager_unittest.cc',
838       'wm/dock/docked_window_resizer_unittest.cc',
839       'wm/drag_window_resizer_unittest.cc',
840       'wm/gestures/overview_gesture_handler_unittest.cc',
841       'wm/immersive_fullscreen_controller_unittest.cc',
842       'wm/lock_layout_manager_unittest.cc',
843       'wm/lock_state_controller_unittest.cc',
844       'wm/maximize_mode/accelerometer_test_data_literals.cc',
845       'wm/maximize_mode/maximize_mode_controller_unittest.cc',
846       'wm/maximize_mode/maximize_mode_window_manager_unittest.cc',
847       'wm/mru_window_tracker_unittest.cc',
848       'wm/overlay_event_filter_unittest.cc',
849       'wm/overview/window_selector_unittest.cc',
850       'wm/panels/panel_layout_manager_unittest.cc',
851       'wm/panels/panel_window_resizer_unittest.cc',
852       'wm/resize_shadow_and_cursor_unittest.cc',
853       'wm/screen_dimmer_unittest.cc',
854       'wm/stacking_controller_unittest.cc',
855       'wm/system_gesture_event_filter_unittest.cc',
856       'wm/system_modal_container_layout_manager_unittest.cc',
857       'wm/toplevel_window_event_handler_unittest.cc',
858       'wm/video_detector_unittest.cc',
859       'wm/window_animations_unittest.cc',
860       'wm/window_cycle_controller_unittest.cc',
861       'wm/window_manager_unittest.cc',
862       'wm/window_modality_controller_unittest.cc',
863       'wm/window_positioner_unittest.cc',
864       'wm/window_state_unittest.cc',
865       'wm/window_util_unittest.cc',
866       'wm/workspace/magnetism_matcher_unittest.cc',
867       'wm/workspace/multi_window_resize_controller_unittest.cc',
868       'wm/workspace/workspace_event_handler_test_helper.cc',
869       'wm/workspace/workspace_event_handler_test_helper.h',
870       'wm/workspace/workspace_event_handler_unittest.cc',
871       'wm/workspace/workspace_layout_manager_unittest.cc',
872       'wm/workspace/workspace_window_resizer_unittest.cc',
873       'wm/workspace_controller_test_helper.cc',
874       'wm/workspace_controller_test_helper.h',
875       'wm/workspace_controller_unittest.cc',
876     ],
877   },
878   'targets': [
879     {
880       # GN version: //ash
881       'target_name': 'ash',
882       'type': '<(component)',
883       'dependencies': [
884         '../base/base.gyp:base',
885         '../base/base.gyp:base_i18n',
886         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
887         '../cc/cc.gyp:cc',
888         '../components/components.gyp:device_event_log_component',
889         '../components/components.gyp:user_manager',
890         '../components/components.gyp:wallpaper',
891         '../content/content.gyp:content_browser',
892         '../media/media.gyp:media',
893         '../net/net.gyp:net',
894         '../skia/skia.gyp:skia',
895         '../third_party/icu/icu.gyp:icui18n',
896         '../third_party/icu/icu.gyp:icuuc',
897         '../ui/accessibility/accessibility.gyp:accessibility',
898         '../ui/app_list/app_list.gyp:app_list',
899         '../ui/aura/aura.gyp:aura',
900         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
901         '../ui/base/ui_base.gyp:ui_base',
902         '../ui/compositor/compositor.gyp:compositor',
903         '../ui/events/devices/events_devices.gyp:events_devices',
904         '../ui/events/events.gyp:events',
905         '../ui/events/events.gyp:events_base',
906         '../ui/events/events.gyp:gesture_detection',
907         '../ui/events/platform/events_platform.gyp:events_platform',
908         '../ui/gfx/gfx.gyp:gfx',
909         '../ui/gfx/gfx.gyp:gfx_geometry',
910         '../ui/keyboard/keyboard.gyp:keyboard',
911         '../ui/message_center/message_center.gyp:message_center',
912         '../ui/resources/ui_resources.gyp:ui_resources',
913         '../ui/strings/ui_strings.gyp:ui_strings',
914         '../ui/views/controls/webview/webview.gyp:webview',
915         '../ui/views/views.gyp:views',
916         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
917         '../ui/wm/wm.gyp:wm',
918         '../url/url.gyp:url_lib',
919         'ash_resources.gyp:ash_resources',
920         'ash_strings.gyp:ash_strings',
921       ],
922       'defines': [
923         'ASH_IMPLEMENTATION',
924       ],
925       'sources': [
926         '<@(ash_sources)',
927       ],
928       'conditions': [
929         ['OS=="win"', {
930           'sources!': [
931             # Note: sources list duplicated in GN build.
932             "sticky_keys/sticky_keys_controller.cc",
933             "sticky_keys/sticky_keys_controller.h",
934           ],
935           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
936           'msvs_disabled_warnings': [ 4267, ],
937         }],
938         ['use_x11==1', {
939           'dependencies': [
940             '../build/linux/system.gyp:x11',
941             '../build/linux/system.gyp:xfixes',
942             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
943            ],
944         }],
945         ['use_ozone==1', {
946           'dependencies': [
947             '../ui/events/ozone/events_ozone.gyp:events_ozone',
948             '../ui/ozone/ozone.gyp:ozone',
949           ],
950         }],
951         ['chromeos==1', {
952           'dependencies': [
953             '../chromeos/chromeos.gyp:chromeos',
954             # Ash #includes power_supply_properties.pb.h directly.
955             '../chromeos/chromeos.gyp:power_manager_proto',
956             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
957             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
958             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
959             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
960             '../ui/display/display.gyp:display',
961             '../ui/display/display.gyp:display_util',
962           ],
963         }, { # else: chromeos!=1
964           'sources!': [
965             'accelerators/key_hold_detector.cc',
966             'accelerators/key_hold_detector.h',
967             'accelerators/magnifier_key_scroller.cc',
968             'accelerators/magnifier_key_scroller.h',
969             'accelerators/spoken_feedback_toggler.cc',
970             'accelerators/spoken_feedback_toggler.h',
971             'display/display_configurator_animation.cc',
972             'display/display_configurator_animation.h',
973             'display/resolution_notification_controller.cc',
974             'display/resolution_notification_controller.h',
975             'system/tray/media_security/media_capture_observer.h',
976             'system/tray/media_security/multi_profile_media_tray_item.cc',
977             'system/tray/media_security/multi_profile_media_tray_item.h',
978             'touch/touch_transformer_controller.cc',
979             'touch/touch_transformer_controller.h',
980             'touch/touchscreen_util.cc',
981             'touch/touchscreen_util.h',
982             'virtual_keyboard_controller.cc',
983             'virtual_keyboard_controller.h'
984           ],
985         }],
986       ],
987     },
988     {
989       # GN version: //ash:ash_with_content
990       'target_name': 'ash_with_content',
991       'type': '<(component)',
992       'dependencies': [
993         '../base/base.gyp:base',
994         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
995         '../content/content.gyp:content_browser',
996         '../ipc/ipc.gyp:ipc',
997         '../skia/skia.gyp:skia',
998         '../ui/aura/aura.gyp:aura',
999         '../ui/base/ui_base.gyp:ui_base',
1000         '../ui/compositor/compositor.gyp:compositor',
1001         '../ui/events/events.gyp:events',
1002         '../ui/gfx/gfx.gyp:gfx',
1003         '../ui/gfx/gfx.gyp:gfx_geometry',
1004         '../ui/resources/ui_resources.gyp:ui_resources',
1005         '../ui/strings/ui_strings.gyp:ui_strings',
1006         '../ui/views/controls/webview/webview.gyp:webview',
1007         '../ui/views/views.gyp:views',
1008         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
1009         '../url/url.gyp:url_lib',
1010         'ash',
1011         'ash_resources.gyp:ash_resources',
1012         'ash_strings.gyp:ash_strings',
1013       ],
1014       'defines': [
1015         'ASH_WITH_CONTENT_IMPLEMENTATION',
1016       ],
1017       'sources': [
1018         # Note: sources list duplicated in GN build.
1019         'content_support/ash_with_content_export.h',
1020         'content_support/gpu_support_impl.cc',
1021         'content_support/gpu_support_impl.h',
1022         'keyboard_overlay/keyboard_overlay_delegate.cc',
1023         'keyboard_overlay/keyboard_overlay_delegate.h',
1024         'keyboard_overlay/keyboard_overlay_view.cc',
1025         'keyboard_overlay/keyboard_overlay_view.h',
1026       ],
1027     },
1028     {
1029       # GN version: //ash:test_support
1030       'target_name': 'ash_test_support',
1031       'type': 'static_library',
1032       'dependencies': [
1033         '../skia/skia.gyp:skia',
1034         '../testing/gtest.gyp:gtest',
1035         '../ui/accessibility/accessibility.gyp:ax_gen',
1036         '../ui/app_list/app_list.gyp:app_list_test_support',
1037         '../ui/events/devices/events_devices.gyp:events_devices',
1038         '../ui/views/views.gyp:views_test_support',
1039         'ash',
1040         'ash_resources.gyp:ash_resources',
1041       ],
1042       'sources': [
1043         '<@(ash_test_support_sources)',
1044       ],
1045       'conditions': [
1046         ['OS=="win"', {
1047           'dependencies': [
1048             '../ipc/ipc.gyp:ipc',
1049             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
1050             '../ui/platform_window/win/win_window.gyp:win_window',
1051             '../win8/win8.gyp:metro_viewer',
1052             '../win8/win8.gyp:test_support_win8',
1053             '../win8/win8_tests.gyp:test_registrar',
1054           ],
1055           'sources': [
1056             'test/test_metro_viewer_process_host.cc',
1057             'test/test_metro_viewer_process_host.h',
1058           ],
1059         }],
1060       ],
1061     },
1062     {
1063       # GN version: //ash:ash_unittests
1064       'target_name': 'ash_unittests',
1065       'type': 'executable',
1066       'dependencies': [
1067         '../base/base.gyp:base',
1068         '../base/base.gyp:test_support_base',
1069         '../chrome/chrome_resources.gyp:packed_resources',
1070         '../components/components.gyp:user_manager',
1071         '../content/content.gyp:content_browser',
1072         '../content/content_shell_and_tests.gyp:test_support_content',
1073         '../skia/skia.gyp:skia',
1074         '../testing/gtest.gyp:gtest',
1075         '../third_party/icu/icu.gyp:icui18n',
1076         '../third_party/icu/icu.gyp:icuuc',
1077         '../ui/accessibility/accessibility.gyp:accessibility',
1078         '../ui/app_list/app_list.gyp:app_list',
1079         '../ui/aura/aura.gyp:aura',
1080         '../ui/aura/aura.gyp:aura_test_support',
1081         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1082         '../ui/base/ui_base.gyp:ui_base',
1083         '../ui/base/ui_base.gyp:ui_base_test_support',
1084         '../ui/compositor/compositor.gyp:compositor',
1085         '../ui/compositor/compositor.gyp:compositor_test_support',
1086         '../ui/events/devices/events_devices.gyp:events_devices',
1087         '../ui/events/events.gyp:events',
1088         '../ui/events/events.gyp:events_test_support',
1089         '../ui/events/events.gyp:gesture_detection',
1090         '../ui/gfx/gfx.gyp:gfx',
1091         '../ui/gfx/gfx.gyp:gfx_geometry',
1092         '../ui/keyboard/keyboard.gyp:keyboard',
1093         '../ui/message_center/message_center.gyp:message_center',
1094         '../ui/message_center/message_center.gyp:message_center_test_support',
1095         '../ui/resources/ui_resources.gyp:ui_resources',
1096         '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
1097         '../ui/views/views.gyp:views',
1098         '../ui/views/views.gyp:views_test_support',
1099         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
1100         '../ui/wm/wm.gyp:wm',
1101         '../url/url.gyp:url_lib',
1102         'ash',
1103         'ash_resources.gyp:ash_resources',
1104         'ash_strings.gyp:ash_strings',
1105         'ash_test_support',
1106         'ash_with_content',
1107       ],
1108       'sources': [
1109         '<@(ash_unittests_sources)',
1110       ],
1111       'conditions': [
1112         ['chromeos==0', {
1113           'sources!': [
1114             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
1115             'focus_cycler_unittest.cc',
1117             # All tests for multiple displays: not supported on Windows Ash.
1118             'wm/drag_window_resizer_unittest.cc',
1120             # Can't resize on Windows Ash. http://crbug.com/165962
1121             'autoclick/autoclick_unittest.cc',
1122             'magnifier/magnification_controller_unittest.cc',
1123             'sticky_keys/sticky_keys_overlay_unittest.cc',
1124             'sticky_keys/sticky_keys_unittest.cc',
1125             'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
1126             'system/tray/media_security/multi_profile_media_tray_item_unittest.cc',
1127             'virtual_keyboard_controller_unittest.cc',
1128             'wm/maximize_mode/maximize_mode_controller_unittest.cc',
1129             'wm/workspace/workspace_window_resizer_unittest.cc',
1130           ],
1131           'sources': [
1132             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
1133           ],
1134           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1135           'msvs_disabled_warnings': [ 4267, ],
1136         }],
1137         ['OS=="win" and win_use_allocator_shim==1', {
1138           'dependencies': [
1139             '../base/allocator/allocator.gyp:allocator',
1140           ],
1141         }],
1142         ['chromeos==1', {
1143           'dependencies': [
1144             '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
1145             '../chromeos/chromeos.gyp:power_manager_proto',
1146             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1147             '../ui/display/display.gyp:display',
1148             '../ui/display/display.gyp:display_test_util',
1149             '../ui/display/display.gyp:display_types',
1150           ],
1151           'sources': [
1152             'first_run/first_run_helper_unittest.cc',
1153           ],
1154         }, { # else: chromeos!=1
1155           'sources!': [
1156             'accelerators/magnifier_key_scroller_unittest.cc',
1157             'accelerators/spoken_feedback_toggler_unittest.cc',
1158             'display/resolution_notification_controller_unittest.cc',
1159             'touch/touch_transformer_controller_unittest.cc',
1160             'touch/touchscreen_util_unittest.cc',
1161           ],
1162         }],
1163         ['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
1164           'dependencies': [
1165             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1166           ],
1167           'link_settings': {
1168             'ldflags': ['-rdynamic'],
1169           },
1170         }],
1171         ['use_ozone==1', {
1172           'sources!': [
1173             'sticky_keys/sticky_keys_unittest.cc',  # crbug.com/354035
1174           ],
1175         }],
1176       ],
1177     },
1178     {
1179       # GN version: //ash:ash_shell_lib
1180       'target_name': 'ash_shell_lib',
1181       'type': 'static_library',
1182       'dependencies': [
1183         '../base/base.gyp:base',
1184         '../base/base.gyp:base_i18n',
1185         '../chrome/chrome_resources.gyp:packed_resources',
1186         '../content/content_shell_and_tests.gyp:content_shell_lib',
1187         '../content/content.gyp:content',
1188         '../skia/skia.gyp:skia',
1189         '../third_party/icu/icu.gyp:icui18n',
1190         '../third_party/icu/icu.gyp:icuuc',
1191         '../ui/app_list/app_list.gyp:app_list',
1192         '../ui/aura/aura.gyp:aura',
1193         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1194         '../ui/base/ui_base.gyp:ui_base',
1195         '../ui/compositor/compositor.gyp:compositor',
1196         '../ui/events/events.gyp:events',
1197         '../ui/gfx/gfx.gyp:gfx',
1198         '../ui/gfx/gfx.gyp:gfx_geometry',
1199         '../ui/keyboard/keyboard.gyp:keyboard',
1200         '../ui/message_center/message_center.gyp:message_center',
1201         '../ui/resources/ui_resources.gyp:ui_resources',
1202         '../ui/views/examples/examples.gyp:views_examples_lib',
1203         '../ui/views/examples/examples.gyp:views_examples_with_content_lib',
1204         '../ui/views/views.gyp:views',
1205         '../ui/views/views.gyp:views_test_support',
1206         'ash',
1207         'ash_resources.gyp:ash_resources',
1208         'ash_strings.gyp:ash_strings',
1209         'ash_test_support',
1210         'ash_with_content',
1211       ],
1212       'sources': [
1213         '<@(ash_shell_lib_sources)',
1214       ],
1215       'conditions': [
1216         ['OS=="win"', {
1217           'dependencies': [
1218             '../content/content.gyp:content_startup_helper_win',
1219           ],
1220         }],
1221       ],
1222     },
1223     {
1224       # GN version: //ash:ash_shell
1225       'target_name': 'ash_shell',
1226       'type': 'executable',
1227       'dependencies': [
1228         'ash_shell_lib',
1229         '../components/components.gyp:user_manager',
1230       ],
1231       'sources': [
1232         'shell/shell_main.cc',
1233       ],
1234       'conditions': [
1235         ['OS=="win"', {
1236           'msvs_settings': {
1237             'VCLinkerTool': {
1238               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
1239             },
1240           },
1241           'dependencies': [
1242             '../sandbox/sandbox.gyp:sandbox',
1243           ],
1244         }],
1245         ['chromeos==1', {
1246           'dependencies': [
1247             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1248           ],
1249         }],
1250         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1251           'dependencies': [
1252             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1253           ],
1254         }],
1255       ],
1256     },
1257     {
1258       # GN version: //ash:ash_shell_unittests
1259       'target_name': 'ash_shell_unittests',
1260       'type': 'executable',
1261       'dependencies': [
1262         '../base/base.gyp:test_support_base',
1263         '../components/components.gyp:user_manager',
1264         '../content/content_shell_and_tests.gyp:test_support_content',
1265         '../skia/skia.gyp:skia',
1266         '../testing/gtest.gyp:gtest',
1267         '../ui/accessibility/accessibility.gyp:ax_gen',
1268         'ash_shell_lib',
1269         'ash_test_support',
1270       ],
1271       'sources': [
1272         # Note: file list duplicated in GN build.
1273         'shell/window_watcher_unittest.cc',
1274         'test/ash_unittests.cc',
1275       ],
1276       'conditions': [
1277         ['chromeos==1', {
1278           'dependencies': [
1279             '../ui/display/display.gyp:display',
1280           ],
1281         }],
1282         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1283           'dependencies': [
1284             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1285           ],
1286         }],
1287       ],
1288     },
1289   ],
1290   'conditions': [
1291     ['test_isolation_mode != "noop"', {
1292       'targets': [
1293         {
1294           'target_name': 'ash_unittests_run',
1295           'type': 'none',
1296           'dependencies': [
1297             'ash_unittests',
1298           ],
1299           'includes': [
1300             '../build/isolate.gypi',
1301           ],
1302           'sources': [
1303             'ash_unittests.isolate',
1304           ],
1305           'conditions': [
1306             ['use_x11==1',
1307               {
1308                 'dependencies': [
1309                   '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1310                 ],
1311               }
1312             ],
1313           ],
1314         },
1315       ],
1316     }],
1317   ],