# Components must declare all dependencies explicitly. They do not inherit
# from //ash/DEPS.
noparent = True

include_rules = [
  # Components can use some common things.
  "+base",
  "+build",
  "+testing",

  # Components can be mojo services.
  "+mojo/public",
  "+services/service_manager/public",

  # Components support views UI with aura.
  "+cc/paint",
  "+ui/aura",
  "+ui/base",
  "+ui/display",
  "+ui/events",
  "+ui/gfx",
  "+ui/views",

  # Components may not directly access ash, except through public mojo
  # IPC interfaces.
  "-ash",
  "+ash/public",

  # Individual components must explicitly declare their dependencies
  # on other components. Cycles in the dependency graph within
  # components/ are not allowed.
  "-ash/components",

  # Components sit below chrome.
  "-chrome",
]
