# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//build/config/features.gni") import("//build/config/ui.gni") import("//testing/test.gni") import("//ui/base/ui_features.gni") # Historical note: Ash shipped on Windows for a couple years to support # Windows 8 Metro mode. Windows support was removed in 2016. assert(is_chromeos) assert(use_aura) assert(enable_hidpi) component("ash") { sources = [ "accelerators/accelerator_commands.cc", "accelerators/accelerator_commands.h", "accelerators/accelerator_commands_aura.cc", "accelerators/accelerator_commands_aura.h", "accelerators/accelerator_controller.cc", "accelerators/accelerator_controller.h", "accelerators/accelerator_controller_delegate.h", "accelerators/accelerator_controller_delegate_aura.cc", "accelerators/accelerator_controller_delegate_aura.h", "accelerators/accelerator_delegate.cc", "accelerators/accelerator_delegate.h", "accelerators/accelerator_router.cc", "accelerators/accelerator_router.h", "accelerators/accelerator_table.cc", "accelerators/accelerator_table.h", "accelerators/ash_focus_manager_factory.cc", "accelerators/ash_focus_manager_factory.h", "accelerators/debug_commands.cc", "accelerators/debug_commands.h", "accelerators/exit_warning_handler.cc", "accelerators/exit_warning_handler.h", "accelerators/key_hold_detector.cc", "accelerators/key_hold_detector.h", "accelerators/magnifier_key_scroller.cc", "accelerators/magnifier_key_scroller.h", "accelerators/spoken_feedback_toggler.cc", "accelerators/spoken_feedback_toggler.h", "accessibility_delegate.h", "accessibility_types.h", "animation/animation_change_type.h", "app_list/app_list_delegate_impl.cc", "app_list/app_list_delegate_impl.h", "app_list/app_list_presenter_delegate.cc", "app_list/app_list_presenter_delegate.h", "app_list/app_list_presenter_delegate_factory.cc", "app_list/app_list_presenter_delegate_factory.h", "ash_constants.cc", "ash_constants.h", "ash_export.h", "ash_layout_constants.cc", "ash_layout_constants.h", "ash_switches.cc", "ash_switches.h", "ash_touch_exploration_manager_chromeos.cc", "ash_touch_exploration_manager_chromeos.h", "ash_view_ids.h", "aura/key_event_watcher_aura.cc", "aura/key_event_watcher_aura.h", "aura/pointer_watcher_adapter.cc", "aura/pointer_watcher_adapter.h", "aura/shell_port_classic.cc", "aura/shell_port_classic.h", "autoclick/autoclick_controller.cc", "autoclick/autoclick_controller.h", "cancel_mode.cc", "cancel_mode.h", "cast_config_controller.cc", "cast_config_controller.h", "debug.cc", "debug.h", "default_accessibility_delegate.cc", "default_accessibility_delegate.h", "default_wallpaper_delegate.cc", "default_wallpaper_delegate.h", "devtools/ash_devtools_css_agent.cc", "devtools/ash_devtools_css_agent.h", "devtools/ash_devtools_dom_agent.cc", "devtools/ash_devtools_dom_agent.h", "devtools/ui_element.cc", "devtools/ui_element.h", "devtools/ui_element_delegate.h", "devtools/view_element.cc", "devtools/view_element.h", "devtools/widget_element.cc", "devtools/widget_element.h", "devtools/window_element.cc", "devtools/window_element.h", "display/cursor_window_controller.cc", "display/cursor_window_controller.h", "display/display_animator.h", "display/display_animator_chromeos.cc", "display/display_animator_chromeos.h", "display/display_color_manager_chromeos.cc", "display/display_color_manager_chromeos.h", "display/display_configuration_controller.cc", "display/display_configuration_controller.h", "display/display_error_observer_chromeos.cc", "display/display_error_observer_chromeos.h", "display/display_util.cc", "display/display_util.h", "display/event_transformation_handler.cc", "display/event_transformation_handler.h", "display/extended_mouse_warp_controller.cc", "display/extended_mouse_warp_controller.h", "display/mirror_window_controller.cc", "display/mirror_window_controller.h", "display/mouse_cursor_event_filter.cc", "display/mouse_cursor_event_filter.h", "display/mouse_warp_controller.h", "display/null_mouse_warp_controller.cc", "display/null_mouse_warp_controller.h", "display/projecting_observer_chromeos.cc", "display/projecting_observer_chromeos.h", "display/resolution_notification_controller.cc", "display/resolution_notification_controller.h", "display/root_window_transformers.cc", "display/root_window_transformers.h", "display/screen_ash.cc", "display/screen_ash.h", "display/screen_orientation_controller_chromeos.cc", "display/screen_orientation_controller_chromeos.h", "display/screen_position_controller.cc", "display/screen_position_controller.h", "display/shared_display_edge_indicator.cc", "display/shared_display_edge_indicator.h", "display/shutdown_observer_chromeos.cc", "display/shutdown_observer_chromeos.h", "display/unified_mouse_warp_controller.cc", "display/unified_mouse_warp_controller.h", "display/window_tree_host_manager.cc", "display/window_tree_host_manager.h", "drag_drop/drag_drop_controller.cc", "drag_drop/drag_drop_controller.h", "drag_drop/drag_drop_tracker.cc", "drag_drop/drag_drop_tracker.h", "drag_drop/drag_image_view.cc", "drag_drop/drag_image_view.h", "first_run/desktop_cleaner.cc", "first_run/desktop_cleaner.h", "first_run/first_run_helper.cc", "first_run/first_run_helper.h", "first_run/first_run_helper_impl.cc", "first_run/first_run_helper_impl.h", "focus_cycler.cc", "focus_cycler.h", "frame/caption_buttons/caption_button_types.h", "frame/caption_buttons/frame_caption_button.cc", "frame/caption_buttons/frame_caption_button.h", "frame/caption_buttons/frame_caption_button_container_view.cc", "frame/caption_buttons/frame_caption_button_container_view.h", "frame/caption_buttons/frame_size_button.cc", "frame/caption_buttons/frame_size_button.h", "frame/caption_buttons/frame_size_button_delegate.h", "frame/custom_frame_view_ash.cc", "frame/custom_frame_view_ash.h", "frame/default_header_painter.cc", "frame/default_header_painter.h", "frame/frame_border_hit_test.cc", "frame/frame_border_hit_test.h", "frame/header_painter.h", "frame/header_painter_util.cc", "frame/header_painter_util.h", "frame/header_view.cc", "frame/header_view.h", "gpu_support.h", "gpu_support_stub.cc", "gpu_support_stub.h", "high_contrast/high_contrast_controller.cc", "high_contrast/high_contrast_controller.h", "host/ash_window_tree_host.cc", "host/ash_window_tree_host.h", "host/ash_window_tree_host_init_params.h", "host/ash_window_tree_host_platform.cc", "host/ash_window_tree_host_platform.h", "host/ash_window_tree_host_unified.cc", "host/ash_window_tree_host_unified.h", "host/ash_window_tree_host_x11.cc", "host/ash_window_tree_host_x11.h", "host/root_window_transformer.h", "host/transformer_helper.cc", "host/transformer_helper.h", "ime/ime_switch_type.h", "key_event_watcher.cc", "key_event_watcher.h", "keyboard/keyboard_observer_register.cc", "keyboard/keyboard_observer_register.h", "keyboard/keyboard_ui.cc", "keyboard/keyboard_ui.h", "keyboard/keyboard_ui_observer.h", "laser/laser_pointer_controller.cc", "laser/laser_pointer_controller.h", "laser/laser_pointer_points.cc", "laser/laser_pointer_points.h", "laser/laser_pointer_view.cc", "laser/laser_pointer_view.h", "laser/laser_segment_utils.cc", "laser/laser_segment_utils.h", "link_handler_model.cc", "link_handler_model.h", "link_handler_model_factory.cc", "link_handler_model_factory.h", "login/lock_screen_controller.cc", "login/lock_screen_controller.h", "login/ui/lock_contents_view.cc", "login/ui/lock_contents_view.h", "login/ui/lock_screen.cc", "login/ui/lock_screen.h", "login/ui/lock_window.cc", "login/ui/lock_window.h", "login_status.h", "magnifier/magnification_controller.cc", "magnifier/magnification_controller.h", "magnifier/partial_magnification_controller.cc", "magnifier/partial_magnification_controller.h", "media_controller.cc", "media_controller.h", "metrics/desktop_task_switch_metric_recorder.cc", "metrics/desktop_task_switch_metric_recorder.h", "metrics/gesture_action_type.h", "metrics/pointer_metrics_recorder.cc", "metrics/pointer_metrics_recorder.h", "metrics/task_switch_metrics_recorder.cc", "metrics/task_switch_metrics_recorder.h", "metrics/task_switch_source.h", "metrics/task_switch_time_tracker.cc", "metrics/task_switch_time_tracker.h", "metrics/user_metrics_action.h", "metrics/user_metrics_recorder.cc", "metrics/user_metrics_recorder.h", "mojo_interface_factory.cc", "mojo_interface_factory.h", "multi_profile_uma.cc", "multi_profile_uma.h", "new_window_controller.cc", "new_window_controller.h", "palette_delegate.h", "root_window_controller.cc", "root_window_controller.h", "root_window_settings.cc", "root_window_settings.h", "rotator/screen_rotation_animation.cc", "rotator/screen_rotation_animation.h", "rotator/screen_rotation_animator.cc", "rotator/screen_rotation_animator.h", "rotator/screen_rotation_animator_observer.h", "rotator/window_rotation.cc", "rotator/window_rotation.h", "scoped_root_window_for_new_windows.cc", "scoped_root_window_for_new_windows.h", "screen_util.cc", "screen_util.h", "screenshot_delegate.h", "session/session_controller.cc", "session/session_controller.h", "session/session_observer.cc", "session/session_observer.h", "session/session_state_delegate.h", "shared/immersive_context.cc", "shared/immersive_context.h", "shared/immersive_focus_watcher.h", "shared/immersive_fullscreen_controller.cc", "shared/immersive_fullscreen_controller.h", "shared/immersive_fullscreen_controller_delegate.h", "shared/immersive_gesture_handler.h", "shared/immersive_handler_factory.cc", "shared/immersive_handler_factory.h", "shared/immersive_revealed_lock.cc", "shared/immersive_revealed_lock.h", "shelf/app_list_button.cc", "shelf/app_list_button.h", "shelf/app_list_shelf_item_delegate.cc", "shelf/app_list_shelf_item_delegate.h", "shelf/ink_drop_button_listener.h", "shelf/overflow_bubble.cc", "shelf/overflow_bubble.h", "shelf/overflow_bubble_view.cc", "shelf/overflow_bubble_view.h", "shelf/overflow_button.cc", "shelf/overflow_button.h", "shelf/shelf.cc", "shelf/shelf.h", "shelf/shelf_alignment_menu.cc", "shelf/shelf_alignment_menu.h", "shelf/shelf_application_menu_model.cc", "shelf/shelf_application_menu_model.h", "shelf/shelf_background_animator.cc", "shelf/shelf_background_animator.h", "shelf/shelf_background_animator_observer.h", "shelf/shelf_bezel_event_handler.cc", "shelf/shelf_bezel_event_handler.h", "shelf/shelf_button.cc", "shelf/shelf_button.h", "shelf/shelf_button_pressed_metric_tracker.cc", "shelf/shelf_button_pressed_metric_tracker.h", "shelf/shelf_constants.h", "shelf/shelf_controller.cc", "shelf/shelf_controller.h", "shelf/shelf_layout_manager.cc", "shelf/shelf_layout_manager.h", "shelf/shelf_layout_manager_observer.h", "shelf/shelf_locking_manager.cc", "shelf/shelf_locking_manager.h", "shelf/shelf_model.cc", "shelf/shelf_model.h", "shelf/shelf_model_observer.h", "shelf/shelf_observer.h", "shelf/shelf_tooltip_manager.cc", "shelf/shelf_tooltip_manager.h", "shelf/shelf_view.cc", "shelf/shelf_view.h", "shelf/shelf_widget.cc", "shelf/shelf_widget.h", "shelf/shelf_window_targeter.cc", "shelf/shelf_window_targeter.h", "shelf/shelf_window_watcher.cc", "shelf/shelf_window_watcher.h", "shelf/shelf_window_watcher_item_delegate.cc", "shelf/shelf_window_watcher_item_delegate.h", "shell.cc", "shell.h", "shell_delegate.h", "shell_init_params.h", "shell_observer.h", "shell_port.cc", "shell_port.h", "shutdown_controller.cc", "shutdown_controller.h", "sticky_keys/sticky_keys_controller.cc", "sticky_keys/sticky_keys_controller.h", "sticky_keys/sticky_keys_overlay.cc", "sticky_keys/sticky_keys_overlay.h", "sticky_keys/sticky_keys_state.h", "system/accessibility_observer.h", "system/audio/audio_detailed_view.cc", "system/audio/audio_detailed_view.h", "system/audio/tray_audio.cc", "system/audio/tray_audio.h", "system/audio/volume_view.cc", "system/audio/volume_view.h", "system/bluetooth/bluetooth_notification_controller.cc", "system/bluetooth/bluetooth_notification_controller.h", "system/bluetooth/bluetooth_observer.h", "system/bluetooth/tray_bluetooth.cc", "system/bluetooth/tray_bluetooth.h", "system/bluetooth/tray_bluetooth_helper.cc", "system/bluetooth/tray_bluetooth_helper.h", "system/brightness/brightness_controller_chromeos.cc", "system/brightness/brightness_controller_chromeos.h", "system/brightness/tray_brightness.cc", "system/brightness/tray_brightness.h", "system/brightness_control_delegate.h", "system/cast/tray_cast.cc", "system/cast/tray_cast.h", "system/date/clock_observer.h", "system/date/date_view.cc", "system/date/date_view.h", "system/date/system_info_default_view.cc", "system/date/system_info_default_view.h", "system/date/tray_system_info.cc", "system/date/tray_system_info.h", "system/devicetype_utils.cc", "system/devicetype_utils.h", "system/display_scale/scale_detailed_view.cc", "system/display_scale/scale_detailed_view.h", "system/display_scale/scale_view.cc", "system/display_scale/scale_view.h", "system/display_scale/tray_scale.cc", "system/display_scale/tray_scale.h", "system/enterprise/enterprise_domain_observer.h", "system/enterprise/tray_enterprise.cc", "system/enterprise/tray_enterprise.h", "system/ime/ime_observer.h", "system/ime/tray_ime_chromeos.cc", "system/ime/tray_ime_chromeos.h", "system/ime_menu/ime_list_view.cc", "system/ime_menu/ime_list_view.h", "system/ime_menu/ime_menu_tray.cc", "system/ime_menu/ime_menu_tray.h", "system/keyboard_brightness_control_delegate.h", "system/keyboard_brightness_controller.cc", "system/keyboard_brightness_controller.h", "system/locale/locale_notification_controller.cc", "system/locale/locale_notification_controller.h", "system/lock_screen_action/lock_screen_action_tray.cc", "system/lock_screen_action/lock_screen_action_tray.h", "system/media_security/multi_profile_media_tray_item.cc", "system/media_security/multi_profile_media_tray_item.h", "system/network/network_icon.cc", "system/network/network_icon.h", "system/network/network_icon_animation.cc", "system/network/network_icon_animation.h", "system/network/network_icon_animation_observer.h", "system/network/network_info.cc", "system/network/network_info.h", "system/network/network_list.cc", "system/network/network_list.h", "system/network/network_observer.h", "system/network/network_portal_detector_observer.h", "system/network/network_state_list_detailed_view.cc", "system/network/network_state_list_detailed_view.h", "system/network/sms_observer.cc", "system/network/sms_observer.h", "system/network/tray_network.cc", "system/network/tray_network.h", "system/network/tray_network_state_observer.cc", "system/network/tray_network_state_observer.h", "system/network/tray_vpn.cc", "system/network/tray_vpn.h", "system/network/vpn_list.cc", "system/network/vpn_list.h", "system/network/vpn_list_view.cc", "system/network/vpn_list_view.h", "system/networking_config_delegate.cc", "system/networking_config_delegate.h", "system/night_light/night_light_controller.cc", "system/night_light/night_light_controller.h", "system/night_light/night_light_toggle_button.cc", "system/night_light/night_light_toggle_button.h", "system/night_light/tray_night_light.cc", "system/night_light/tray_night_light.h", "system/overview/overview_button_tray.cc", "system/overview/overview_button_tray.h", "system/palette/common_palette_tool.cc", "system/palette/common_palette_tool.h", "system/palette/palette_ids.cc", "system/palette/palette_ids.h", "system/palette/palette_tool.cc", "system/palette/palette_tool.h", "system/palette/palette_tool_manager.cc", "system/palette/palette_tool_manager.h", "system/palette/palette_tray.cc", "system/palette/palette_tray.h", "system/palette/palette_utils.cc", "system/palette/palette_utils.h", "system/palette/tools/capture_region_mode.cc", "system/palette/tools/capture_region_mode.h", "system/palette/tools/capture_screen_action.cc", "system/palette/tools/capture_screen_action.h", "system/palette/tools/create_note_action.cc", "system/palette/tools/create_note_action.h", "system/palette/tools/laser_pointer_mode.cc", "system/palette/tools/laser_pointer_mode.h", "system/palette/tools/magnifier_mode.cc", "system/palette/tools/magnifier_mode.h", "system/palette/tools/metalayer_mode.cc", "system/palette/tools/metalayer_mode.h", "system/power/battery_notification.cc", "system/power/battery_notification.h", "system/power/dual_role_notification.cc", "system/power/dual_role_notification.h", "system/power/power_event_observer.cc", "system/power/power_event_observer.h", "system/power/power_status.cc", "system/power/power_status.h", "system/power/power_status_view.cc", "system/power/power_status_view.h", "system/power/tablet_power_button_controller.cc", "system/power/tablet_power_button_controller.h", "system/power/tray_power.cc", "system/power/tray_power.h", "system/power/video_activity_notifier.cc", "system/power/video_activity_notifier.h", "system/rotation/tray_rotation_lock.cc", "system/rotation/tray_rotation_lock.h", "system/screen_layout_observer.cc", "system/screen_layout_observer.h", "system/screen_security/screen_capture_observer.h", "system/screen_security/screen_capture_tray_item.cc", "system/screen_security/screen_capture_tray_item.h", "system/screen_security/screen_share_observer.h", "system/screen_security/screen_share_tray_item.cc", "system/screen_security/screen_share_tray_item.h", "system/screen_security/screen_tray_item.cc", "system/screen_security/screen_tray_item.h", "system/session/last_window_closed_observer.h", "system/session/logout_button_observer.h", "system/session/logout_button_tray.cc", "system/session/logout_button_tray.h", "system/session/logout_confirmation_controller.cc", "system/session/logout_confirmation_controller.h", "system/session/logout_confirmation_dialog.cc", "system/session/logout_confirmation_dialog.h", "system/session/session_length_limit_observer.h", "system/session/tray_session_length_limit.cc", "system/session/tray_session_length_limit.h", "system/status_area_focus_observer.h", "system/status_area_layout_manager.cc", "system/status_area_layout_manager.h", "system/status_area_widget.cc", "system/status_area_widget.h", "system/status_area_widget_delegate.cc", "system/status_area_widget_delegate.h", "system/supervised/tray_supervised_user.cc", "system/supervised/tray_supervised_user.h", "system/system_clock_observer.cc", "system/system_clock_observer.h", "system/system_notifier.cc", "system/system_notifier.h", "system/tiles/tiles_default_view.cc", "system/tiles/tiles_default_view.h", "system/tiles/tray_tiles.cc", "system/tiles/tray_tiles.h", "system/toast/toast_data.cc", "system/toast/toast_data.h", "system/toast/toast_manager.cc", "system/toast/toast_manager.h", "system/toast/toast_overlay.cc", "system/toast/toast_overlay.h", "system/tray/actionable_view.cc", "system/tray/actionable_view.h", "system/tray/hover_highlight_view.cc", "system/tray/hover_highlight_view.h", "system/tray/ime_info.cc", "system/tray/ime_info.h", "system/tray/label_tray_view.cc", "system/tray/label_tray_view.h", "system/tray/size_range_layout.cc", "system/tray/size_range_layout.h", "system/tray/system_menu_button.cc", "system/tray/system_menu_button.h", "system/tray/system_tray.cc", "system/tray/system_tray.h", "system/tray/system_tray_bubble.cc", "system/tray/system_tray_bubble.h", "system/tray/system_tray_controller.cc", "system/tray/system_tray_controller.h", "system/tray/system_tray_delegate.cc", "system/tray/system_tray_delegate.h", "system/tray/system_tray_item.cc", "system/tray/system_tray_item.h", "system/tray/system_tray_notifier.cc", "system/tray/system_tray_notifier.h", "system/tray/tray_background_view.cc", "system/tray/tray_background_view.h", "system/tray/tray_bubble_wrapper.cc", "system/tray/tray_bubble_wrapper.h", "system/tray/tray_constants.cc", "system/tray/tray_constants.h", "system/tray/tray_container.cc", "system/tray/tray_container.h", "system/tray/tray_details_view.cc", "system/tray/tray_details_view.h", "system/tray/tray_event_filter.cc", "system/tray/tray_event_filter.h", "system/tray/tray_image_item.cc", "system/tray/tray_image_item.h", "system/tray/tray_item_more.cc", "system/tray/tray_item_more.h", "system/tray/tray_item_view.cc", "system/tray/tray_item_view.h", "system/tray/tray_popup_header_button.cc", "system/tray/tray_popup_header_button.h", "system/tray/tray_popup_ink_drop_style.h", "system/tray/tray_popup_item_style.cc", "system/tray/tray_popup_item_style.h", "system/tray/tray_popup_utils.cc", "system/tray/tray_popup_utils.h", "system/tray/tray_utils.cc", "system/tray/tray_utils.h", "system/tray/tri_view.cc", "system/tray/tri_view.h", "system/tray/view_click_listener.h", "system/tray_accessibility.cc", "system/tray_accessibility.h", "system/tray_caps_lock.cc", "system/tray_caps_lock.h", "system/tray_tracing.cc", "system/tray_tracing.h", "system/update/tray_update.cc", "system/update/tray_update.h", "system/user/button_from_view.cc", "system/user/button_from_view.h", "system/user/login_status.cc", "system/user/login_status.h", "system/user/rounded_image_view.cc", "system/user/rounded_image_view.h", "system/user/tray_user.cc", "system/user/tray_user.h", "system/user/user_card_view.cc", "system/user/user_card_view.h", "system/user/user_view.cc", "system/user/user_view.h", "system/virtual_keyboard/virtual_keyboard_observer.h", "system/virtual_keyboard/virtual_keyboard_tray.cc", "system/virtual_keyboard/virtual_keyboard_tray.h", "system/web_notification/ash_popup_alignment_delegate.cc", "system/web_notification/ash_popup_alignment_delegate.h", "system/web_notification/web_notification_tray.cc", "system/web_notification/web_notification_tray.h", "touch/ash_touch_transform_controller.cc", "touch/ash_touch_transform_controller.h", "touch/touch_hud_debug.cc", "touch/touch_hud_debug.h", "touch/touch_hud_projection.cc", "touch/touch_hud_projection.h", "touch/touch_observer_hud.cc", "touch/touch_observer_hud.h", "touch/touch_uma.cc", "touch/touch_uma.h", "tray_action/tray_action.cc", "tray_action/tray_action.h", "tray_action/tray_action_observer.h", "utility/screenshot_controller.cc", "utility/screenshot_controller.h", "utility/transformer_util.cc", "utility/transformer_util.h", "virtual_keyboard_controller.cc", "virtual_keyboard_controller.h", "wallpaper/wallpaper_controller.cc", "wallpaper/wallpaper_controller.h", "wallpaper/wallpaper_controller_observer.h", "wallpaper/wallpaper_delegate.h", "wallpaper/wallpaper_view.cc", "wallpaper/wallpaper_view.h", "wallpaper/wallpaper_widget_controller.cc", "wallpaper/wallpaper_widget_controller.h", "window_user_data.h", "wm/always_on_top_controller.cc", "wm/always_on_top_controller.h", "wm/ash_focus_rules.cc", "wm/ash_focus_rules.h", "wm/ash_native_cursor_manager.cc", "wm/ash_native_cursor_manager.h", "wm/boot_splash_screen_chromeos.cc", "wm/boot_splash_screen_chromeos.h", "wm/container_finder.cc", "wm/container_finder.h", "wm/cursor_manager_chromeos.cc", "wm/cursor_manager_chromeos.h", "wm/default_state.cc", "wm/default_state.h", "wm/default_window_resizer.cc", "wm/default_window_resizer.h", "wm/drag_details.cc", "wm/drag_details.h", "wm/drag_window_controller.cc", "wm/drag_window_controller.h", "wm/drag_window_resizer.cc", "wm/drag_window_resizer.h", "wm/event_client_impl.cc", "wm/event_client_impl.h", "wm/focus_rules.cc", "wm/focus_rules.h", "wm/fullscreen_window_finder.cc", "wm/fullscreen_window_finder.h", "wm/gestures/overview_gesture_handler.cc", "wm/gestures/overview_gesture_handler.h", "wm/immersive_context_ash.cc", "wm/immersive_context_ash.h", "wm/immersive_focus_watcher_aura.cc", "wm/immersive_focus_watcher_aura.h", "wm/immersive_gesture_handler_aura.cc", "wm/immersive_gesture_handler_aura.h", "wm/immersive_handler_factory_ash.cc", "wm/immersive_handler_factory_ash.h", "wm/lock_layout_manager.cc", "wm/lock_layout_manager.h", "wm/lock_state_controller.cc", "wm/lock_state_controller.h", "wm/lock_state_observer.h", "wm/lock_window_state.cc", "wm/lock_window_state.h", "wm/maximize_mode/maximize_mode_backdrop_delegate_impl.cc", "wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h", "wm/maximize_mode/maximize_mode_controller.cc", "wm/maximize_mode/maximize_mode_controller.h", "wm/maximize_mode/maximize_mode_event_handler.cc", "wm/maximize_mode/maximize_mode_event_handler.h", "wm/maximize_mode/maximize_mode_event_handler_aura.cc", "wm/maximize_mode/maximize_mode_event_handler_aura.h", "wm/maximize_mode/maximize_mode_window_manager.cc", "wm/maximize_mode/maximize_mode_window_manager.h", "wm/maximize_mode/maximize_mode_window_state.cc", "wm/maximize_mode/maximize_mode_window_state.h", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.cc", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.h", "wm/mru_window_tracker.cc", "wm/mru_window_tracker.h", "wm/overlay_event_filter.cc", "wm/overlay_event_filter.h", "wm/overview/cleanup_animation_observer.cc", "wm/overview/cleanup_animation_observer.h", "wm/overview/overview_animation_type.h", "wm/overview/scoped_overview_animation_settings.cc", "wm/overview/scoped_overview_animation_settings.h", "wm/overview/scoped_transform_overview_window.cc", "wm/overview/scoped_transform_overview_window.h", "wm/overview/window_grid.cc", "wm/overview/window_grid.h", "wm/overview/window_selector.cc", "wm/overview/window_selector.h", "wm/overview/window_selector_controller.cc", "wm/overview/window_selector_controller.h", "wm/overview/window_selector_delegate.h", "wm/overview/window_selector_item.cc", "wm/overview/window_selector_item.h", "wm/panels/attached_panel_window_targeter.cc", "wm/panels/attached_panel_window_targeter.h", "wm/panels/panel_frame_view.cc", "wm/panels/panel_frame_view.h", "wm/panels/panel_layout_manager.cc", "wm/panels/panel_layout_manager.h", "wm/panels/panel_window_event_handler.cc", "wm/panels/panel_window_event_handler.h", "wm/panels/panel_window_resizer.cc", "wm/panels/panel_window_resizer.h", "wm/power_button_controller.cc", "wm/power_button_controller.h", "wm/resize_handle_window_targeter.cc", "wm/resize_handle_window_targeter.h", "wm/resize_shadow.cc", "wm/resize_shadow.h", "wm/resize_shadow_controller.cc", "wm/resize_shadow_controller.h", "wm/root_window_finder.cc", "wm/root_window_finder.h", "wm/root_window_layout_manager.cc", "wm/root_window_layout_manager.h", "wm/screen_dimmer.cc", "wm/screen_dimmer.h", "wm/screen_pinning_controller.cc", "wm/screen_pinning_controller.h", "wm/session_state_animator.cc", "wm/session_state_animator.h", "wm/session_state_animator_impl.cc", "wm/session_state_animator_impl.h", "wm/stacking_controller.cc", "wm/stacking_controller.h", "wm/switchable_windows.cc", "wm/switchable_windows.h", "wm/system_gesture_event_filter.cc", "wm/system_gesture_event_filter.h", "wm/system_modal_container_event_filter.cc", "wm/system_modal_container_event_filter.h", "wm/system_modal_container_event_filter_delegate.h", "wm/system_modal_container_layout_manager.cc", "wm/system_modal_container_layout_manager.h", "wm/system_wallpaper_controller.cc", "wm/system_wallpaper_controller.h", "wm/toplevel_window_event_handler.cc", "wm/toplevel_window_event_handler.h", "wm/video_detector.cc", "wm/video_detector.h", "wm/widget_finder.cc", "wm/widget_finder.h", "wm/window_animation_types.h", "wm/window_animations.cc", "wm/window_animations.h", "wm/window_cycle_controller.cc", "wm/window_cycle_controller.h", "wm/window_cycle_event_filter.h", "wm/window_cycle_event_filter_aura.cc", "wm/window_cycle_event_filter_aura.h", "wm/window_cycle_list.cc", "wm/window_cycle_list.h", "wm/window_dimmer.cc", "wm/window_dimmer.h", "wm/window_mirror_view.cc", "wm/window_mirror_view.h", "wm/window_parenting_utils.cc", "wm/window_parenting_utils.h", "wm/window_positioner.cc", "wm/window_positioner.h", "wm/window_positioning_utils.cc", "wm/window_positioning_utils.h", "wm/window_properties.cc", "wm/window_properties.h", "wm/window_resizer.cc", "wm/window_resizer.h", "wm/window_state.cc", "wm/window_state.h", "wm/window_state_delegate.cc", "wm/window_state_delegate.h", "wm/window_state_observer.h", "wm/window_state_util.cc", "wm/window_state_util.h", "wm/window_util.cc", "wm/window_util.h", "wm/wm_event.cc", "wm/wm_event.h", "wm/wm_snap_to_pixel_layout_manager.cc", "wm/wm_snap_to_pixel_layout_manager.h", "wm/wm_toplevel_window_event_handler.cc", "wm/wm_toplevel_window_event_handler.h", "wm/wm_types.cc", "wm/wm_types.h", "wm/wm_window_animations.cc", "wm/wm_window_animations.h", "wm/workspace/backdrop_controller.cc", "wm/workspace/backdrop_controller.h", "wm/workspace/backdrop_delegate.h", "wm/workspace/magnetism_matcher.cc", "wm/workspace/magnetism_matcher.h", "wm/workspace/multi_window_resize_controller.cc", "wm/workspace/multi_window_resize_controller.h", "wm/workspace/phantom_window_controller.cc", "wm/workspace/phantom_window_controller.h", "wm/workspace/two_step_edge_cycler.cc", "wm/workspace/two_step_edge_cycler.h", "wm/workspace/workspace_event_handler.cc", "wm/workspace/workspace_event_handler.h", "wm/workspace/workspace_event_handler_aura.cc", "wm/workspace/workspace_event_handler_aura.h", "wm/workspace/workspace_layout_manager.cc", "wm/workspace/workspace_layout_manager.h", "wm/workspace/workspace_types.h", "wm/workspace/workspace_window_resizer.cc", "wm/workspace/workspace_window_resizer.h", "wm/workspace_controller.cc", "wm/workspace_controller.h", "wm_display_observer.h", "wm_transient_window_observer.h", "wm_window.cc", "wm_window.h", ] configs += [ "//build/config:precompiled_headers" ] defines = [ "ASH_IMPLEMENTATION" ] public_deps = [ "//ash/resources", "//ash/resources/vector_icons", "//ash/shared:app_types", "//ash/strings", ] deps = [ "//ash/autoclick/common:autoclick", "//ash/public/cpp:ash_public_cpp", "//ash/touch_hud", "//base", "//base:i18n", "//base/third_party/dynamic_annotations", "//cc", "//cc/debug", "//cc/surfaces", "//chromeos", "//chromeos:power_manager_proto", "//components/device_event_log", "//components/onc", "//components/quirks", "//components/session_manager:base", "//components/signin/core/account_id", "//components/ui_devtools", "//components/user_manager", "//components/vector_icons", "//components/wallpaper", "//device/bluetooth", "//gpu/command_buffer/client", "//gpu/command_buffer/client:gles2_interface", "//media", "//net", "//services/preferences/public/cpp", "//services/service_manager/public/cpp", "//services/ui/public/cpp", "//services/ui/public/interfaces", "//skia", # TODO(msw): Remove this; only ash_with_content should depend on webkit. "//third_party/WebKit/public:blink_headers", "//third_party/icu", "//third_party/qcms", "//ui/accessibility", "//ui/app_list/presenter", "//ui/aura", "//ui/base", "//ui/base:ui_data_pack", "//ui/base/ime", "//ui/chromeos", "//ui/chromeos/resources", "//ui/chromeos/strings", "//ui/compositor", "//ui/display", "//ui/display/manager", "//ui/display/types", "//ui/display/util", "//ui/events", "//ui/events:events_base", "//ui/events:gesture_detection", "//ui/events/devices", "//ui/gfx", "//ui/gfx/geometry", "//ui/keyboard", "//ui/message_center", "//ui/native_theme", "//ui/platform_window", "//ui/platform_window/stub", "//ui/resources", "//ui/strings", "//ui/vector_icons", "//ui/views", "//ui/wm", "//url", ] # TODO(jamescook): Move to ash_unittests? data = [ "display/test_data/", ] if (use_x11) { configs += [ "//build/config/linux:x11", "//build/config/linux:xfixes", ] deps += [ "//ui/events/devices/x11", "//ui/events/platform", "//ui/gfx/x", ] } else { sources -= [ "host/ash_window_tree_host_x11.cc", "host/ash_window_tree_host_x11.h", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.h", ] } if (use_ozone) { deps += [ "//ui/events:dom_keycode_converter", "//ui/events/ozone:events_ozone", "//ui/ozone", ] } else { sources -= [ "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.cc", "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h", ] } # Usage of content should be in ash_content_unittests. assert_no_deps = [ "//content/public/browser", "//content/public/common", ] } component("ash_with_content") { sources = [ "content/ash_with_content_export.h", "content/gpu_support_impl.cc", "content/gpu_support_impl.h", "content/keyboard_overlay/keyboard_overlay_delegate.cc", "content/keyboard_overlay/keyboard_overlay_delegate.h", "content/keyboard_overlay/keyboard_overlay_view.cc", "content/keyboard_overlay/keyboard_overlay_view.h", "content/screen_orientation_delegate_chromeos.cc", "content/screen_orientation_delegate_chromeos.h", "content/shell_content_state.cc", "content/shell_content_state.h", ] defines = [ "ASH_WITH_CONTENT_IMPLEMENTATION" ] public_deps = [ ":ash", ] deps = [ "//ash/public/cpp:ash_public_cpp", "//base", "//base/third_party/dynamic_annotations", "//content/public/browser", "//gpu/config", "//ipc", "//skia", "//ui/aura", "//ui/base", "//ui/compositor", "//ui/events", "//ui/gfx", "//ui/gfx/geometry", "//ui/keyboard:keyboard_with_content", "//ui/resources", "//ui/strings", "//ui/views", "//ui/views/controls/webview", "//ui/web_dialogs", "//url", ] } static_library("ash_shell_lib") { testonly = true sources = [ "../ui/views/test/test_views_delegate_aura.cc", "shell/app_list.cc", "shell/bubble.cc", "shell/context_menu.cc", "shell/context_menu.h", "shell/example_app_list_presenter.cc", "shell/example_app_list_presenter.h", "shell/example_factory.h", "shell/example_session_controller_client.cc", "shell/example_session_controller_client.h", "shell/lock_view.cc", "shell/panel_window.cc", "shell/panel_window.h", "shell/shell_delegate_impl.cc", "shell/shell_delegate_impl.h", "shell/toplevel_window.cc", "shell/toplevel_window.h", "shell/widgets.cc", "shell/window_type_launcher.cc", "shell/window_type_launcher.h", "shell/window_watcher.cc", "shell/window_watcher.h", "shell/window_watcher_shelf_item_delegate.cc", "shell/window_watcher_shelf_item_delegate.h", ] # Usage of content should be in ash_shell_lib_with_content. assert_no_deps = [ "//content/public/browser", "//content/public/common", ] deps = [ ":ash", "//ash/public/cpp:ash_public_cpp", "//ash/test:test_support_without_content", "//base", "//base:i18n", "//components/user_manager", "//skia", "//ui/app_list/presenter", "//ui/app_list/presenter:test_support", "//ui/aura", "//ui/base", "//ui/gfx", "//ui/gfx/geometry", "//ui/message_center", "//ui/views", "//ui/views:test_support", "//ui/views/examples:views_examples_lib", "//ui/wm", ] } static_library("ash_shell_lib_with_content") { testonly = true sources = [ "shell/content/client/shell_browser_main_parts.cc", "shell/content/client/shell_browser_main_parts.h", "shell/content/client/shell_content_browser_client.cc", "shell/content/client/shell_content_browser_client.h", "shell/content/client/shell_main_delegate.cc", "shell/content/client/shell_main_delegate.h", "shell/content/shell_content_state_impl.cc", "shell/content/shell_content_state_impl.h", ] deps = [ ":ash_shell_lib", ":ash_with_content", "//ash/public/cpp:ash_public_cpp", "//ash/test:test_support_without_content", "//base:i18n", "//chrome:packed_resources", "//chromeos", "//content", "//content/shell:content_shell_lib", "//device/bluetooth", "//net", "//skia", "//ui/app_list/presenter:test_support", "//ui/aura", "//ui/base", "//ui/base/ime", "//ui/compositor", "//ui/display", "//ui/events/devices", "//ui/message_center", "//ui/views:test_support", "//ui/views/examples:views_examples_with_content_lib", "//ui/wm", ] } # This target is intended for tests that use content. In general very few tests # need or use content and should be placed in |ash_unittests| instead. test("ash_content_unittests") { sources = [ "content/display/screen_orientation_controller_chromeos_unittest.cc", "content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc", "content/keyboard_overlay/keyboard_overlay_view_unittest.cc", "test/ash_test_suite.cc", "test/ash_test_suite.h", "test/ash_unittests.cc", ] configs += [ "//build/config:precompiled_headers", "//build/config/compiler:no_size_t_to_int_warning", ] deps = [ ":ash", ":ash_with_content", "//ash/public/cpp:ash_public_cpp", "//ash/test:test_support_with_content", "//base", "//base/test:test_support", "//chromeos", "//chromeos:power_manager_proto", "//chromeos:test_support_without_gmock", "//components/quirks", "//components/signin/core/account_id", "//components/user_manager", "//content/public/browser", "//content/test:test_support", "//device/bluetooth", "//mojo/edk/system", "//net", "//skia", "//testing/gtest", "//ui/aura", "//ui/aura:test_support", "//ui/chromeos", "//ui/compositor:test_support", "//ui/display", "//ui/display:test_support", "//ui/gl:test_support", "//ui/message_center", "//ui/message_center:test_support", "//ui/views", "//ui/views:test_support", "//ui/views/controls/webview:test_support", "//ui/web_dialogs:test_support", ] data_deps = [ "//ash/strings:ash_test_strings", "//ash/resources:ash_test_resources_with_content_100_percent", "//ash/resources:ash_test_resources_200_percent", ] } # This target includes the tests that are run by both ash and mash. Eventually # the majority of tests in |ash_unittests| should move here. source_set("common_unittests") { testonly = true sources = [ "accelerators/accelerator_commands_unittest.cc", "accelerators/accelerator_controller_unittest.cc", "accelerators/accelerator_filter_unittest.cc", "accelerators/accelerator_table_unittest.cc", "accelerators/spoken_feedback_toggler_unittest.cc", "ash_touch_exploration_manager_chromeos_unittest.cc", "autoclick/autoclick_unittest.cc", "devtools/ash_devtools_unittest.cc", "display/display_configuration_controller_unittest.cc", "drag_drop/drag_image_view_unittest.cc", "first_run/first_run_helper_unittest.cc", "focus_cycler_unittest.cc", "frame/caption_buttons/frame_caption_button_container_view_unittest.cc", "frame/caption_buttons/frame_size_button_unittest.cc", "frame/custom_frame_view_ash_unittest.cc", "frame/default_header_painter_unittest.cc", "laser/laser_pointer_controller_unittest.cc", "laser/laser_pointer_points_unittest.cc", "laser/laser_segment_utils_unittest.cc", "login/lock_screen_controller_unittest.cc", "metrics/desktop_task_switch_metric_recorder_unittest.cc", "metrics/pointer_metrics_recorder_unittest.cc", "metrics/task_switch_metrics_recorder_unittest.cc", "metrics/task_switch_time_tracker_unittest.cc", "metrics/user_metrics_recorder_unittest.cc", "mus/window_manager_common_unittests.cc", "mus_property_mirror_ash_unittest.cc", "root_window_controller_unittest.cc", "rotator/screen_rotation_animation_unittest.cc", "rotator/screen_rotation_animator_unittest.cc", "screen_util_unittest.cc", "session/session_controller_unittest.cc", "shelf/app_list_button_unittest.cc", "shelf/shelf_application_menu_model_unittest.cc", "shelf/shelf_background_animator_unittest.cc", "shelf/shelf_button_pressed_metric_tracker_unittest.cc", "shelf/shelf_layout_manager_unittest.cc", "shelf/shelf_locking_manager_unittest.cc", "shelf/shelf_model_unittest.cc", "shelf/shelf_tooltip_manager_unittest.cc", "shelf/shelf_unittest.cc", "shelf/shelf_view_unittest.cc", "shelf/shelf_widget_unittest.cc", "shelf/shelf_window_watcher_unittest.cc", "shell_unittest.cc", "sticky_keys/sticky_keys_overlay_unittest.cc", "sticky_keys/sticky_keys_unittest.cc", "system/audio/tray_audio_unittest.cc", "system/bluetooth/tray_bluetooth_helper_unittest.cc", "system/brightness/tray_brightness_unittest.cc", "system/date/date_view_unittest.cc", "system/date/system_info_default_view_unittest.cc", "system/enterprise/tray_enterprise_unittest.cc", "system/ime/tray_ime_chromeos_unittest.cc", "system/ime_menu/ime_menu_tray_unittest.cc", "system/lock_screen_action/lock_screen_action_tray_unittest.cc", "system/media_security/multi_profile_media_tray_item_unittest.cc", "system/network/network_icon_unittest.cc", "system/network/sms_observer_unittest.cc", "system/network/tray_network_unittest.cc", "system/network/vpn_list_unittest.cc", "system/night_light/night_light_controller_unittest.cc", "system/night_light/tray_night_light_unittest.cc", "system/overview/overview_button_tray_unittest.cc", "system/palette/mock_palette_tool_delegate.cc", "system/palette/mock_palette_tool_delegate.h", "system/palette/palette_tool_manager_unittest.cc", "system/palette/tools/create_note_unittest.cc", "system/palette/tools/metalayer_unittest.cc", "system/palette/tools/screenshot_unittest.cc", "system/power/power_event_observer_unittest.cc", "system/power/power_status_unittest.cc", "system/power/power_status_view_unittest.cc", "system/power/tablet_power_button_controller_unittest.cc", "system/power/tray_power_unittest.cc", "system/power/video_activity_notifier_unittest.cc", "system/screen_security/screen_tray_item_unittest.cc", "system/session/logout_confirmation_controller_unittest.cc", "system/session/tray_session_length_limit_unittest.cc", "system/status_area_widget_unittest.cc", "system/supervised/tray_supervised_user_unittest.cc", "system/tiles/tray_tiles_unittest.cc", "system/toast/toast_manager_unittest.cc", "system/tray/size_range_layout_unittest.cc", "system/tray/system_tray_unittest.cc", "system/tray/tray_details_view_unittest.cc", "system/tray/tri_view_unittest.cc", "system/update/tray_update_unittest.cc", "system/user/tray_user_unittest.cc", "system/web_notification/ash_popup_alignment_delegate_unittest.cc", "system/web_notification/web_notification_tray_unittest.cc", "test/ash_test_helper_unittest.cc", "tooltips/tooltip_controller_unittest.cc", "tray_action/tray_action_unittest.cc", "wallpaper/wallpaper_controller_unittest.cc", "window_user_data_unittest.cc", "wm/ash_focus_rules_unittest.cc", "wm/container_finder_unittest.cc", "wm/immersive_fullscreen_controller_unittest.cc", "wm/lock_state_controller_unittest.cc", "wm/maximize_mode/accelerometer_test_data_literals.cc", "wm/maximize_mode/maximize_mode_window_manager_unittest.cc", "wm/mru_window_tracker_unittest.cc", "wm/overlay_event_filter_unittest.cc", "wm/overview/cleanup_animation_observer_unittest.cc", "wm/overview/window_selector_unittest.cc", "wm/panels/panel_layout_manager_unittest.cc", "wm/panels/panel_window_resizer_unittest.cc", "wm/root_window_layout_manager_unittest.cc", "wm/screen_dimmer_unittest.cc", "wm/screen_pinning_controller_unittest.cc", "wm/session_state_animator_impl_unittest.cc", "wm/stacking_controller_unittest.cc", "wm/system_modal_container_layout_manager_unittest.cc", "wm/toplevel_window_event_handler_unittest.cc", "wm/video_detector_unittest.cc", "wm/window_animations_unittest.cc", "wm/window_cycle_controller_unittest.cc", "wm/window_manager_unittest.cc", "wm/window_modality_controller_unittest.cc", "wm/window_positioner_unittest.cc", "wm/window_state_unittest.cc", "wm/window_util_unittest.cc", "wm/workspace/magnetism_matcher_unittest.cc", "wm/workspace/workspace_event_handler_unittest.cc", "wm/workspace/workspace_layout_manager_unittest.cc", "wm/workspace/workspace_window_resizer_unittest.cc", "wm/workspace_controller_unittest.cc", ] deps = [ "//ash", "//ash/mus:lib", "//ash/public/cpp:ash_public_cpp", "//ash/public/cpp:unit_tests", "//ash/resources/vector_icons", "//ash/test:test_support_without_content", "//base", "//base/test:test_support", "//chromeos", "//chromeos:power_manager_proto", "//chromeos:test_support_without_gmock", "//components/prefs:test_support", "//device/bluetooth", "//services/ui/public/interfaces", "//testing/gmock", "//ui/accessibility", "//ui/app_list/presenter", "//ui/app_list/presenter:test_support", "//ui/aura", "//ui/aura:test_support", "//ui/base", "//ui/base:test_support", "//ui/compositor:test_support", "//ui/display", "//ui/events:test_support", "//ui/gfx:test_support", "//ui/keyboard", "//ui/message_center", "//ui/message_center:test_support", "//ui/views", "//ui/views:test_support", "//ui/wm", "//ui/wm:test_support", ] public_deps = [ "//ash/test:test_support_without_content", ] } test("ash_unittests") { sources = [ # TODO: move to common_unittests. Fails because of http://crbug.com/557401. "accelerators/magnifier_key_scroller_unittest.cc", # Specific to classic-ash. "app_list/app_list_presenter_delegate_unittest.cc", # TODO: move to common_unittests when http://crbug.com/693790 is fixed. "aura/pointer_watcher_adapter_unittest.cc", # TODO: decide if this needs to be ported. http://crbug.com/695566. "dip_unittest.cc", # TODO: tests in display generally use display_manger(), which doesn't # exist in mash. Decide which of these tests need to be ported to mash. # http://crbug.com/695569 "display/cursor_window_controller_unittest.cc", "display/display_color_manager_chromeos_unittest.cc", "display/display_error_observer_chromeos_unittest.cc", "display/display_manager_unittest.cc", "display/display_util_unittest.cc", "display/extended_mouse_warp_controller_unittest.cc", "display/mirror_window_controller_unittest.cc", "display/mouse_cursor_event_filter_unittest.cc", "display/projecting_observer_chromeos_unittest.cc", "display/resolution_notification_controller_unittest.cc", "display/root_window_transformers_unittest.cc", "display/screen_ash_unittest.cc", "display/screen_position_controller_unittest.cc", "display/unified_mouse_warp_controller_unittest.cc", "display/window_tree_host_manager_unittest.cc", # These exercise classic-ash specific functionality. "drag_drop/drag_drop_controller_unittest.cc", "drag_drop/drag_drop_tracker_unittest.cc", # TODO: port to mash. http://crbug.com/695570. "extended_desktop_unittest.cc", # Specific to X11. "host/ash_window_tree_host_x11_unittest.cc", # TODO: magnifier not supported in mash. http://crbug.com/647438. "magnifier/magnification_controller_unittest.cc", "magnifier/partial_magnification_controller_unittest.cc", # TODO: investigate failure in mash, http://crbug.com/695887. "system/rotation/tray_rotation_lock_unittest.cc", # TODO: fails as ScreenLayoutObserver is not installed in mash, # http://crbug.com/696752. "system/screen_layout_observer_unittest.cc", "test/ash_test_suite.cc", "test/ash_test_suite.h", "test/ash_unittests.cc", # TODO(riajiang): port to work with mash. http://crbug.com/698032. "touch/touch_observer_hud_unittest.cc", # TODO(moshayedi): port to work with mash. http://crbug.com/698033. "utility/screenshot_controller_unittest.cc", # TODO: keyboard is not enabled in mash. http://crbug.com/648733. "virtual_keyboard_controller_unittest.cc", # TODO: keyboard is not enabled in mash. http://crbug.com/648733. "wm/always_on_top_controller_unittest.cc", # TODO: mash doesn't support CursorManager. http://crbug.com/631103. "wm/ash_native_cursor_manager_unittest.cc", # TODO: mash doesn't support DragWindowResizer. http://crbug.com/633782. "wm/drag_window_resizer_unittest.cc", # TODO: mash doesn't support OverviewGestureHandler. # http://crbug.com/634994. "wm/gestures/overview_gesture_handler_unittest.cc", # TODO: fails because keyboard is not enabled in mash. # http://crbug.com/648733. "wm/lock_layout_manager_unittest.cc", # TODO: investigate failures in mash. http://crbug.com/698092. "wm/maximize_mode/maximize_mode_controller_unittest.cc", # TODO: mash doesn't support CursorManager. http://crbug.com/631103. "wm/resize_shadow_and_cursor_unittest.cc", # TODO: mash doesn't support SetFirstDisplayAsInternalDisplay(), which all # the tests in this file use. http://crbug.com/698091. "wm/system_gesture_event_filter_unittest.cc", # TODO: MultiWindowResizeControllerTests fail in mash. # http://crbug.com/699172. "wm/workspace/multi_window_resize_controller_unittest.cc", # TODO: fails because the virtual keyboard is not enabled in mash. # http://crbug.com/648733. "wm/workspace/workspace_layout_manager_keyboard_unittest.cc", ] configs += [ "//build/config:precompiled_headers", "//build/config/compiler:no_size_t_to_int_warning", ] deps = [ ":ash", ":common_unittests", "//ash/autoclick/common:autoclick", "//ash/public/cpp:ash_public_cpp", "//ash/resources", "//ash/resources/vector_icons", "//ash/strings", "//ash/test:test_support_without_content", "//ash/touch_hud", "//base", "//base/test:test_support", "//chromeos", "//chromeos:test_support_without_gmock", "//components/quirks", "//components/signin/core/account_id", "//components/user_manager", "//device/bluetooth", "//mojo/edk/system", "//net:net", "//services/ui/public/interfaces", "//skia", "//testing/gmock", "//testing/gtest", "//third_party/icu", "//ui/accessibility", "//ui/app_list:test_support", "//ui/app_list/presenter", "//ui/app_list/presenter:test_support", "//ui/aura", "//ui/aura:test_support", "//ui/base", "//ui/base:test_support", "//ui/base/ime", "//ui/chromeos", "//ui/compositor", "//ui/compositor:test_support", "//ui/display", "//ui/display:test_support", "//ui/display/types", "//ui/events", "//ui/events:gesture_detection", "//ui/events:test_support", "//ui/events/devices", "//ui/gfx", "//ui/gfx/geometry", "//ui/gl:test_support", "//ui/keyboard", "//ui/message_center", "//ui/resources", "//ui/strings", "//ui/views", "//ui/views:test_support", "//ui/wm", "//url", ] data_deps = [ "//ash/strings:ash_test_strings", "//ash/resources:ash_test_resources_100_percent", "//ash/resources:ash_test_resources_200_percent", "//testing/buildbot/filters:ash_unittests_filters", ] if (!use_x11) { sources -= [ "host/ash_window_tree_host_x11_unittest.cc" ] } # Usage of content should be in ash_with_content. assert_no_deps = [ "//content/public/browser", "//content/public/common", ] } executable("ash_shell_with_content") { testonly = true sources = [ "shell/content/shell_with_content_main.cc", ] deps = [ ":ash_shell_lib_with_content", "//base", "//build/config:exe_and_shlib_deps", "//build/win:default_exe_manifest", "//components/user_manager", "//content", "//content/public/app:both", "//device/bluetooth", ] data_deps = [ "//ash/strings:ash_test_strings", "//ash/resources:ash_test_resources_with_content_100_percent", "//ash/resources:ash_test_resources_200_percent", ] }