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