# 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("//mojo/public/tools/bindings/mojom.gni") import("//services/service_manager/public/cpp/service.gni") import("//services/service_manager/public/service_manifest.gni") import("//testing/test.gni") import("//tools/grit/repack.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_classic.cc", "accelerators/accelerator_commands_classic.h", "accelerators/accelerator_controller.cc", "accelerators/accelerator_controller.h", "accelerators/accelerator_controller_delegate.h", "accelerators/accelerator_controller_delegate_classic.cc", "accelerators/accelerator_controller_delegate_classic.h", "accelerators/accelerator_controller_delegate_mash.cc", "accelerators/accelerator_controller_delegate_mash.h", "accelerators/accelerator_controller_registrar.cc", "accelerators/accelerator_controller_registrar.h", "accelerators/accelerator_delegate.cc", "accelerators/accelerator_delegate.h", "accelerators/accelerator_handler.h", "accelerators/accelerator_ids.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/accessibility_controller.cc", "accessibility/accessibility_controller.h", "accessibility/accessibility_cursor_ring_layer.cc", "accessibility/accessibility_cursor_ring_layer.h", "accessibility/accessibility_delegate.h", "accessibility/accessibility_focus_ring.cc", "accessibility/accessibility_focus_ring.h", "accessibility/accessibility_focus_ring_controller.cc", "accessibility/accessibility_focus_ring_controller.h", "accessibility/accessibility_focus_ring_layer.cc", "accessibility/accessibility_focus_ring_layer.h", "accessibility/accessibility_highlight_layer.cc", "accessibility/accessibility_highlight_layer.h", "accessibility/accessibility_layer.cc", "accessibility/accessibility_layer.h", "accessibility/default_accessibility_delegate.cc", "accessibility/default_accessibility_delegate.h", "accessibility/focus_ring_controller.cc", "accessibility/focus_ring_controller.h", "accessibility/focus_ring_layer.cc", "accessibility/focus_ring_layer.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_touch_exploration_manager_chromeos.cc", "ash_touch_exploration_manager_chromeos.h", "ash_view_ids.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_wallpaper_delegate.cc", "default_wallpaper_delegate.h", "disconnected_app_handler.cc", "disconnected_app_handler.h", "display/ash_display_controller.cc", "display/ash_display_controller.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_move_window_util.cc", "display/display_move_window_util.h", "display/display_synchronizer.cc", "display/display_synchronizer.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/overscan_calibrator.cc", "display/overscan_calibrator.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/touch_calibrator_controller.cc", "display/touch_calibrator_controller.h", "display/touch_calibrator_view.cc", "display/touch_calibrator_view.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", "event_matcher_util.cc", "event_matcher_util.h", "fast_ink/fast_ink_pointer_controller.cc", "fast_ink/fast_ink_pointer_controller.h", "fast_ink/fast_ink_points.cc", "fast_ink/fast_ink_points.h", "fast_ink/fast_ink_view.cc", "fast_ink/fast_ink_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_back_button.cc", "frame/caption_buttons/frame_back_button.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_frame_header.cc", "frame/default_frame_header.h", "frame/detached_title_area_renderer.cc", "frame/detached_title_area_renderer.h", "frame/frame_border_hit_test.cc", "frame/frame_border_hit_test.h", "frame/frame_header.h", "frame/frame_header_util.cc", "frame/frame_header_util.h", "frame/header_view.cc", "frame/header_view.h", "high_contrast/high_contrast_controller.cc", "high_contrast/high_contrast_controller.h", "highlighter/highlighter_controller.cc", "highlighter/highlighter_controller.h", "highlighter/highlighter_gesture_util.cc", "highlighter/highlighter_gesture_util.h", "highlighter/highlighter_result_view.cc", "highlighter/highlighter_result_view.h", "highlighter/highlighter_view.cc", "highlighter/highlighter_view.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_mirroring_delegate.h", "host/ash_window_tree_host_mirroring_unified.cc", "host/ash_window_tree_host_mirroring_unified.h", "host/ash_window_tree_host_mus.cc", "host/ash_window_tree_host_mus.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/root_window_transformer.h", "host/transformer_helper.cc", "host/transformer_helper.h", "ime/ime_controller.cc", "ime/ime_controller.h", "ime/ime_switch_type.h", "keyboard/keyboard_observer_register.cc", "keyboard/keyboard_observer_register.h", "keyboard/keyboard_ui.cc", "keyboard/keyboard_ui.h", "keyboard/keyboard_ui_mash.cc", "keyboard/keyboard_ui_mash.h", "keyboard/keyboard_ui_observer.h", "laser/laser_pointer_controller.cc", "laser/laser_pointer_controller.h", "laser/laser_pointer_view.cc", "laser/laser_pointer_view.h", "laser/laser_segment_utils.cc", "laser/laser_segment_utils.h", "lock_screen_action/lock_screen_action_background_controller.cc", "lock_screen_action/lock_screen_action_background_controller.h", "lock_screen_action/lock_screen_action_background_controller_impl.cc", "lock_screen_action/lock_screen_action_background_controller_impl.h", "lock_screen_action/lock_screen_action_background_controller_stub.cc", "lock_screen_action/lock_screen_action_background_controller_stub.h", "lock_screen_action/lock_screen_action_background_observer.h", "lock_screen_action/lock_screen_action_background_state.h", "lock_screen_action/lock_screen_action_background_view.cc", "lock_screen_action/lock_screen_action_background_view.h", "lock_screen_action/lock_screen_note_display_state_handler.cc", "lock_screen_action/lock_screen_note_display_state_handler.h", "lock_screen_action/lock_screen_note_launcher.cc", "lock_screen_action/lock_screen_note_launcher.h", "login/lock_screen_apps_focus_observer.h", "login/login_screen_controller.cc", "login/login_screen_controller.h", "login/ui/animated_rounded_image_view.cc", "login/ui/animated_rounded_image_view.h", "login/ui/animation_frame.h", "login/ui/hover_notifier.cc", "login/ui/hover_notifier.h", "login/ui/image_parser.cc", "login/ui/image_parser.h", "login/ui/layout_util.cc", "login/ui/layout_util.h", "login/ui/lock_contents_view.cc", "login/ui/lock_contents_view.h", "login/ui/lock_debug_view.cc", "login/ui/lock_debug_view.h", "login/ui/lock_screen.cc", "login/ui/lock_screen.h", "login/ui/lock_window.cc", "login/ui/lock_window.h", "login/ui/login_auth_user_view.cc", "login/ui/login_auth_user_view.h", "login/ui/login_base_bubble_view.cc", "login/ui/login_base_bubble_view.h", "login/ui/login_bubble.cc", "login/ui/login_bubble.h", "login/ui/login_button.cc", "login/ui/login_button.h", "login/ui/login_constants.h", "login/ui/login_data_dispatcher.cc", "login/ui/login_data_dispatcher.h", "login/ui/login_password_view.cc", "login/ui/login_password_view.h", "login/ui/login_pin_view.cc", "login/ui/login_pin_view.h", "login/ui/login_user_view.cc", "login/ui/login_user_view.h", "login/ui/non_accessible_view.cc", "login/ui/non_accessible_view.h", "login/ui/note_action_launch_button.cc", "login/ui/note_action_launch_button.h", "login/ui/pin_keyboard_animation.cc", "login/ui/pin_keyboard_animation.h", "login/ui/user_switch_flip_animation.cc", "login/ui/user_switch_flip_animation.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", "message_center/message_center_bubble.cc", "message_center/message_center_bubble.h", "message_center/message_center_button_bar.cc", "message_center/message_center_button_bar.h", "message_center/message_center_controller.cc", "message_center/message_center_controller.h", "message_center/message_center_style.cc", "message_center/message_center_style.h", "message_center/message_center_view.cc", "message_center/message_center_view.h", "message_center/message_list_view.cc", "message_center/message_list_view.h", "message_center/notifier_settings_view.cc", "message_center/notifier_settings_view.h", "metrics/desktop_task_switch_metric_recorder.cc", "metrics/desktop_task_switch_metric_recorder.h", "metrics/gesture_action_type.h", "metrics/login_metrics_recorder.cc", "metrics/login_metrics_recorder.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", "network_connect_delegate_mus.cc", "network_connect_delegate_mus.h", "new_window_controller.cc", "new_window_controller.h", "note_taking_controller.cc", "note_taking_controller.h", "pointer_watcher_adapter_classic.cc", "pointer_watcher_adapter_classic.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/multiprofiles_intro_dialog.cc", "session/multiprofiles_intro_dialog.h", "session/session_aborted_dialog.cc", "session/session_aborted_dialog.h", "session/session_controller.cc", "session/session_controller.h", "session/session_observer.cc", "session/session_observer.h", "session/teleport_warning_dialog.cc", "session/teleport_warning_dialog.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/assistant_overlay.cc", "shelf/assistant_overlay.h", "shelf/ink_drop_button_listener.h", "shelf/login_shelf_view.cc", "shelf/login_shelf_view.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_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_context_menu_model.cc", "shelf/shelf_context_menu_model.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_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_delegate_mus.cc", "shell_delegate_mus.h", "shell_init_params.cc", "shell_init_params.h", "shell_observer.h", "shell_port.cc", "shell_port.h", "shell_port_classic.cc", "shell_port_classic.h", "shell_port_mash.cc", "shell_port_mash.h", "shell_port_mus.cc", "shell_port_mus.h", "shutdown_controller.cc", "shutdown_controller.h", "sidebar/sidebar.cc", "sidebar/sidebar.h", "sidebar/sidebar_widget.cc", "sidebar/sidebar_widget.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/bluetooth_power_controller.cc", "system/bluetooth/bluetooth_power_controller.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/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/keyboard_brightness_controller.cc", "system/keyboard_brightness/keyboard_brightness_controller.h", "system/keyboard_brightness/tray_keyboard_brightness.cc", "system/keyboard_brightness/tray_keyboard_brightness.h", "system/keyboard_brightness_control_delegate.h", "system/locale/locale_notification_controller.cc", "system/locale/locale_notification_controller.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_row_title_view.cc", "system/network/network_row_title_view.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/time_of_day.cc", "system/night_light/time_of_day.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/palette_welcome_bubble.cc", "system/palette/palette_welcome_bubble.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/backlights_forced_off_setter.cc", "system/power/backlights_forced_off_setter.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/peripheral_battery_notifier.cc", "system/power/peripheral_battery_notifier.h", "system/power/power_button_controller.cc", "system/power/power_button_controller.h", "system/power/power_button_display_controller.cc", "system/power/power_button_display_controller.h", "system/power/power_button_screenshot_controller.cc", "system/power/power_button_screenshot_controller.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/scoped_backlights_forced_off.cc", "system/power/scoped_backlights_forced_off.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/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/tray_session_length_limit.cc", "system/session/tray_session_length_limit.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/system_tray_focus_observer.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/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_item.cc", "system/tray/system_tray_item.h", "system/tray/system_tray_notifier.cc", "system/tray/system_tray_notifier.h", "system/tray/system_tray_view.cc", "system/tray/system_tray_view.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_info_label.cc", "system/tray/tray_info_label.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_drag_controller.cc", "system/tray_drag_controller.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/fullscreen_notification_blocker.cc", "system/web_notification/fullscreen_notification_blocker.h", "system/web_notification/inactive_user_notification_blocker.cc", "system/web_notification/inactive_user_notification_blocker.h", "system/web_notification/login_state_notification_blocker.cc", "system/web_notification/login_state_notification_blocker.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_devices_controller.cc", "touch/touch_devices_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_transform_setter_mus.cc", "touch/touch_transform_setter_mus.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", "voice_interaction/voice_interaction_controller.cc", "voice_interaction/voice_interaction_controller.h", "voice_interaction/voice_interaction_observer.h", "wallpaper/wallpaper_controller.cc", "wallpaper/wallpaper_controller.h", "wallpaper/wallpaper_controller_observer.h", "wallpaper/wallpaper_delegate.h", "wallpaper/wallpaper_delegate_mus.cc", "wallpaper/wallpaper_delegate_mus.h", "wallpaper/wallpaper_view.cc", "wallpaper/wallpaper_view.h", "wallpaper/wallpaper_widget_controller.cc", "wallpaper/wallpaper_widget_controller.h", "wallpaper/wallpaper_window_state_manager.cc", "wallpaper/wallpaper_window_state_manager.h", "window_manager.cc", "window_manager.h", "window_manager_service.cc", "window_manager_service.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/base_state.cc", "wm/base_state.h", "wm/client_controlled_state.cc", "wm/client_controlled_state.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/drag_window_resizer_mash.cc", "wm/drag_window_resizer_mash.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_classic.cc", "wm/immersive_focus_watcher_classic.h", "wm/immersive_gesture_handler_classic.cc", "wm/immersive_gesture_handler_classic.h", "wm/immersive_handler_factory_ash.cc", "wm/immersive_handler_factory_ash.h", "wm/immersive_handler_factory_mash.cc", "wm/immersive_handler_factory_mash.h", "wm/lock_action_handler_layout_manager.cc", "wm/lock_action_handler_layout_manager.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/move_event_handler.cc", "wm/move_event_handler.h", "wm/mru_window_tracker.cc", "wm/mru_window_tracker.h", "wm/native_cursor_manager_ash.h", "wm/native_cursor_manager_ash_classic.cc", "wm/native_cursor_manager_ash_classic.h", "wm/native_cursor_manager_ash_mus.cc", "wm/native_cursor_manager_ash_mus.h", "wm/non_client_frame_controller.cc", "wm/non_client_frame_controller.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/overview_window_drag_controller.cc", "wm/overview/overview_window_drag_controller.h", "wm/overview/rounded_rect_view.cc", "wm/overview/rounded_rect_view.h", "wm/overview/scoped_hide_overview_windows.cc", "wm/overview/scoped_hide_overview_windows.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/property_util.cc", "wm/property_util.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/splitview/split_view_controller.cc", "wm/splitview/split_view_controller.h", "wm/splitview/split_view_divider.cc", "wm/splitview/split_view_divider.h", "wm/splitview/split_view_overview_overlay.cc", "wm/splitview/split_view_overview_overlay.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/tablet_mode/scoped_disable_internal_mouse_and_keyboard.h", "wm/tablet_mode/scoped_disable_internal_mouse_and_keyboard_ozone.cc", "wm/tablet_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h", "wm/tablet_mode/scoped_skip_user_session_blocked_check.cc", "wm/tablet_mode/scoped_skip_user_session_blocked_check.h", "wm/tablet_mode/tablet_mode_backdrop_delegate_impl.cc", "wm/tablet_mode/tablet_mode_backdrop_delegate_impl.h", "wm/tablet_mode/tablet_mode_controller.cc", "wm/tablet_mode/tablet_mode_controller.h", "wm/tablet_mode/tablet_mode_event_handler.cc", "wm/tablet_mode/tablet_mode_event_handler.h", "wm/tablet_mode/tablet_mode_event_handler_classic.cc", "wm/tablet_mode/tablet_mode_event_handler_classic.h", "wm/tablet_mode/tablet_mode_observer.h", "wm/tablet_mode/tablet_mode_window_manager.cc", "wm/tablet_mode/tablet_mode_window_manager.h", "wm/tablet_mode/tablet_mode_window_state.cc", "wm/tablet_mode/tablet_mode_window_state.h", "wm/tablet_mode/touchpad_and_keyboard_disabler.cc", "wm/tablet_mode/touchpad_and_keyboard_disabler.h", "wm/top_level_window_factory.cc", "wm/top_level_window_factory.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_classic.cc", "wm/window_cycle_event_filter_classic.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_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_classic.cc", "wm/workspace/workspace_event_handler_classic.h", "wm/workspace/workspace_event_handler_mash.cc", "wm/workspace/workspace_event_handler_mash.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", ] configs += [ "//build/config:precompiled_headers" ] defines = [ "ASH_IMPLEMENTATION" ] public_deps = [ "//ash/public/cpp", "//ash/resources", "//ash/resources/vector_icons", "//ash/strings", "//ash/wayland", "//mash/public/interfaces", "//mojo/common:common_base", "//services/ui/common:mus_common", "//services/ui/public/cpp", "//services/ui/public/cpp/input_devices", "//services/ui/public/interfaces", "//services/ui/public/interfaces/display", "//skia", "//ui/aura", "//ui/events", "//ui/gfx", "//ui/gfx/geometry", "//ui/gfx/geometry/mojo", "//ui/resources", "//ui/strings", "//ui/views", "//ui/views/mus:for_mojo_application", "//ui/wm", ] deps = [ "//ash/autoclick/common:autoclick", "//ash/touch_hud", "//base", "//base:i18n", "//base/third_party/dynamic_annotations", "//cc", "//cc/debug", "//cc/paint:paint", "//chromeos", "//chromeos:power_manager_proto", "//components/device_event_log", "//components/exo", "//components/exo/wayland", "//components/onc", "//components/pref_registry", "//components/prefs", "//components/quirks", "//components/session_manager:base", "//components/signin/core/account_id", "//components/strings", "//components/user_manager", "//components/vector_icons", "//components/viz/host", "//components/viz/service", "//components/wallpaper", "//device/bluetooth", "//gpu/command_buffer/client", "//gpu/command_buffer/client:gles2_interface", "//media", "//net", "//services/data_decoder/public/cpp", "//services/preferences/public/cpp", "//services/service_manager/public/cpp", "//services/ui/public/interfaces/input_devices", # TODO(msw): Remove this; only ash_with_content should depend on webkit. "//third_party/WebKit/public:blink_headers", "//third_party/icu", "//third_party/qcms", "//third_party/re2", "//ui/accessibility", "//ui/app_list/presenter", "//ui/base", "//ui/base:ui_data_pack", "//ui/base/ime", "//ui/chromeos", "//ui/chromeos/events", "//ui/chromeos/resources", "//ui/chromeos/strings", "//ui/compositor", "//ui/display", "//ui/display/manager", "//ui/display/types", "//ui/display/util", "//ui/events:dom_keycode_converter", "//ui/events:events_base", "//ui/events:gesture_detection", "//ui/events/devices", "//ui/events/devices/mojo", "//ui/events/ozone:events_ozone", "//ui/keyboard", "//ui/keyboard:mojom", "//ui/message_center", "//ui/message_center/public/cpp", "//ui/native_theme", "//ui/ozone", "//ui/platform_window", "//ui/platform_window/stub", "//ui/wm/public", "//url", ] data_deps = [ "//ash/touch_hud/mus:touch_hud", ] # TODO(jamescook): Move to ash_unittests? data = [ "display/test_data/", ] # Usage of content should be in ash_content_unittests. assert_no_deps = [ "//content/public/browser", "//content/public/common", ] allow_circular_includes_from = [ "//components/exo", "//components/exo/wayland", ] } component("ash_with_content") { sources = [ "content/ash_with_content_export.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", "//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/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/shell_views_delegate.cc", "shell/shell_views_delegate.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", ":test_support_without_content", "//ash/public/cpp", "//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", ":test_support_without_content", "//ash/public/cpp", "//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_unittests.cc", ] configs += [ "//build/config:precompiled_headers", "//build/config/compiler:no_size_t_to_int_warning", ] deps = [ ":ash", ":ash_with_content", ":test_support_with_content", "//ash/public/cpp", "//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/message_center/public/cpp", "//ui/views", "//ui/views:test_support", "//ui/views/controls/webview:test_support", "//ui/web_dialogs:test_support", "//ui/wm/public", ] data_deps = [ "//ash/resources:ash_test_resources_with_content_100_percent", ] } test("ash_unittests") { sources = [ "accelerators/accelerator_commands_unittest.cc", "accelerators/accelerator_controller_unittest.cc", "accelerators/accelerator_filter_unittest.cc", "accelerators/accelerator_table_unittest.cc", "accelerators/magnifier_key_scroller_unittest.cc", "accelerators/spoken_feedback_toggler_unittest.cc", "accessibility/accessibility_controller_unittest.cc", "accessibility/accessibility_focus_ring_controller_unittest.cc", "app_list/app_list_presenter_delegate_unittest.cc", "ash_touch_exploration_manager_chromeos_unittest.cc", "autoclick/autoclick_unittest.cc", "dip_unittest.cc", "display/cursor_window_controller_unittest.cc", "display/display_color_manager_chromeos_unittest.cc", "display/display_configuration_controller_unittest.cc", "display/display_error_observer_chromeos_unittest.cc", "display/display_manager_unittest.cc", "display/display_move_window_util_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/touch_calibrator_controller_unittest.cc", "display/unified_mouse_warp_controller_unittest.cc", "display/window_tree_host_manager_unittest.cc", "drag_drop/drag_drop_controller_unittest.cc", "drag_drop/drag_drop_tracker_unittest.cc", "drag_drop/drag_image_view_unittest.cc", "extended_desktop_unittest.cc", "fast_ink/fast_ink_points_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_frame_header_unittest.cc", "highlighter/highlighter_controller_unittest.cc", "highlighter/highlighter_gesture_util_unittest.cc", "ime/ime_controller_unittest.cc", "laser/laser_pointer_controller_unittest.cc", "laser/laser_segment_utils_unittest.cc", "lock_screen_action/lock_screen_action_background_controller_impl_unittest.cc", "lock_screen_action/lock_screen_note_display_state_handler_unittest.cc", "lock_screen_action/lock_screen_note_launcher_unittest.cc", "login/login_screen_controller_unittest.cc", "login/mock_login_screen_client.cc", "login/mock_login_screen_client.h", "login/ui/lock_contents_view_unittest.cc", "login/ui/lock_screen_sanity_unittest.cc", "login/ui/login_auth_user_view_unittest.cc", "login/ui/login_bubble_unittest.cc", "login/ui/login_password_view_test.cc", "login/ui/login_pin_view_unittest.cc", "login/ui/login_test_base.cc", "login/ui/login_test_base.h", "login/ui/login_test_utils.cc", "login/ui/login_test_utils.h", "login/ui/login_user_view_unittest.cc", "login/ui/note_action_launch_button_unittest.cc", "magnifier/magnification_controller_unittest.cc", "magnifier/partial_magnification_controller_unittest.cc", "message_center/message_center_view_unittest.cc", "message_center/message_list_view_unittest.cc", "message_center/notifier_settings_view_unittest.cc", "metrics/desktop_task_switch_metric_recorder_unittest.cc", "metrics/login_metrics_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_property_mirror_ash_unittest.cc", "pointer_watcher_adapter_classic_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/login_shelf_view_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_context_menu_model_unittest.cc", "shelf/shelf_controller_unittest.cc", "shelf/shelf_layout_manager_unittest.cc", "shelf/shelf_locking_manager_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/bluetooth_power_controller_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/keyboard_brightness/tray_keyboard_brightness_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/time_of_day_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/palette_tray_unittest.cc", "system/palette/palette_welcome_bubble_unittest.cc", "system/palette/tools/create_note_unittest.cc", "system/palette/tools/metalayer_unittest.cc", "system/palette/tools/screenshot_unittest.cc", "system/power/backlights_forced_off_setter_unittest.cc", "system/power/peripheral_battery_notifier_unittest.cc", "system/power/power_button_screenshot_controller_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/rotation/tray_rotation_lock_unittest.cc", "system/screen_layout_observer_unittest.cc", "system/screen_security/screen_tray_item_unittest.cc", "system/session/logout_button_tray_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/tray_event_filter_unittest.cc", "system/tray/tray_info_label_unittest.cc", "system/tray/tri_view_unittest.cc", "system/tray_accessibility_unittest.cc", "system/tray_caps_lock_unittest.cc", "system/tray_tracing_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/inactive_user_notification_blocker_unittest.cc", "system/web_notification/login_state_notification_blocker_unittest.cc", "system/web_notification/web_notification_tray_unittest.cc", "test/ash_test_helper_unittest.cc", "test/ash_unittests.cc", "tooltips/tooltip_controller_unittest.cc", "touch/touch_devices_controller_unittest.cc", "touch/touch_observer_hud_unittest.cc", "tray_action/test_tray_action_client.cc", "tray_action/test_tray_action_client.h", "tray_action/tray_action_unittest.cc", "utility/screenshot_controller_unittest.cc", "virtual_keyboard_controller_unittest.cc", "voice_interaction/voice_interaction_controller_unittest.cc", "wallpaper/wallpaper_controller_unittest.cc", "window_manager_common_unittests.cc", "window_user_data_unittest.cc", "wm/always_on_top_controller_unittest.cc", "wm/ash_focus_rules_unittest.cc", "wm/client_controlled_state_unittest.cc", "wm/container_finder_unittest.cc", "wm/drag_window_resizer_unittest.cc", "wm/gestures/overview_gesture_handler_unittest.cc", "wm/immersive_fullscreen_controller_unittest.cc", "wm/lock_action_handler_layout_manager_unittest.cc", "wm/lock_layout_manager_unittest.cc", "wm/lock_state_controller_unittest.cc", "wm/mru_window_tracker_unittest.cc", "wm/native_cursor_manager_ash_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/resize_shadow_and_cursor_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/splitview/split_view_controller_unittest.cc", "wm/stacking_controller_unittest.cc", "wm/system_gesture_event_filter_unittest.cc", "wm/system_modal_container_layout_manager_unittest.cc", "wm/tablet_mode/accelerometer_test_data_literals.cc", "wm/tablet_mode/tablet_mode_controller_unittest.cc", "wm/tablet_mode/tablet_mode_window_manager_unittest.cc", "wm/tablet_mode/touchpad_and_keyboard_disabler_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/multi_window_resize_controller_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", ] configs += [ "//build/config:precompiled_headers", "//build/config/compiler:no_size_t_to_int_warning", ] deps = [ ":ash", ":test_support_without_content", "//ash/autoclick/common:autoclick", "//ash/public/cpp", "//ash/public/cpp:unit_tests", "//ash/resources", "//ash/resources/vector_icons", "//ash/strings", "//ash/touch_hud", "//base", "//base/test:test_support", "//chromeos", "//chromeos:power_manager_proto", "//chromeos:test_support", "//chromeos:test_support_without_gmock", "//components/prefs:test_support", "//components/quirks", "//components/signin/core/account_id", "//components/user_manager", "//components/user_manager:test_support", "//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/chromeos/events", "//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:test_support", "//ui/gfx/geometry", "//ui/gl:test_support", "//ui/keyboard", "//ui/keyboard:test_support", "//ui/message_center", "//ui/message_center:test_support", "//ui/message_center/public/cpp", "//ui/resources", "//ui/strings", "//ui/views", "//ui/views:test_support", "//ui/wm", "//ui/wm:test_support", "//ui/wm/public", "//url", ] data_deps = [ "//ash/resources:ash_test_resources_100_percent", "//testing/buildbot/filters:ash_unittests_filters", ] # Usage of content should be in ash_with_content. assert_no_deps = [ "//content/public/browser", "//content/public/common", ] } test("ash_perftests") { sources = [ "perftests/ash_background_filter_blur_perftest.cc", "test/ash_perftests.cc", ] deps = [ ":test_support_without_content", "//ash/public/cpp", "//base/test:test_support", "//cc/base", "//mojo/edk/embedder:headers", "//testing/gtest", "//testing/perf", "//ui/aura", "//ui/base", "//ui/compositor:test_support", "//ui/gl:test_support", ] } 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/resources:ash_test_resources_with_content_100_percent", ] } static_library("test_support_without_content") { testonly = true sources = [ "test/ash_test_environment_default.cc", ] public_deps = [ ":test_support_common", ] deps = [ "//base", "//base/test:test_support", "//skia", ] } static_library("test_support_with_content") { testonly = true sources = [ "test/ash_test_environment_content.cc", "test/ash_test_environment_content.h", "test/content/test_shell_content_state.cc", "test/content/test_shell_content_state.h", ] configs += [ "//build/config:precompiled_headers" ] public_deps = [ ":test_support_common", "//ash:ash_with_content", "//content/public/browser", "//content/test:test_support", "//skia", ] } # Internal target consumed by |test_support_with_content| and # |test_support_without_content|. This target contains all the test support # files, with the exception of an implementation of AshTestEnvironment. # Consumers of ash should use one of |test_support_with_content| or # |test_support_without_content|. static_library("test_support_common") { testonly = true visibility = [ ":*" ] sources = [ "accessibility/test_accessibility_controller_client.cc", "accessibility/test_accessibility_controller_client.h", "accessibility/test_accessibility_delegate.cc", "accessibility/test_accessibility_delegate.h", "app_list/test_app_list_presenter_impl.cc", "app_list/test_app_list_presenter_impl.h", "display/display_configuration_controller_test_api.cc", "display/display_configuration_controller_test_api.h", "display/mirror_window_test_api.cc", "display/mirror_window_test_api.h", "display/screen_orientation_controller_test_api.cc", "display/screen_orientation_controller_test_api.h", "highlighter/highlighter_controller_test_api.cc", "highlighter/highlighter_controller_test_api.h", "ime/test_ime_controller.cc", "ime/test_ime_controller.h", "keyboard/test_keyboard_ui.cc", "keyboard/test_keyboard_ui.h", "laser/laser_pointer_controller_test_api.cc", "laser/laser_pointer_controller_test_api.h", "lock_screen_action/lock_screen_action_background_controller_impl_test_api.h", "lock_screen_action/lock_screen_action_background_view_test_api.h", "lock_screen_action/test_lock_screen_action_background_controller.cc", "lock_screen_action/test_lock_screen_action_background_controller.h", "metrics/task_switch_time_tracker_test_api.cc", "metrics/task_switch_time_tracker_test_api.h", "metrics/user_metrics_recorder_test_api.cc", "metrics/user_metrics_recorder_test_api.h", "mojo_test_interface_factory.cc", "mojo_test_interface_factory.h", # TODO(jamescook): Consider adding a //ash/public/cpp:test_support target. "public/cpp/immersive/immersive_fullscreen_controller_test_api.cc", "public/cpp/immersive/immersive_fullscreen_controller_test_api.h", "rotator/screen_rotation_animator_test_api.cc", "rotator/screen_rotation_animator_test_api.h", "session/test_session_controller_client.cc", "session/test_session_controller_client.h", "shelf/overflow_bubble_view_test_api.cc", "shelf/overflow_bubble_view_test_api.h", "shelf/overflow_button_test_api.cc", "shelf/overflow_button_test_api.h", "shelf/shelf_button_pressed_metric_tracker_test_api.cc", "shelf/shelf_button_pressed_metric_tracker_test_api.h", "shelf/shelf_test_api.cc", "shelf/shelf_test_api.h", "shelf/shelf_view_test_api.cc", "shelf/shelf_view_test_api.h", "shell/toplevel_window.cc", "shell/toplevel_window.h", "shell_test_api.cc", "shell_test_api.h", "system/cast/tray_cast_test_api.cc", "system/cast/tray_cast_test_api.h", "system/palette/palette_tray_test_api.cc", "system/palette/palette_tray_test_api.h", "system/power/power_button_screenshot_controller_test_api.cc", "system/power/power_button_screenshot_controller_test_api.h", "system/power/power_button_test_base.cc", "system/power/power_button_test_base.h", "system/power/tablet_power_button_controller_test_api.cc", "system/power/tablet_power_button_controller_test_api.h", "system/status_area_widget_test_helper.cc", "system/status_area_widget_test_helper.h", "system/tray/system_tray_test_api.cc", "system/tray/system_tray_test_api.h", "system/tray/test_system_tray_item.cc", "system/tray/test_system_tray_item.h", "test/ash_test_base.cc", "test/ash_test_base.h", "test/ash_test_environment.h", "test/ash_test_helper.cc", "test/ash_test_helper.h", "test/ash_test_suite.cc", "test/ash_test_suite.h", "test/ash_test_views_delegate.cc", "test/ash_test_views_delegate.h", # TODO(jamescook): Rename to TestChildModalWindow and move to //ash/wm "test/child_modal_window.cc", "test/child_modal_window.h", "test/ui_controls_factory_ash.cc", "test/ui_controls_factory_ash.h", "test_media_client.cc", "test_media_client.h", "test_screenshot_delegate.cc", "test_screenshot_delegate.h", "test_shell_delegate.cc", "test_shell_delegate.h", "wallpaper/test_wallpaper_delegate.cc", "wallpaper/test_wallpaper_delegate.h", "wallpaper/wallpaper_controller_test_api.cc", "wallpaper/wallpaper_controller_test_api.h", "wm/cursor_manager_test_api.cc", "wm/cursor_manager_test_api.h", "wm/lock_state_controller_test_api.cc", "wm/lock_state_controller_test_api.h", "wm/test_activation_delegate.cc", "wm/test_activation_delegate.h", "wm/test_overlay_delegate.cc", "wm/test_overlay_delegate.h", "wm/test_session_state_animator.cc", "wm/test_session_state_animator.h", "wm/workspace/workspace_event_handler_test_helper.cc", "wm/workspace/workspace_event_handler_test_helper.h", "wm/workspace_controller_test_api.cc", "wm/workspace_controller_test_api.h", ] configs += [ "//build/config:precompiled_headers" ] public_deps = [ "//ash", "//testing/gtest", "//third_party/WebKit/public:blink_headers", "//ui/display:display_manager_test_api", ] deps = [ "//ash", "//ash/public/cpp", "//ash/public/interfaces:test_interfaces", "//ash/resources", "//base", "//base:i18n", "//base/test:test_support", "//cc:test_support", "//chromeos", "//chromeos:test_support_without_gmock", "//components/prefs:test_support", "//components/signin/core/account_id", "//components/user_manager:user_manager", "//components/viz/test:test_support", "//device/bluetooth", "//services/ui/public/cpp", "//services/ui/public/cpp/input_devices", "//services/ui/public/interfaces", "//skia", "//testing/gtest", "//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:test_support", "//ui/compositor:test_support", "//ui/display", "//ui/display/types", "//ui/events:events_base", "//ui/events:test_support", "//ui/events/devices", "//ui/gl", "//ui/gl:test_support", "//ui/keyboard", "//ui/message_center", "//ui/message_center/public/cpp", "//ui/views", "//ui/views:test_support", "//ui/wm", "//ui/wm/public", ] data_deps = [ "//ash/strings:ash_test_strings", "//ash/resources:ash_test_resources_100_percent", "//ash/resources:ash_test_resources_200_percent", ] } static_library("interactive_ui_test_support") { testonly = true configs += [ "//build/config:precompiled_headers" ] public_deps = [ ":test_support_without_content", "//ash", ] sources = [ "test/ash_interactive_ui_test_base.cc", "test/ash_interactive_ui_test_base.h", ] deps = [ ":test_support_with_content", "//base", "//skia", "//testing/gtest", "//ui/aura", "//ui/base", "//ui/gl:test_support", ] } service("ash_service") { output_name = "ash" sources = [ "main.cc", ] deps = [ ":ash", ":ash_service_resources", ":ash_service_resources_200", "//services/service_manager/public/cpp", ] # TODO(beng): This target relies on //mash/session, but there is a cycle so we # can't state that dependency here. data_deps = [ ":ash_service_resources", ":ash_service_resources_200", "//services/ui", ] } service_manifest("manifest") { name = "ash" source = "manifest.json" } # TODO: Load locale-specific strings. # TODO: Avoid duplication between Mash and Chrome pak files: crbug.com/628715. repack("ash_service_resources") { output = "$root_out_dir/ash_service_resources.pak" sources = [ "$root_gen_dir/ash/resources/ash_resources_100_percent.pak", "$root_gen_dir/ash/strings/ash_strings_en-US.pak", "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_100_percent.pak", "$root_gen_dir/ui/chromeos/strings/ui_chromeos_strings_en-US.pak", "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", "$root_gen_dir/ui/strings/ui_strings_en-US.pak", "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak", ] deps = [ "//ash/resources", "//ash/strings", "//ui/chromeos/resources", "//ui/chromeos/strings", "//ui/resources", "//ui/strings", "//ui/views/mus:resources", "//ui/views/resources", ] } repack("ash_service_resources_200") { output = "$root_out_dir/ash_service_resources_200.pak" sources = [ "$root_gen_dir/ash/resources/ash_resources_200_percent.pak", "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_200_percent.pak", "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", "$root_gen_dir/ui/views/resources/views_resources_200_percent.pak", ] deps = [ "//ash/resources", "//ui/chromeos/resources", "//ui/resources", "//ui/views/resources", ] } source_set("mash_unittests") { testonly = true sources = [ "app_launch_unittest.cc", "display/display_synchronizer_unittest.cc", "window_manager_unittest.cc", "wm/non_client_frame_controller_unittest.cc", "wm/top_level_window_factory_unittest.cc", ] deps = [ ":ash_service_resources", "//ash", "//ash:test_support_without_content", "//ash/public/cpp", "//base", "//base/test:test_config", "//base/test:test_support", "//mash/quick_launch/public/interfaces:constants", "//mojo/public/cpp/system", "//services/service_manager/public/cpp:service_test_support", "//services/ui/common:mus_common", "//services/ui/public/cpp", "//services/ui/public/cpp/input_devices", "//services/ui/public/interfaces", "//skia", "//testing/gtest", "//ui/aura", "//ui/aura:test_support", "//ui/base", "//ui/base:test_support", "//ui/compositor:test_support", "//ui/display", "//ui/events", "//ui/events:test_support", "//ui/gfx:test_support", "//ui/gfx/geometry", "//ui/gfx/geometry/mojo", "//ui/message_center", "//ui/views:test_support", "//ui/views/mus", ] data_deps = [ ":ash_service", "//mash/quick_launch", "//services/ui/ime/test_ime_driver", ] }