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