chromium/chrome/browser/ui/webui/ash/settings/DEPS

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/ui/webui/ash/settings",

  # Existing dependencies within //chrome. There is an active effort to
  # refactor //chrome/browser/ui/ash to break these dependencies; see b/332804822.
  # Whenever possible, avoid adding new //chrome dependencies to this list.
  "+chrome/browser/ash/app_restore",
  "+chrome/browser/ash/arc",
  "+chrome/browser/ash/drive",
  "+chrome/browser/ash/login/quick_unlock",
  "+chrome/browser/ash/login/users",
  "+chrome/browser/ash/system_web_apps/apps/personalization_app",
  "+chrome/browser/browser_process.h",
  "+chrome/browser/enterprise/browser_management",
  "+chrome/browser/nearby_sharing",
  "+chrome/browser/policy",
  "+chrome/browser/profiles",
  "+chrome/browser/ui/webui/app_management",
  "+chrome/browser/ui/webui/managed_ui_handler.h",
  "+chrome/browser/ui/webui/nearby_share/nearby_share.mojom.h",
  "+chrome/browser/ui/webui/sanitized_image_source.h",
  "+chrome/browser/ui/webui/webui_load_timer.h",
  "+chrome/browser/ui/webui/webui_util.h",
  "+chrome/common",
  "+chrome/grit",
  "+chrome/test/base",

# DO NOT ADD `include_rules` except for deps under //chrome, only add
# `specific_include_rules` instead.
]

specific_include_rules = {
  'accessibility_section\.(cc|h)' : [
    '+ash/color_enhancement/color_enhancement_controller.h',
    '+content/public/browser/tts_controller.h',
  ],
  'device_keyboard_handler\.cc': [
    '+ash/shell.h',
  ],
  'device_keyboard_handler_unittest\.cc': [
    '+device/udev_linux/fake_udev_loader.h',
  ],
  'device_section\.cc': [
    '+ash/shell.h',
  ],
  'display_settings_provider\.(cc|h)': [
    '+ash/shell.h',
    '+ash/shell_observer.h',
    "+ash/display/cros_display_config.h",
    "+ash/display/display_prefs.h",
    "+ash/display/display_performance_mode_controller.h",
  ],
  'display_settings_provider_unittest\.cc': [
    '+ash/shell.h',
    "+ash/display/display_performance_mode_controller.h",
  ],
  'fast_pair_.*': [
    "+ash/quick_pair",
    "+components/cross_device/logging/logging.h",
  ],
  'input_device_settings_provider\.(cc|h)': [
    '+ash/shell.h',
    '+ash/shell_observer.h',
    '+ash/rgb_keyboard/rgb_keyboard_manager.h'
  ],
  'power_section\.(cc|h)' : [
    '+ash/shell.h',
    '+ash/system/power',
  ],
  'select_to_speak_handler\.cc': [
    '+content/public/browser/tts_controller.h',
  ],
  'settings_with_tts_preview_handler\.(cc|h)': [
    '+content/public/browser/tts_controller.h',
  ],
  'tts_handler\.(cc|h)': [
    '+content/public/browser/tts_controller.h',
  ],
}