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