summaryrefslogtreecommitdiffstats
path: root/chromium/ash/BUILD.gn
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-04 14:17:57 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-05 10:05:06 +0000
commit39d357e3248f80abea0159765ff39554affb40db (patch)
treeaba0e6bfb76de0244bba0f5fdbd64b830dd6e621 /chromium/ash/BUILD.gn
parent87778abf5a1f89266f37d1321b92a21851d8244d (diff)
BASELINE: Update Chromium to 55.0.2883.105
And updates ninja to 1.7.2 Change-Id: I20d43c737f82764d857ada9a55586901b18b9243 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/ash/BUILD.gn')
-rw-r--r--chromium/ash/BUILD.gn1351
1 files changed, 1278 insertions, 73 deletions
diff --git a/chromium/ash/BUILD.gn b/chromium/ash/BUILD.gn
index 06507f24c5c..92e6f2f6e9d 100644
--- a/chromium/ash/BUILD.gn
+++ b/chromium/ash/BUILD.gn
@@ -10,22 +10,828 @@ import("//ui/base/ui_features.gni")
assert(use_aura)
assert(enable_hidpi)
-gypi_values = exec_script("//build/gypi_to_gn.py",
- [ rebase_path("ash.gyp") ],
- "scope",
- [ "ash.gyp" ])
-
component("ash") {
- sources = gypi_values.ash_sources
+ sources = [
+ "accelerators/accelerator_commands_aura.cc",
+ "accelerators/accelerator_commands_aura.h",
+ "accelerators/accelerator_controller_delegate_aura.cc",
+ "accelerators/accelerator_controller_delegate_aura.h",
+ "accelerators/accelerator_delegate.cc",
+ "accelerators/accelerator_delegate.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",
+ "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_export.h",
+ "ash_touch_exploration_manager_chromeos.cc",
+ "ash_touch_exploration_manager_chromeos.h",
+ "aura/aura_layout_manager_adapter.cc",
+ "aura/aura_layout_manager_adapter.h",
+ "aura/key_event_watcher_aura.cc",
+ "aura/key_event_watcher_aura.h",
+ "aura/pointer_watcher_adapter.cc",
+ "aura/pointer_watcher_adapter.h",
+ "aura/wm_lookup_aura.cc",
+ "aura/wm_lookup_aura.h",
+ "aura/wm_root_window_controller_aura.cc",
+ "aura/wm_root_window_controller_aura.h",
+ "aura/wm_shelf_aura.cc",
+ "aura/wm_shelf_aura.h",
+ "aura/wm_shell_aura.cc",
+ "aura/wm_shell_aura.h",
+ "aura/wm_window_aura.cc",
+ "aura/wm_window_aura.h",
+ "autoclick/autoclick_controller.cc",
+ "autoclick/autoclick_controller.h",
+ "cancel_mode.cc",
+ "cancel_mode.h",
+ "common/accelerators/accelerator_commands.cc",
+ "common/accelerators/accelerator_commands.h",
+ "common/accelerators/accelerator_controller.cc",
+ "common/accelerators/accelerator_controller.h",
+ "common/accelerators/accelerator_controller_delegate.h",
+ "common/accelerators/accelerator_router.cc",
+ "common/accelerators/accelerator_router.h",
+ "common/accelerators/accelerator_table.cc",
+ "common/accelerators/accelerator_table.h",
+ "common/accelerators/ash_focus_manager_factory.cc",
+ "common/accelerators/ash_focus_manager_factory.h",
+ "common/accelerators/debug_commands.cc",
+ "common/accelerators/debug_commands.h",
+ "common/accelerators/exit_warning_handler.cc",
+ "common/accelerators/exit_warning_handler.h",
+ "common/accessibility_delegate.h",
+ "common/accessibility_types.h",
+ "common/ash_constants.cc",
+ "common/ash_constants.h",
+ "common/ash_layout_constants.cc",
+ "common/ash_layout_constants.h",
+ "common/ash_switches.cc",
+ "common/ash_switches.h",
+ "common/cast_config_delegate.cc",
+ "common/cast_config_delegate.h",
+ "common/default_accessibility_delegate.cc",
+ "common/default_accessibility_delegate.h",
+ "common/drag_drop/drag_image_view.cc",
+ "common/drag_drop/drag_image_view.h",
+ "common/focus_cycler.cc",
+ "common/focus_cycler.h",
+ "common/frame/caption_buttons/caption_button_types.h",
+ "common/frame/caption_buttons/frame_caption_button.cc",
+ "common/frame/caption_buttons/frame_caption_button.h",
+ "common/frame/caption_buttons/frame_caption_button_container_view.cc",
+ "common/frame/caption_buttons/frame_caption_button_container_view.h",
+ "common/frame/caption_buttons/frame_size_button.cc",
+ "common/frame/caption_buttons/frame_size_button.h",
+ "common/frame/caption_buttons/frame_size_button_delegate.h",
+ "common/frame/custom_frame_view_ash.cc",
+ "common/frame/custom_frame_view_ash.h",
+ "common/frame/default_header_painter.cc",
+ "common/frame/default_header_painter.h",
+ "common/frame/frame_border_hit_test.cc",
+ "common/frame/frame_border_hit_test.h",
+ "common/frame/header_painter.h",
+ "common/frame/header_painter_util.cc",
+ "common/frame/header_painter_util.h",
+ "common/frame/header_view.cc",
+ "common/frame/header_view.h",
+ "common/gpu_support.h",
+ "common/gpu_support_stub.cc",
+ "common/gpu_support_stub.h",
+ "common/key_event_watcher.cc",
+ "common/key_event_watcher.h",
+ "common/keyboard/keyboard_ui.cc",
+ "common/keyboard/keyboard_ui.h",
+ "common/keyboard/keyboard_ui_observer.h",
+ "common/login_status.h",
+ "common/material_design/material_design_controller.cc",
+ "common/material_design/material_design_controller.h",
+ "common/metrics/gesture_action_type.h",
+ "common/metrics/pointer_metrics_recorder.cc",
+ "common/metrics/pointer_metrics_recorder.h",
+ "common/metrics/user_metrics_action.h",
+ "common/mojo_interface_factory.cc",
+ "common/mojo_interface_factory.h",
+ "common/multi_profile_uma.cc",
+ "common/multi_profile_uma.h",
+ "common/palette_delegate.h",
+ "common/popup_message.cc",
+ "common/popup_message.h",
+ "common/scoped_root_window_for_new_windows.cc",
+ "common/scoped_root_window_for_new_windows.h",
+ "common/session/session_state_delegate.cc",
+ "common/session/session_state_delegate.h",
+ "common/session/session_state_observer.cc",
+ "common/session/session_state_observer.h",
+ "common/session/session_types.h",
+ "common/shelf/app_list_button.cc",
+ "common/shelf/app_list_button.h",
+ "common/shelf/app_list_shelf_item_delegate.cc",
+ "common/shelf/app_list_shelf_item_delegate.h",
+ "common/shelf/ink_drop_button_listener.h",
+ "common/shelf/overflow_bubble.cc",
+ "common/shelf/overflow_bubble.h",
+ "common/shelf/overflow_bubble_view.cc",
+ "common/shelf/overflow_bubble_view.h",
+ "common/shelf/overflow_button.cc",
+ "common/shelf/overflow_button.h",
+ "common/shelf/shelf_alignment_menu.cc",
+ "common/shelf/shelf_alignment_menu.h",
+ "common/shelf/shelf_background_animator.cc",
+ "common/shelf/shelf_background_animator.h",
+ "common/shelf/shelf_background_animator_observer.h",
+ "common/shelf/shelf_button.cc",
+ "common/shelf/shelf_button.h",
+ "common/shelf/shelf_button_pressed_metric_tracker.cc",
+ "common/shelf/shelf_button_pressed_metric_tracker.h",
+ "common/shelf/shelf_constants.cc",
+ "common/shelf/shelf_constants.h",
+ "common/shelf/shelf_delegate.h",
+ "common/shelf/shelf_item_delegate.h",
+ "common/shelf/shelf_item_types.cc",
+ "common/shelf/shelf_item_types.h",
+ "common/shelf/shelf_layout_manager.cc",
+ "common/shelf/shelf_layout_manager.h",
+ "common/shelf/shelf_layout_manager_observer.h",
+ "common/shelf/shelf_locking_manager.cc",
+ "common/shelf/shelf_locking_manager.h",
+ "common/shelf/shelf_menu_model.h",
+ "common/shelf/shelf_model.cc",
+ "common/shelf/shelf_model.h",
+ "common/shelf/shelf_model_observer.h",
+ "common/shelf/shelf_tooltip_manager.cc",
+ "common/shelf/shelf_tooltip_manager.h",
+ "common/shelf/shelf_view.cc",
+ "common/shelf/shelf_view.h",
+ "common/shelf/shelf_widget.cc",
+ "common/shelf/shelf_widget.h",
+ "common/shelf/shelf_window_watcher.cc",
+ "common/shelf/shelf_window_watcher.h",
+ "common/shelf/shelf_window_watcher_item_delegate.cc",
+ "common/shelf/shelf_window_watcher_item_delegate.h",
+ "common/shelf/wm_shelf.cc",
+ "common/shelf/wm_shelf.h",
+ "common/shelf/wm_shelf_observer.h",
+ "common/shelf/wm_shelf_util.cc",
+ "common/shelf/wm_shelf_util.h",
+ "common/shell_delegate.h",
+ "common/shell_window_ids.cc",
+ "common/shell_window_ids.h",
+ "common/system/accessibility_observer.h",
+ "common/system/audio/audio_observer.h",
+ "common/system/audio/tray_audio.cc",
+ "common/system/audio/tray_audio.h",
+ "common/system/audio/tray_audio_delegate.h",
+ "common/system/audio/volume_view.cc",
+ "common/system/audio/volume_view.h",
+ "common/system/brightness_control_delegate.h",
+ "common/system/cast/tray_cast.cc",
+ "common/system/cast/tray_cast.h",
+ "common/system/chromeos/audio/audio_detailed_view.cc",
+ "common/system/chromeos/audio/audio_detailed_view.h",
+ "common/system/chromeos/audio/tray_audio_chromeos.cc",
+ "common/system/chromeos/audio/tray_audio_chromeos.h",
+ "common/system/chromeos/audio/tray_audio_delegate_chromeos.cc",
+ "common/system/chromeos/audio/tray_audio_delegate_chromeos.h",
+ "common/system/chromeos/bluetooth/bluetooth_notification_controller.cc",
+ "common/system/chromeos/bluetooth/bluetooth_notification_controller.h",
+ "common/system/chromeos/bluetooth/bluetooth_observer.h",
+ "common/system/chromeos/bluetooth/tray_bluetooth.cc",
+ "common/system/chromeos/bluetooth/tray_bluetooth.h",
+ "common/system/chromeos/brightness/brightness_controller_chromeos.cc",
+ "common/system/chromeos/brightness/brightness_controller_chromeos.h",
+ "common/system/chromeos/brightness/tray_brightness.cc",
+ "common/system/chromeos/brightness/tray_brightness.h",
+ "common/system/chromeos/devicetype_utils.cc",
+ "common/system/chromeos/devicetype_utils.h",
+ "common/system/chromeos/enterprise/enterprise_domain_observer.h",
+ "common/system/chromeos/enterprise/tray_enterprise.cc",
+ "common/system/chromeos/enterprise/tray_enterprise.h",
+ "common/system/chromeos/ime_menu/ime_list_view.cc",
+ "common/system/chromeos/ime_menu/ime_list_view.h",
+ "common/system/chromeos/ime_menu/ime_menu_tray.cc",
+ "common/system/chromeos/ime_menu/ime_menu_tray.h",
+ "common/system/chromeos/keyboard_brightness_controller.cc",
+ "common/system/chromeos/keyboard_brightness_controller.h",
+ "common/system/chromeos/media_security/media_capture_observer.h",
+ "common/system/chromeos/media_security/multi_profile_media_tray_item.cc",
+ "common/system/chromeos/media_security/multi_profile_media_tray_item.h",
+ "common/system/chromeos/network/network_detailed_view.h",
+ "common/system/chromeos/network/network_observer.h",
+ "common/system/chromeos/network/network_portal_detector_observer.h",
+ "common/system/chromeos/network/network_state_list_detailed_view.cc",
+ "common/system/chromeos/network/network_state_list_detailed_view.h",
+ "common/system/chromeos/network/tray_network.cc",
+ "common/system/chromeos/network/tray_network.h",
+ "common/system/chromeos/network/tray_network_state_observer.cc",
+ "common/system/chromeos/network/tray_network_state_observer.h",
+ "common/system/chromeos/network/tray_sms.cc",
+ "common/system/chromeos/network/tray_sms.h",
+ "common/system/chromeos/network/tray_vpn.cc",
+ "common/system/chromeos/network/tray_vpn.h",
+ "common/system/chromeos/network/vpn_delegate.cc",
+ "common/system/chromeos/network/vpn_delegate.h",
+ "common/system/chromeos/network/vpn_list_view.cc",
+ "common/system/chromeos/network/vpn_list_view.h",
+ "common/system/chromeos/palette/common_palette_tool.cc",
+ "common/system/chromeos/palette/common_palette_tool.h",
+ "common/system/chromeos/palette/palette_ids.cc",
+ "common/system/chromeos/palette/palette_ids.h",
+ "common/system/chromeos/palette/palette_tool.cc",
+ "common/system/chromeos/palette/palette_tool.h",
+ "common/system/chromeos/palette/palette_tool_manager.cc",
+ "common/system/chromeos/palette/palette_tool_manager.h",
+ "common/system/chromeos/palette/palette_tray.cc",
+ "common/system/chromeos/palette/palette_tray.h",
+ "common/system/chromeos/palette/palette_utils.cc",
+ "common/system/chromeos/palette/palette_utils.h",
+ "common/system/chromeos/palette/tools/capture_region_mode.cc",
+ "common/system/chromeos/palette/tools/capture_region_mode.h",
+ "common/system/chromeos/palette/tools/capture_screen_action.cc",
+ "common/system/chromeos/palette/tools/capture_screen_action.h",
+ "common/system/chromeos/palette/tools/create_note_action.cc",
+ "common/system/chromeos/palette/tools/create_note_action.h",
+ "common/system/chromeos/palette/tools/laser_pointer_mode.cc",
+ "common/system/chromeos/palette/tools/laser_pointer_mode.h",
+ "common/system/chromeos/palette/tools/magnifier_mode.cc",
+ "common/system/chromeos/palette/tools/magnifier_mode.h",
+ "common/system/chromeos/power/battery_notification.cc",
+ "common/system/chromeos/power/battery_notification.h",
+ "common/system/chromeos/power/dual_role_notification.cc",
+ "common/system/chromeos/power/dual_role_notification.h",
+ "common/system/chromeos/power/power_status.cc",
+ "common/system/chromeos/power/power_status.h",
+ "common/system/chromeos/power/power_status_view.cc",
+ "common/system/chromeos/power/power_status_view.h",
+ "common/system/chromeos/power/tray_power.cc",
+ "common/system/chromeos/power/tray_power.h",
+ "common/system/chromeos/screen_security/screen_capture_observer.h",
+ "common/system/chromeos/screen_security/screen_capture_tray_item.cc",
+ "common/system/chromeos/screen_security/screen_capture_tray_item.h",
+ "common/system/chromeos/screen_security/screen_share_observer.h",
+ "common/system/chromeos/screen_security/screen_share_tray_item.cc",
+ "common/system/chromeos/screen_security/screen_share_tray_item.h",
+ "common/system/chromeos/screen_security/screen_tray_item.cc",
+ "common/system/chromeos/screen_security/screen_tray_item.h",
+ "common/system/chromeos/session/last_window_closed_observer.h",
+ "common/system/chromeos/session/logout_button_observer.h",
+ "common/system/chromeos/session/logout_button_tray.cc",
+ "common/system/chromeos/session/logout_button_tray.h",
+ "common/system/chromeos/session/logout_confirmation_controller.cc",
+ "common/system/chromeos/session/logout_confirmation_controller.h",
+ "common/system/chromeos/session/logout_confirmation_dialog.cc",
+ "common/system/chromeos/session/logout_confirmation_dialog.h",
+ "common/system/chromeos/session/session_length_limit_observer.h",
+ "common/system/chromeos/session/tray_session_length_limit.cc",
+ "common/system/chromeos/session/tray_session_length_limit.h",
+ "common/system/chromeos/settings/tray_settings.cc",
+ "common/system/chromeos/settings/tray_settings.h",
+ "common/system/chromeos/shutdown_policy_observer.h",
+ "common/system/chromeos/supervised/custodian_info_tray_observer.h",
+ "common/system/chromeos/supervised/tray_supervised_user.cc",
+ "common/system/chromeos/supervised/tray_supervised_user.h",
+ "common/system/chromeos/system_clock_observer.cc",
+ "common/system/chromeos/system_clock_observer.h",
+ "common/system/chromeos/tray_caps_lock.cc",
+ "common/system/chromeos/tray_caps_lock.h",
+ "common/system/chromeos/tray_tracing.cc",
+ "common/system/chromeos/tray_tracing.h",
+ "common/system/chromeos/virtual_keyboard/virtual_keyboard_observer.h",
+ "common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc",
+ "common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h",
+ "common/system/date/clock_observer.h",
+ "common/system/date/date_default_view.cc",
+ "common/system/date/date_default_view.h",
+ "common/system/date/date_view.cc",
+ "common/system/date/date_view.h",
+ "common/system/date/tray_date.cc",
+ "common/system/date/tray_date.h",
+ "common/system/ime/ime_observer.h",
+ "common/system/ime/tray_ime_chromeos.cc",
+ "common/system/ime/tray_ime_chromeos.h",
+ "common/system/keyboard_brightness_control_delegate.h",
+ "common/system/locale/locale_notification_controller.cc",
+ "common/system/locale/locale_notification_controller.h",
+ "common/system/locale/locale_observer.h",
+ "common/system/networking_config_delegate.cc",
+ "common/system/networking_config_delegate.h",
+ "common/system/overview/overview_button_tray.cc",
+ "common/system/overview/overview_button_tray.h",
+ "common/system/status_area_layout_manager.cc",
+ "common/system/status_area_layout_manager.h",
+ "common/system/status_area_widget.cc",
+ "common/system/status_area_widget.h",
+ "common/system/status_area_widget_delegate.cc",
+ "common/system/status_area_widget_delegate.h",
+ "common/system/system_notifier.cc",
+ "common/system/system_notifier.h",
+ "common/system/tiles/tiles_default_view.cc",
+ "common/system/tiles/tiles_default_view.h",
+ "common/system/tiles/tray_tiles.cc",
+ "common/system/tiles/tray_tiles.h",
+ "common/system/toast/toast_data.cc",
+ "common/system/toast/toast_data.h",
+ "common/system/toast/toast_manager.cc",
+ "common/system/toast/toast_manager.h",
+ "common/system/toast/toast_overlay.cc",
+ "common/system/toast/toast_overlay.h",
+ "common/system/tray/actionable_view.cc",
+ "common/system/tray/actionable_view.h",
+ "common/system/tray/default_system_tray_delegate.cc",
+ "common/system/tray/default_system_tray_delegate.h",
+ "common/system/tray/fixed_sized_image_view.cc",
+ "common/system/tray/fixed_sized_image_view.h",
+ "common/system/tray/fixed_sized_scroll_view.cc",
+ "common/system/tray/fixed_sized_scroll_view.h",
+ "common/system/tray/hover_highlight_view.cc",
+ "common/system/tray/hover_highlight_view.h",
+ "common/system/tray/ime_info.cc",
+ "common/system/tray/ime_info.h",
+ "common/system/tray/label_tray_view.cc",
+ "common/system/tray/label_tray_view.h",
+ "common/system/tray/special_popup_row.cc",
+ "common/system/tray/special_popup_row.h",
+ "common/system/tray/system_menu_button.cc",
+ "common/system/tray/system_menu_button.h",
+ "common/system/tray/system_tray.cc",
+ "common/system/tray/system_tray.h",
+ "common/system/tray/system_tray_bubble.cc",
+ "common/system/tray/system_tray_bubble.h",
+ "common/system/tray/system_tray_controller.cc",
+ "common/system/tray/system_tray_controller.h",
+ "common/system/tray/system_tray_delegate.cc",
+ "common/system/tray/system_tray_delegate.h",
+ "common/system/tray/system_tray_item.cc",
+ "common/system/tray/system_tray_item.h",
+ "common/system/tray/system_tray_notifier.cc",
+ "common/system/tray/system_tray_notifier.h",
+ "common/system/tray/throbber_view.cc",
+ "common/system/tray/throbber_view.h",
+ "common/system/tray/tray_background_view.cc",
+ "common/system/tray/tray_background_view.h",
+ "common/system/tray/tray_bubble_wrapper.cc",
+ "common/system/tray/tray_bubble_wrapper.h",
+ "common/system/tray/tray_constants.cc",
+ "common/system/tray/tray_constants.h",
+ "common/system/tray/tray_details_view.cc",
+ "common/system/tray/tray_details_view.h",
+ "common/system/tray/tray_event_filter.cc",
+ "common/system/tray/tray_event_filter.h",
+ "common/system/tray/tray_image_item.cc",
+ "common/system/tray/tray_image_item.h",
+ "common/system/tray/tray_item_more.cc",
+ "common/system/tray/tray_item_more.h",
+ "common/system/tray/tray_item_view.cc",
+ "common/system/tray/tray_item_view.h",
+ "common/system/tray/tray_notification_view.cc",
+ "common/system/tray/tray_notification_view.h",
+ "common/system/tray/tray_popup_header_button.cc",
+ "common/system/tray/tray_popup_header_button.h",
+ "common/system/tray/tray_popup_item_container.cc",
+ "common/system/tray/tray_popup_item_container.h",
+ "common/system/tray/tray_popup_item_style.cc",
+ "common/system/tray/tray_popup_item_style.h",
+ "common/system/tray/tray_popup_label_button.cc",
+ "common/system/tray/tray_popup_label_button.h",
+ "common/system/tray/tray_popup_label_button_border.cc",
+ "common/system/tray/tray_popup_label_button_border.h",
+ "common/system/tray/tray_utils.cc",
+ "common/system/tray/tray_utils.h",
+ "common/system/tray/view_click_listener.h",
+ "common/system/tray_accessibility.cc",
+ "common/system/tray_accessibility.h",
+ "common/system/update/tray_update.cc",
+ "common/system/update/tray_update.h",
+ "common/system/update/update_observer.h",
+ "common/system/user/button_from_view.cc",
+ "common/system/user/button_from_view.h",
+ "common/system/user/login_status.cc",
+ "common/system/user/login_status.h",
+ "common/system/user/rounded_image_view.cc",
+ "common/system/user/rounded_image_view.h",
+ "common/system/user/tray_user.cc",
+ "common/system/user/tray_user.h",
+ "common/system/user/tray_user_separator.cc",
+ "common/system/user/tray_user_separator.h",
+ "common/system/user/user_card_view.cc",
+ "common/system/user/user_card_view.h",
+ "common/system/user/user_observer.h",
+ "common/system/user/user_view.cc",
+ "common/system/user/user_view.h",
+ "common/system/volume_control_delegate.h",
+ "common/system/web_notification/ash_popup_alignment_delegate.cc",
+ "common/system/web_notification/ash_popup_alignment_delegate.h",
+ "common/system/web_notification/web_notification_tray.cc",
+ "common/system/web_notification/web_notification_tray.h",
+ "common/wallpaper/wallpaper_controller.cc",
+ "common/wallpaper/wallpaper_controller.h",
+ "common/wallpaper/wallpaper_controller_observer.h",
+ "common/wallpaper/wallpaper_delegate.h",
+ "common/wallpaper/wallpaper_view.cc",
+ "common/wallpaper/wallpaper_view.h",
+ "common/wallpaper/wallpaper_widget_controller.cc",
+ "common/wallpaper/wallpaper_widget_controller.h",
+ "common/wm/always_on_top_controller.cc",
+ "common/wm/always_on_top_controller.h",
+ "common/wm/background_animator.cc",
+ "common/wm/background_animator.h",
+ "common/wm/container_finder.cc",
+ "common/wm/container_finder.h",
+ "common/wm/default_state.cc",
+ "common/wm/default_state.h",
+ "common/wm/default_window_resizer.cc",
+ "common/wm/default_window_resizer.h",
+ "common/wm/dock/docked_window_layout_manager.cc",
+ "common/wm/dock/docked_window_layout_manager.h",
+ "common/wm/dock/docked_window_layout_manager_observer.h",
+ "common/wm/dock/docked_window_resizer.cc",
+ "common/wm/dock/docked_window_resizer.h",
+ "common/wm/drag_details.cc",
+ "common/wm/drag_details.h",
+ "common/wm/focus_rules.cc",
+ "common/wm/focus_rules.h",
+ "common/wm/fullscreen_window_finder.cc",
+ "common/wm/fullscreen_window_finder.h",
+ "common/wm/immersive_context_ash.cc",
+ "common/wm/immersive_context_ash.h",
+ "common/wm/lock_layout_manager.cc",
+ "common/wm/lock_layout_manager.h",
+ "common/wm/lock_state_observer.h",
+ "common/wm/lock_window_state.cc",
+ "common/wm/lock_window_state.h",
+ "common/wm/maximize_mode/maximize_mode_controller.cc",
+ "common/wm/maximize_mode/maximize_mode_controller.h",
+ "common/wm/maximize_mode/maximize_mode_event_handler.cc",
+ "common/wm/maximize_mode/maximize_mode_event_handler.h",
+ "common/wm/maximize_mode/maximize_mode_window_manager.cc",
+ "common/wm/maximize_mode/maximize_mode_window_manager.h",
+ "common/wm/maximize_mode/maximize_mode_window_state.cc",
+ "common/wm/maximize_mode/maximize_mode_window_state.h",
+ "common/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h",
+ "common/wm/maximize_mode/workspace_backdrop_delegate.cc",
+ "common/wm/maximize_mode/workspace_backdrop_delegate.h",
+ "common/wm/mru_window_tracker.cc",
+ "common/wm/mru_window_tracker.h",
+ "common/wm/overview/cleanup_animation_observer.cc",
+ "common/wm/overview/cleanup_animation_observer.h",
+ "common/wm/overview/overview_animation_type.h",
+ "common/wm/overview/scoped_overview_animation_settings.h",
+ "common/wm/overview/scoped_overview_animation_settings_factory.cc",
+ "common/wm/overview/scoped_overview_animation_settings_factory.h",
+ "common/wm/overview/scoped_transform_overview_window.cc",
+ "common/wm/overview/scoped_transform_overview_window.h",
+ "common/wm/overview/window_grid.cc",
+ "common/wm/overview/window_grid.h",
+ "common/wm/overview/window_selector.cc",
+ "common/wm/overview/window_selector.h",
+ "common/wm/overview/window_selector_controller.cc",
+ "common/wm/overview/window_selector_controller.h",
+ "common/wm/overview/window_selector_item.cc",
+ "common/wm/overview/window_selector_item.h",
+ "common/wm/panels/panel_layout_manager.cc",
+ "common/wm/panels/panel_layout_manager.h",
+ "common/wm/panels/panel_window_resizer.cc",
+ "common/wm/panels/panel_window_resizer.h",
+ "common/wm/root_window_finder.cc",
+ "common/wm/root_window_finder.h",
+ "common/wm/root_window_layout_manager.cc",
+ "common/wm/root_window_layout_manager.h",
+ "common/wm/screen_dimmer.cc",
+ "common/wm/screen_dimmer.h",
+ "common/wm/switchable_windows.cc",
+ "common/wm/switchable_windows.h",
+ "common/wm/system_modal_container_layout_manager.cc",
+ "common/wm/system_modal_container_layout_manager.h",
+ "common/wm/window_animation_types.h",
+ "common/wm/window_cycle_controller.cc",
+ "common/wm/window_cycle_controller.h",
+ "common/wm/window_cycle_event_filter.h",
+ "common/wm/window_cycle_list.cc",
+ "common/wm/window_cycle_list.h",
+ "common/wm/window_dimmer.cc",
+ "common/wm/window_dimmer.h",
+ "common/wm/window_parenting_utils.cc",
+ "common/wm/window_parenting_utils.h",
+ "common/wm/window_positioner.cc",
+ "common/wm/window_positioner.h",
+ "common/wm/window_positioning_utils.cc",
+ "common/wm/window_positioning_utils.h",
+ "common/wm/window_resizer.cc",
+ "common/wm/window_resizer.h",
+ "common/wm/window_state.cc",
+ "common/wm/window_state.h",
+ "common/wm/window_state_delegate.cc",
+ "common/wm/window_state_delegate.h",
+ "common/wm/window_state_observer.h",
+ "common/wm/window_state_util.cc",
+ "common/wm/window_state_util.h",
+ "common/wm/wm_event.cc",
+ "common/wm/wm_event.h",
+ "common/wm/wm_screen_util.cc",
+ "common/wm/wm_screen_util.h",
+ "common/wm/wm_snap_to_pixel_layout_manager.cc",
+ "common/wm/wm_snap_to_pixel_layout_manager.h",
+ "common/wm/wm_toplevel_window_event_handler.cc",
+ "common/wm/wm_toplevel_window_event_handler.h",
+ "common/wm/wm_types.cc",
+ "common/wm/wm_types.h",
+ "common/wm/wm_window_animations.cc",
+ "common/wm/wm_window_animations.h",
+ "common/wm/workspace/magnetism_matcher.cc",
+ "common/wm/workspace/magnetism_matcher.h",
+ "common/wm/workspace/multi_window_resize_controller.cc",
+ "common/wm/workspace/multi_window_resize_controller.h",
+ "common/wm/workspace/phantom_window_controller.cc",
+ "common/wm/workspace/phantom_window_controller.h",
+ "common/wm/workspace/two_step_edge_cycler.cc",
+ "common/wm/workspace/two_step_edge_cycler.h",
+ "common/wm/workspace/workspace_event_handler.cc",
+ "common/wm/workspace/workspace_event_handler.h",
+ "common/wm/workspace/workspace_layout_manager.cc",
+ "common/wm/workspace/workspace_layout_manager.h",
+ "common/wm/workspace/workspace_layout_manager_backdrop_delegate.h",
+ "common/wm/workspace/workspace_types.h",
+ "common/wm/workspace/workspace_window_resizer.cc",
+ "common/wm/workspace/workspace_window_resizer.h",
+ "common/wm/workspace_controller.cc",
+ "common/wm/workspace_controller.h",
+ "common/wm_activation_observer.h",
+ "common/wm_display_observer.h",
+ "common/wm_layout_manager.h",
+ "common/wm_lookup.cc",
+ "common/wm_lookup.h",
+ "common/wm_root_window_controller.cc",
+ "common/wm_root_window_controller.h",
+ "common/wm_shell.cc",
+ "common/wm_shell.h",
+ "common/wm_transient_window_observer.h",
+ "common/wm_window.h",
+ "common/wm_window_observer.h",
+ "common/wm_window_property.h",
+ "common/wm_window_tracker.h",
+ "common/wm_window_user_data.h",
+ "debug.cc",
+ "debug.h",
+ "default_wallpaper_delegate.cc",
+ "default_wallpaper_delegate.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_change_observer_chromeos.cc",
+ "display/display_change_observer_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_manager.cc",
+ "display/display_manager.h",
+ "display/display_pref_util.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/json_converter.cc",
+ "display/json_converter.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/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",
+ "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",
+ "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_win.cc",
+ "host/ash_window_tree_host_win.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/input_method_event_handler.cc",
+ "ime/input_method_event_handler.h",
+ "link_handler_model.cc",
+ "link_handler_model.h",
+ "link_handler_model_factory.cc",
+ "link_handler_model_factory.h",
+ "magnifier/magnification_controller.cc",
+ "magnifier/magnification_controller.h",
+ "metrics/desktop_task_switch_metric_recorder.cc",
+ "metrics/desktop_task_switch_metric_recorder.h",
+ "metrics/task_switch_metrics_recorder.cc",
+ "metrics/task_switch_metrics_recorder.h",
+ "metrics/task_switch_time_tracker.cc",
+ "metrics/task_switch_time_tracker.h",
+ "metrics/user_metrics_recorder.cc",
+ "metrics/user_metrics_recorder.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/window_rotation.cc",
+ "rotator/window_rotation.h",
+ "screen_util.cc",
+ "screen_util.h",
+ "screenshot_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/dimmer_view.cc",
+ "shelf/dimmer_view.h",
+ "shelf/shelf_bezel_event_handler.cc",
+ "shelf/shelf_bezel_event_handler.h",
+ "shelf/shelf_window_targeter.cc",
+ "shelf/shelf_window_targeter.h",
+ "shell.cc",
+ "shell.h",
+ "shell_init_params.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/chromeos/power/power_event_observer.cc",
+ "system/chromeos/power/power_event_observer.h",
+ "system/chromeos/power/video_activity_notifier.cc",
+ "system/chromeos/power/video_activity_notifier.h",
+ "system/chromeos/rotation/tray_rotation_lock.cc",
+ "system/chromeos/rotation/tray_rotation_lock.h",
+ "system/chromeos/screen_layout_observer.cc",
+ "system/chromeos/screen_layout_observer.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_transformer_controller.cc",
+ "touch/touch_transformer_controller.h",
+ "touch/touch_uma.cc",
+ "touch/touch_uma.h",
+ "touch/touchscreen_util.cc",
+ "touch/touchscreen_util.h",
+ "utility/screenshot_controller.cc",
+ "utility/screenshot_controller.h",
+ "virtual_keyboard_controller.cc",
+ "virtual_keyboard_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/cursor_manager_chromeos.cc",
+ "wm/cursor_manager_chromeos.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/gestures/overview_gesture_handler.cc",
+ "wm/gestures/overview_gesture_handler.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_state_controller.cc",
+ "wm/lock_state_controller.h",
+ "wm/maximize_mode/maximize_mode_event_handler_aura.cc",
+ "wm/maximize_mode/maximize_mode_event_handler_aura.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/overlay_event_filter.cc",
+ "wm/overlay_event_filter.h",
+ "wm/overview/scoped_overview_animation_settings_aura.cc",
+ "wm/overview/scoped_overview_animation_settings_aura.h",
+ "wm/overview/scoped_overview_animation_settings_factory_aura.cc",
+ "wm/overview/scoped_overview_animation_settings_factory_aura.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_window_event_handler.cc",
+ "wm/panels/panel_window_event_handler.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/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/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_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/window_animations.cc",
+ "wm/window_animations.h",
+ "wm/window_cycle_event_filter_aura.cc",
+ "wm/window_cycle_event_filter_aura.h",
+ "wm/window_mirror_view.cc",
+ "wm/window_mirror_view.h",
+ "wm/window_properties.cc",
+ "wm/window_properties.h",
+ "wm/window_state_aura.cc",
+ "wm/window_state_aura.h",
+ "wm/window_util.cc",
+ "wm/window_util.h",
+ "wm/workspace/workspace_event_handler_aura.cc",
+ "wm/workspace/workspace_event_handler_aura.h",
+ ]
configs += [ "//build/config:precompiled_headers" ]
defines = [ "ASH_IMPLEMENTATION" ]
public_deps = [
+ "//ash/common/strings",
"//ash/resources",
- "//ash/strings",
+ "//ash/resources/vector_icons",
+ "//ash/shared:app_types",
]
deps = [
+ "//ash/autoclick/common:autoclick",
+ "//ash/public/cpp",
+ "//ash/public/interfaces",
+ "//ash/touch_hud",
"//base",
"//base:i18n",
"//base/third_party/dynamic_annotations",
@@ -37,6 +843,7 @@ component("ash") {
"//components/wallpaper",
"//media",
"//net",
+ "//services/shell/public/cpp",
"//skia",
"//third_party/icu",
"//ui/accessibility",
@@ -101,6 +908,11 @@ component("ash") {
"//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",
+ ]
}
if (is_chromeos) {
@@ -113,7 +925,7 @@ component("ash") {
# TODO(msw): Remove this; only ash_with_content should depend on webkit.
"//third_party/WebKit/public:blink_headers",
"//third_party/qcms",
- "//ui/chromeos:ui_chromeos",
+ "//ui/chromeos",
"//ui/chromeos/resources",
"//ui/chromeos/strings",
"//ui/display/util",
@@ -122,6 +934,17 @@ component("ash") {
data = [
"display/test_data/",
]
+
+ sources += [
+ "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",
+ "magnifier/partial_magnification_controller.cc",
+ "magnifier/partial_magnification_controller.h",
+ ]
} else {
sources -= [
"accelerators/key_hold_detector.cc",
@@ -141,16 +964,24 @@ component("ash") {
]
}
- if (!use_ozone) {
- 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/*" ]
}
component("ash_with_content") {
- sources = gypi_values.ash_with_content_sources
+ 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" ]
@@ -180,24 +1011,123 @@ component("ash_with_content") {
]
}
-# TODO(msw): Move support code with content deps to test_support_with_content.
-source_set("test_support") {
+# Used to test ash with an aura backend.
+source_set("ash_with_aura_test_support") {
testonly = true
- sources = gypi_values.ash_test_support_sources
+ sources = [
+ "test/ash_test_impl_aura.cc",
+ "test/ash_test_impl_aura.h",
+ ]
+ deps = [
+ ":ash",
+ ":test_support_common",
+ "//base",
+ "//skia",
+ "//ui/aura:test_support",
+ "//ui/display",
+ "//ui/wm",
+ ]
+}
+
+# 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 = [
+ "common/test/ash_test.cc",
+ "common/test/ash_test.h",
+ "common/test/ash_test_impl.h",
+ "common/test/material_design_controller_test_api.cc",
+ "common/test/material_design_controller_test_api.h",
+ "common/test/test_palette_delegate.cc",
+ "common/test/test_palette_delegate.h",
+ "common/test/test_volume_control_delegate.cc",
+ "common/test/test_volume_control_delegate.h",
+ "shell/toplevel_window.cc",
+ "shell/toplevel_window.h",
+ "test/ash_md_test_base.cc",
+ "test/ash_md_test_base.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_views_delegate.cc",
+ "test/ash_test_views_delegate.h",
+ "test/child_modal_window.cc",
+ "test/child_modal_window.h",
+ "test/cursor_manager_test_api.cc",
+ "test/cursor_manager_test_api.h",
+ "test/display_manager_test_api.cc",
+ "test/display_manager_test_api.h",
+ "test/immersive_fullscreen_controller_test_api.cc",
+ "test/immersive_fullscreen_controller_test_api.h",
+ "test/mirror_window_test_api.cc",
+ "test/mirror_window_test_api.h",
+ "test/overflow_bubble_view_test_api.cc",
+ "test/overflow_bubble_view_test_api.h",
+ "test/shelf_button_pressed_metric_tracker_test_api.cc",
+ "test/shelf_button_pressed_metric_tracker_test_api.h",
+ "test/shelf_view_test_api.cc",
+ "test/shelf_view_test_api.h",
+ "test/shell_test_api.cc",
+ "test/shell_test_api.h",
+ "test/status_area_widget_test_helper.cc",
+ "test/status_area_widget_test_helper.h",
+ "test/task_switch_time_tracker_test_api.cc",
+ "test/task_switch_time_tracker_test_api.h",
+ "test/test_activation_delegate.cc",
+ "test/test_activation_delegate.h",
+ "test/test_keyboard_ui.cc",
+ "test/test_keyboard_ui.h",
+ "test/test_lock_state_controller_delegate.cc",
+ "test/test_lock_state_controller_delegate.h",
+ "test/test_overlay_delegate.cc",
+ "test/test_overlay_delegate.h",
+ "test/test_screenshot_delegate.cc",
+ "test/test_screenshot_delegate.h",
+ "test/test_session_state_animator.cc",
+ "test/test_session_state_animator.h",
+ "test/test_session_state_delegate.cc",
+ "test/test_session_state_delegate.h",
+ "test/test_shelf_delegate.cc",
+ "test/test_shelf_delegate.h",
+ "test/test_shelf_item_delegate.cc",
+ "test/test_shelf_item_delegate.h",
+ "test/test_shell_delegate.cc",
+ "test/test_shell_delegate.h",
+ "test/test_suite.cc",
+ "test/test_suite.h",
+ "test/test_suite_init.h",
+ "test/test_suite_init.mm",
+ "test/test_system_tray_delegate.cc",
+ "test/test_system_tray_delegate.h",
+ "test/test_system_tray_item.cc",
+ "test/test_system_tray_item.h",
+ "test/test_wallpaper_delegate.cc",
+ "test/test_wallpaper_delegate.h",
+ "test/tray_cast_test_api.cc",
+ "test/tray_cast_test_api.h",
+ "test/ui_controls_factory_ash.cc",
+ "test/ui_controls_factory_ash.h",
+ "test/user_metrics_recorder_test_api.cc",
+ "test/user_metrics_recorder_test_api.h",
+ ]
configs += [ "//build/config:precompiled_headers" ]
public_deps = [
":ash",
]
deps = [
- ":test_support_with_content", # TODO(beng): reverse this direction.
"//ash/resources",
"//base:i18n",
"//base/test:test_support",
"//components/signin/core/account_id",
"//components/user_manager:user_manager",
- "//content/public/browser",
- "//content/test:test_support",
"//device/bluetooth",
"//skia",
"//testing/gtest",
@@ -234,27 +1164,58 @@ source_set("test_support") {
"//chromeos",
"//ui/display",
]
+
+ sources += [
+ "laser/laser_pointer_controller_test_api.cc",
+ "laser/laser_pointer_controller_test_api.h",
+ "laser/laser_pointer_points_test_api.cc",
+ "laser/laser_pointer_points_test_api.h",
+ ]
}
}
-source_set("test_support_with_content") {
+static_library("test_support_without_content") {
testonly = true
- sources = gypi_values.ash_test_support_with_content_sources
- configs += [ "//build/config:precompiled_headers" ]
+ 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 = [
":ash_with_content",
+ ":test_support_common",
+ "//content/public/browser",
"//content/test:test_support",
"//skia",
]
}
-source_set("interactive_ui_test_support") {
+static_library("interactive_ui_test_support") {
testonly = true
configs += [ "//build/config:precompiled_headers" ]
public_deps = [
":ash",
- ":test_support",
+ ":test_support_without_content",
]
sources = [
"test/ash_interactive_ui_test_base.cc",
@@ -262,7 +1223,7 @@ source_set("interactive_ui_test_support") {
]
deps = [
":ash",
- ":test_support",
+ ":test_support_with_content",
"//base",
"//skia",
"//testing/gtest",
@@ -274,14 +1235,36 @@ source_set("interactive_ui_test_support") {
static_library("ash_shell_lib") {
testonly = true
- sources = gypi_values.ash_shell_lib_sources
+ 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_factory.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",
+ ]
deps = [
":ash",
":ash_with_content",
- ":test_support",
+ ":test_support_without_content",
+ "//ash/common/strings",
+ "//ash/public/cpp",
"//ash/resources",
- "//ash/strings",
"//base",
"//base:i18n",
"//components/user_manager",
@@ -311,7 +1294,16 @@ static_library("ash_shell_lib") {
static_library("ash_shell_lib_with_content") {
testonly = true
- sources = gypi_values.ash_shell_with_content_lib_sources
+ 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",
@@ -338,17 +1330,26 @@ static_library("ash_shell_lib_with_content") {
}
}
-test("ash_unittests") {
- sources = gypi_values.ash_unittests_sources
- configs += [ "//build/config:precompiled_headers" ]
+# 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_aura_test_support",
":ash_with_content",
- ":test_support",
":test_support_with_content",
- "//ash/resources",
- "//ash/strings",
+ "//ash/public/cpp",
"//base",
"//base/test:test_support",
"//components/signin/core/account_id",
@@ -358,6 +1359,213 @@ test("ash_unittests") {
"//mojo/edk/system",
"//skia",
"//testing/gtest",
+ "//ui/aura",
+ "//ui/aura: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/common/strings:ash_test_strings",
+ "//ash/resources:ash_test_resources_with_content_100_percent",
+ "//ash/resources:ash_test_resources_200_percent",
+ ]
+
+ if (is_chromeos) {
+ deps += [
+ "//chromeos",
+ "//chromeos:power_manager_proto",
+ "//chromeos:test_support_without_gmock",
+ "//components/quirks",
+ "//device/bluetooth",
+ "//net:net",
+ "//ui/chromeos",
+ "//ui/display",
+ "//ui/display:test_support",
+ "//ui/display:test_util",
+ ]
+ }
+}
+
+test("ash_unittests") {
+ sources = [
+ "accelerators/accelerator_commands_unittest.cc",
+ "accelerators/accelerator_controller_unittest.cc",
+ "accelerators/accelerator_filter_unittest.cc",
+ "accelerators/magnifier_key_scroller_unittest.cc",
+ "accelerators/spoken_feedback_toggler_unittest.cc",
+ "app_list/app_list_presenter_delegate_unittest.cc",
+ "ash_touch_exploration_manager_chromeos_unittest.cc",
+ "aura/pointer_watcher_adapter_unittest.cc",
+ "autoclick/autoclick_unittest.cc",
+ "common/accelerators/accelerator_table_unittest.cc",
+ "common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc",
+ "common/frame/custom_frame_view_ash_unittest.cc",
+ "common/frame/default_header_painter_unittest.cc",
+ "common/material_design/material_design_controller_unittest.cc",
+ "common/metrics/pointer_metrics_recorder_unittest.cc",
+ "common/popup_message_unittest.cc",
+ "common/shelf/shelf_background_animator_unittest.cc",
+ "common/shelf/shelf_button_pressed_metric_tracker_unittest.cc",
+ "common/shelf/shelf_locking_manager_unittest.cc",
+ "common/shelf/shelf_model_unittest.cc",
+ "common/shelf/shelf_tooltip_manager_unittest.cc",
+ "common/shelf/shelf_window_watcher_unittest.cc",
+ "common/system/chromeos/brightness/tray_brightness_unittest.cc",
+ "common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc",
+ "common/system/chromeos/media_security/multi_profile_media_tray_item_unittest.cc",
+ "common/system/chromeos/palette/mock_palette_tool_delegate.cc",
+ "common/system/chromeos/palette/mock_palette_tool_delegate.h",
+ "common/system/chromeos/palette/palette_tool_manager_unittest.cc",
+ "common/system/chromeos/palette/tools/create_note_unittest.cc",
+ "common/system/chromeos/palette/tools/screenshot_unittest.cc",
+ "common/system/chromeos/power/power_status_unittest.cc",
+ "common/system/chromeos/power/power_status_view_unittest.cc",
+ "common/system/chromeos/power/tray_power_unittest.cc",
+ "common/system/chromeos/screen_security/screen_tray_item_unittest.cc",
+ "common/system/chromeos/session/logout_confirmation_controller_unittest.cc",
+ "common/system/chromeos/session/tray_session_length_limit_unittest.cc",
+ "common/system/chromeos/supervised/tray_supervised_user_unittest.cc",
+ "common/system/date/date_view_unittest.cc",
+ "common/system/ime/tray_ime_chromeos_unittest.cc",
+ "common/system/tiles/tray_tiles_unittest.cc",
+ "common/system/tray/system_tray_unittest.cc",
+ "common/system/tray/tray_details_view_unittest.cc",
+ "common/system/update/tray_update_unittest.cc",
+ "common/system/user/tray_user_unittest.cc",
+ "common/wallpaper/wallpaper_controller_unittest.cc",
+ "common/wm/container_finder_unittest.cc",
+ "common/wm/overview/cleanup_animation_observer_unittest.cc",
+ "common/wm/workspace/workspace_event_handler_test_helper.cc",
+ "common/wm/workspace/workspace_event_handler_test_helper.h",
+ "common/wm_window_unittest.cc",
+ "common/wm_window_user_data_unittest.cc",
+ "dip_unittest.cc",
+ "display/cursor_window_controller_unittest.cc",
+ "display/display_change_observer_chromeos_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/json_converter_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",
+ "drag_drop/drag_drop_controller_unittest.cc",
+ "drag_drop/drag_drop_tracker_unittest.cc",
+ "extended_desktop_unittest.cc",
+ "focus_cycler_unittest.cc",
+ "frame/caption_buttons/frame_size_button_unittest.cc",
+ "host/ash_window_tree_host_x11_unittest.cc",
+ "magnifier/magnification_controller_unittest.cc",
+ "metrics/desktop_task_switch_metric_recorder_unittest.cc",
+ "metrics/task_switch_metrics_recorder_unittest.cc",
+ "metrics/task_switch_time_tracker_unittest.cc",
+ "metrics/user_metrics_recorder_unittest.cc",
+ "root_window_controller_unittest.cc",
+ "rotator/screen_rotation_animation_unittest.cc",
+ "screen_util_unittest.cc",
+ "shelf/shelf_layout_manager_unittest.cc",
+ "shelf/shelf_unittest.cc",
+ "shelf/shelf_view_unittest.cc",
+ "shelf/shelf_widget_unittest.cc",
+ "shell_unittest.cc",
+ "sticky_keys/sticky_keys_overlay_unittest.cc",
+ "sticky_keys/sticky_keys_unittest.cc",
+ "system/chromeos/power/power_event_observer_unittest.cc",
+ "system/chromeos/power/video_activity_notifier_unittest.cc",
+ "system/chromeos/rotation/tray_rotation_lock_unittest.cc",
+ "system/chromeos/screen_layout_observer_unittest.cc",
+ "system/overview/overview_button_tray_unittest.cc",
+ "system/toast/toast_manager_unittest.cc",
+ "system/web_notification/ash_popup_alignment_delegate_unittest.cc",
+ "system/web_notification/web_notification_tray_unittest.cc",
+ "test/ash_test_environment_default.cc",
+ "test/ash_test_helper_unittest.cc",
+ "test/ash_unittests.cc",
+ "tooltips/tooltip_controller_unittest.cc",
+ "touch/touch_observer_hud_unittest.cc",
+ "touch/touch_transformer_controller_unittest.cc",
+ "touch/touchscreen_util_unittest.cc",
+ "utility/screenshot_controller_unittest.cc",
+ "virtual_keyboard_controller_unittest.cc",
+ "wm/always_on_top_controller_unittest.cc",
+ "wm/ash_focus_rules_unittest.cc",
+ "wm/ash_native_cursor_manager_unittest.cc",
+ "wm/dock/docked_window_layout_manager_unittest.cc",
+ "wm/dock/docked_window_resizer_unittest.cc",
+ "wm/drag_window_resizer_unittest.cc",
+ "wm/gestures/overview_gesture_handler_unittest.cc",
+ "wm/immersive_fullscreen_controller_unittest.cc",
+ "wm/lock_layout_manager_unittest.cc",
+ "wm/lock_state_controller_unittest.cc",
+ "wm/maximize_mode/accelerometer_test_data_literals.cc",
+ "wm/maximize_mode/maximize_mode_controller_unittest.cc",
+ "wm/maximize_mode/maximize_mode_window_manager_unittest.cc",
+ "wm/mru_window_tracker_unittest.cc",
+ "wm/overlay_event_filter_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/stacking_controller_unittest.cc",
+ "wm/system_gesture_event_filter_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/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_test_helper.cc",
+ "wm/workspace_controller_test_helper.h",
+ "wm/workspace_controller_unittest.cc",
+ ]
+ configs += [
+ "//build/config:precompiled_headers",
+ "//build/config/compiler:no_size_t_to_int_warning",
+ ]
+
+ deps = [
+ ":ash",
+ ":ash_with_aura_test_support",
+ ":test_support_without_content",
+ "//ash/autoclick/common:autoclick",
+ "//ash/common/strings",
+ "//ash/public/cpp",
+ "//ash/resources",
+ "//ash/touch_hud",
+ "//base",
+ "//base/test:test_support",
+ "//components/signin/core/account_id",
+ "//components/user_manager",
+ "//mojo/edk/system",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
"//third_party/icu",
"//ui/accessibility",
"//ui/app_list/presenter",
@@ -376,54 +1584,33 @@ test("ash_unittests") {
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/keyboard",
- "//ui/keyboard:keyboard_with_content",
"//ui/message_center",
"//ui/message_center:test_support",
"//ui/resources",
"//ui/strings",
"//ui/views",
"//ui/views:test_support",
- "//ui/views/controls/webview:test_support",
- "//ui/web_dialogs:test_support",
"//ui/wm",
"//ui/wm:test_support",
"//url",
]
data_deps = [
- "//ash/strings:ash_test_strings",
+ "//ash/common/strings:ash_test_strings",
"//ash/resources:ash_test_resources_100_percent",
"//ash/resources:ash_test_resources_200_percent",
]
- if (!is_chromeos) {
- sources -= [
- # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
- "focus_cycler_unittest.cc",
-
- # All tests for multiple displays: not supported on Windows Ash.
- "wm/drag_window_resizer_unittest.cc",
-
- # Maximize mode is only available on Chrome OS.
- "wm/maximize_mode/maximize_mode_controller_unittest.cc",
- "wm/maximize_mode/maximize_mode_window_manager_unittest.cc",
-
- # Can't resize on Windows Ash. http://crbug.com/165962
- "autoclick/autoclick_unittest.cc",
- "magnifier/magnification_controller_unittest.cc",
- "sticky_keys/sticky_keys_overlay_unittest.cc",
- "virtual_keyboard_controller_unittest.cc",
- "wm/workspace/workspace_window_resizer_unittest.cc",
- ]
- }
-
- configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
-
if (!use_x11) {
sources -= [ "host/ash_window_tree_host_x11_unittest.cc" ]
}
+
if (is_chromeos) {
- sources += [ "first_run/first_run_helper_unittest.cc" ]
+ sources += [
+ "first_run/first_run_helper_unittest.cc",
+ "laser/laser_pointer_controller_unittest.cc",
+ "magnifier/partial_magnification_controller_unittest.cc",
+ ]
deps += [
"//chromeos",
"//chromeos:power_manager_proto",
@@ -431,7 +1618,7 @@ test("ash_unittests") {
"//components/quirks",
"//device/bluetooth",
"//net:net",
- "//ui/chromeos:ui_chromeos",
+ "//ui/chromeos",
"//ui/display",
"//ui/display:test_support",
"//ui/display:test_util",
@@ -440,8 +1627,29 @@ test("ash_unittests") {
sources -= [
"accelerators/magnifier_key_scroller_unittest.cc",
"accelerators/spoken_feedback_toggler_unittest.cc",
+
+ # Can't resize on Windows Ash. http://crbug.com/165962
+ "autoclick/autoclick_unittest.cc",
"display/resolution_notification_controller_unittest.cc",
+
+ # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
+ "focus_cycler_unittest.cc",
+ "magnifier/magnification_controller_unittest.cc",
+ "sticky_keys/sticky_keys_overlay_unittest.cc",
+ "sticky_keys/sticky_keys_unittest.cc",
"touch/touchscreen_util_unittest.cc",
+ "virtual_keyboard_controller_unittest.cc",
+
+ # All tests for multiple displays: not supported on Windows Ash.
+ "wm/drag_window_resizer_unittest.cc",
+
+ # Talks to ChromeOS system services.
+ "wm/lock_state_controller_unittest.cc",
+
+ # Maximize mode is only available on Chrome OS.
+ "wm/maximize_mode/maximize_mode_controller_unittest.cc",
+ "wm/maximize_mode/maximize_mode_window_manager_unittest.cc",
+ "wm/workspace/workspace_window_resizer_unittest.cc",
]
}
@@ -449,9 +1657,8 @@ test("ash_unittests") {
sources -= [ "touch/touch_transformer_controller_unittest.cc" ]
}
- if (!is_chromeos) {
- sources -= [ "sticky_keys/sticky_keys_unittest.cc" ]
- }
+ # Usage of content should be in ash_with_content.
+ assert_no_deps = [ "//content/*" ]
}
executable("ash_shell_with_content") {
@@ -471,8 +1678,8 @@ executable("ash_shell_with_content") {
]
data_deps = [
- "//ash/strings:ash_test_strings",
- "//ash/resources:ash_test_resources_100_percent",
+ "//ash/common/strings:ash_test_strings",
+ "//ash/resources:ash_test_resources_with_content_100_percent",
"//ash/resources:ash_test_resources_200_percent",
]
@@ -486,5 +1693,3 @@ executable("ash_shell_with_content") {
deps += [ "//device/bluetooth" ]
}
}
-# When adding support for isolates, please have a look at run-time dependencies
-# in the ash_unittests_run target in ash.gyp.