chromium/chrome/browser/ui/ash/shelf/DEPS

include_rules = [
  "+components/services/app_service/public",
  "+components/app_restore/full_restore_utils.h",

  # 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/ash/shelf",

  # Existing dependencies within //chrome. There is an active effort to
  # refactor ash codes in //chrome to break these dependencies; see b/332804822.
  # Whenever possible, avoid adding new //chrome dependencies to this list.
  "+chrome/app/chrome_command_ids.h",
  "+chrome/app/vector_icons/vector_icons.h",
  "+chrome/browser/apps/app_preload_service/app_preload_service.h",
  "+chrome/browser/apps/app_service",
  "+chrome/browser/apps/browser_instance",
  "+chrome/browser/apps/icon_standardizer.h",
  "+chrome/browser/apps/platform_apps",
  "+chrome/browser/ash/accessibility",
  "+chrome/browser/ash/app_list",
  "+chrome/browser/ash/app_restore",
  "+chrome/browser/ash/apps",
  "+chrome/browser/ash/arc/arc_util.h",
  "+chrome/browser/ash/arc/icon_decode_request.h",
  "+chrome/browser/ash/arc/session",
  "+chrome/browser/ash/crosapi",
  "+chrome/browser/ash/crostini",
  "+chrome/browser/ash/eche_app",
  "+chrome/browser/ash/extensions",
  "+chrome/browser/ash/file_manager",
  "+chrome/browser/ash/guest_os",
  "+chrome/browser/ash/login/demo_mode",
  "+chrome/browser/ash/login/users",
  "+chrome/browser/ash/profiles",
  "+chrome/browser/ash/system_web_apps/apps",
  "+chrome/browser/ash/system_web_apps/system_web_app_manager.h",
  "+chrome/browser/ash/system_web_apps/test_support",
  "+chrome/browser/ash/system_web_apps/types",
  "+chrome/browser/browser_process.h",
  "+chrome/browser/extensions/chrome_app_icon_loader.h",
  "+chrome/browser/extensions/context_menu_matcher.h",
  "+chrome/browser/extensions/extension_apitest.h",
  "+chrome/browser/extensions/extension_browsertest.h",
  "+chrome/browser/extensions/extension_service.h",
  "+chrome/browser/extensions/extension_uninstall_dialog.h",
  "+chrome/browser/extensions/extension_util.h",
  "+chrome/browser/extensions/launch_util.h",
  "+chrome/browser/extensions/menu_manager.h",
  "+chrome/browser/extensions/test_extension_system.h",
  "+chrome/browser/image_decoder",
  "+chrome/browser/media/router",
  "+chrome/browser/prefs",
  "+chrome/browser/profiles",
  "+chrome/browser/scalable_iph",
  "+chrome/browser/sync",
  "+chrome/browser/ui/app_icon_loader_delegate.h",
  "+chrome/browser/ui/app_icon_loader.h",
  "+chrome/browser/ui/apps",
  "+chrome/browser/ui/ash/app_icon_color_cache",
  "+chrome/browser/ui/ash/default_pinned_apps",
  "+chrome/browser/ui/ash/keyboard",
  "+chrome/browser/ui/ash/multi_user",
  "+chrome/browser/ui/ash/session",
  "+chrome/browser/ui/ash/system_web_apps",
  "+chrome/browser/ui/browser_commands.h",
  "+chrome/browser/ui/browser_dialogs.h",
  "+chrome/browser/ui/browser_finder.h",
  "+chrome/browser/ui/browser.h",
  "+chrome/browser/ui/browser_list.h",
  "+chrome/browser/ui/browser_list_observer.h",
  "+chrome/browser/ui/browser_tabstrip.h",
  "+chrome/browser/ui/browser_tab_strip_tracker.h",
  "+chrome/browser/ui/browser_window.h",
  "+chrome/browser/ui/chrome_pages.h",
  "+chrome/browser/ui/extensions",
  "+chrome/browser/ui/settings_window_manager_chromeos.h",
  "+chrome/browser/ui/settings_window_manager_observer_chromeos.h",
  "+chrome/browser/ui/tabs",
  "+chrome/browser/ui/test",
  "+chrome/browser/ui/views/frame",
  "+chrome/browser/ui/web_applications",
  "+chrome/browser/ui/webui/ash/settings/app_management",
  "+chrome/browser/web_applications",
  "+chrome/common",
  "+chrome/grit",
  "+chrome/test",
]

specific_include_rules = {
  "chrome_shelf_controller_unittest\.cc": [
    "+chrome/browser/ui/web_applications/test",
    "+chrome/browser/web_applications/isolated_web_apps",
  ],
}