# While chrome/browser/ is not meant to depend on chrome/browser/ui/views/, in
# ash it's expected because Views is the only UI used in ash, so we allow
# dependencies from chrome/browser/ash/borealis/ to
# chrome/browser/ui/views/borealis/.
include_rules = [
# ChromeOS should not depend on //chrome. See //docs/chromeos/code.md for
# details.
"-chrome",
# This directory is in //chrome, which violates the rule above. Allow this
# directory to #include its own files.
"+chrome/browser/ash/borealis",
# Existing dependencies within //chrome. There is an active effort to
# refactor //chrome/browser/ash to break these dependencies; see b/332804822.
# Whenever possible, avoid adding new //chrome dependencies to this list.
#
# Files residing in certain directories (e.g., //chrome/browser) are listed
# individually. Other dependencies within //chrome are listed on a per-
# directory basis. See //tools/chromeos/gen_deps.sh for details.
"+chrome/browser/apps/app_service",
"+chrome/browser/ash/guest_os",
"+chrome/browser/ash/hats",
"+chrome/browser/ash/login/users",
"+chrome/browser/ash/profiles",
"+chrome/browser/platform_util.h",
"+chrome/browser/policy",
"+chrome/browser/profiles",
"+chrome/browser/sessions",
"+chrome/browser/ui/views/borealis",
"+chrome/browser/ui/webui/ash/borealis_installer",
"+chrome/common/chrome_features.h",
"+chrome/grit",
"+chrome/test/base",
]