blob: f495803c31eea79831e8a15cf31946aaf5f29f14 [file] [log] [blame]
include_rules = [
"+device/bluetooth",
"+cc/debug",
"+cc/output",
"+chromeos/cryptohome",
"+components/account_id",
"+components/exo",
"+components/pref_registry",
"+components/prefs",
"+components/quirks",
"+components/session_manager",
"+components/strings",
"+components/sync",
"+components/ui_devtools",
"+components/user_manager",
"+components/vector_icons",
"+components/viz/common",
"+components/viz/host",
"+components/wallpaper",
"+extensions/common/constants.h",
"+gpu/config",
"+media",
"+mash/public/mojom",
"+mash/shelf/public",
"+mojo/public",
"+services/catalog/public",
"+services/preferences/public",
"+services/service_manager/embedder",
"+services/service_manager/public",
"+services/ui/common",
"+services/ui/public",
"+services/ui/ws2",
"+services/viz/public",
"+skia/ext",
"+third_party/cros_system_api",
"+third_party/icu",
"+third_party/khronos/GLES2",
"+third_party/re2",
"+third_party/skia",
"+net",
"+ui",
"-ash/host",
# Ash components are mini-apps and in general ash should not depend on them.
# If ash needs to launch a mini-app it can add a deps exception just for the
# header required to launch the app.
"-ash/components",
# Ash can talk to public interfaces for mini-apps.
"+ash/components/autoclick/public",
"+ash/components/quick_launch/public",
# Ash sits above content. Exceptions live in //ash/content.
"-content",
# Only allow Chrome OS services and D-Bus clients accessible to the mustash
# ash process.
"-chromeos",
"+chromeos/accelerometer",
"+chromeos/audio",
"+chromeos/chromeos_features.h",
"+chromeos/chromeos_switches.h",
"+chromeos/chromeos_paths.h",
"+chromeos/components/proximity_auth/logging/logging.h",
"+chromeos/dbus/dbus_thread_manager.h",
"+chromeos/dbus/fake_power_manager_client.h",
"+chromeos/dbus/fake_session_manager_client.h",
"+chromeos/dbus/power_manager",
"+chromeos/dbus/power_manager_client.h",
"+chromeos/dbus/power_policy_controller.h",
"+chromeos/dbus/services/cros_dbus_service.h",
"+chromeos/dbus/session_manager_client.h",
"+chromeos/dbus/shill_device_client.h",
"+chromeos/dbus/system_clock_client.h",
"+chromeos/login",
# LoginState is deprecated and is not instantiated in mash.
"-chromeos/login/login_state.h",
# TODO(jamescook): Eliminate this. http://crbug.com/644355
"+chromeos/network",
"+chromeos/services/assistant/public" ,
"+chromeos/services/multidevice_setup/public/mojom",
# TODO(jamescook): Eliminate this. http://crbug.com/644361
"+chromeos/settings/timezone_settings.h",
"+chromeos/system",
# InputMethodManager lives in the browser process. Use ImeController.
"-ui/base/ime/chromeos/input_method_manager.h"
# Ozone does not run in process in mus/mash.
"-ui/events/ozone",
"-ui/ozone",
# ui/events/devices is tied with ozone, which is controlled by mus, and
# shouldn't be used by ash.
"-ui/events/devices",
# Enums and supporting classes or observers that are safe (should be moved to
# services/ui/public/cpp). http://crbug.com/747544.
"+ui/events/devices/device_hotplug_event_observer.h",
"+ui/events/devices/input_device.h",
"+ui/events/devices/input_device_event_observer.h",
"+ui/events/devices/input_device_manager.h",
"+ui/events/devices/stylus_state.h",
"+ui/events/devices/touch_device_transform.h",
"+ui/events/devices/touchscreen_device.h",
# SessionManager/UserManager is not part of ash. Use SessionController.
"-components/session_manager/core",
"-components/user_manager/user_manager.h",
]
specific_include_rules = {
"app_launch_unittest.cc": [
"+ash/components/quick_launch/public",
],
"message_center_controller\.*": [
"+components/arc/common/notifications.mojom.h"
],
"root_window_controller\.*": [
"+ash/host"
],
"shell.cc": [
"+ash/host/ash_window_tree_host_init_params.h"
],
"shell_port_classic.cc": [
"+ash/host/ash_window_tree_host.h",
"+ash/host/ash_window_tree_host_init_params.h",
"+ui/ozone/public"
],
"shell_port_mus\.cc": [
"+ash/host/ash_window_tree_host_init_params.h",
"+ash/host/ash_window_tree_host_mus.h",
"+ash/host/ash_window_tree_host_mus_mirroring_unified.h",
"+ash/host/ash_window_tree_host_mus_unified.h",
],
"window_manager.cc": [
"+ash/host/ash_window_tree_host.h"
],
"window_manager_service.cc": [
"+chromeos/cryptohome"
],
}