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