chromium/chrome/android/java/src/org/chromium/chrome/browser/toolbar/DEPS

noparent = True

include_rules = [
  # Allow dependencies on chrome/browser modules
  "+chrome/browser",

  # Restrict dependencies to xsurface by default (crbug.com/1115137)
  "-chrome/browser/xsurface",

  "-chrome/android/java/src/org/chromium/chrome/browser",
  "+base/android/java/src/org/chromium/base",
  "+chrome/android/java/src/org/chromium/chrome/browser/toolbar",
  "+components/browser_ui/widget/android/java",
  "+ui/android/java/src/org/chromium/ui",
  "+url/android",
  "+components/browser_ui/bottomsheet/android/java",
  "+content/public/android/java/src/org/chromium/content_public",
]

specific_include_rules = {
  'ToolbarManager.java': [
    "+chrome/android/features/tab_ui",
    "+chrome/android/features/vr",
    "+chrome/android/feed/core/java",
    "+chrome/android/java/src/org/chromium/chrome/browser",
    "-chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java",
    "-chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java",
    "+components/feature_engagement",
    "+components/omnibox/browser/android/java/src/org/chromium/components/omnibox/action/OmniboxActionDelegate.java",
  ],
  'ToolbarButtonInProductHelpController.java': [
    "+chrome/android/java/src/org/chromium/chrome/browser",
    "+components/commerce/core/android/java/src/org/chromium/components/commerce/core/ShoppingService.java",
    "-chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java",
    "-chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java",
  ],
  'ToolbarColors.java': [
    "+chrome/android/java/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtil.java"
  ],
}