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