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/chromeos/network",
# Existing dependencies within //chrome. There is an active effort to
# refactor chromeos codes in //chrome to break these dependencies; see
# b/332804822. Whenever possible, avoid adding new //chrome dependencies to
# this list.
"+chrome/browser/ash/net",
"+chrome/browser/browser_process.h",
"+chrome/browser/prefs",
"+chrome/browser/profiles",
"+chrome/browser/ui/browser_dialogs.h",
"+chrome/browser/ui/browser_finder.h",
"+chrome/browser/ui/browser.h",
"+chrome/browser/ui/browser_navigator.h",
"+chrome/browser/ui/browser_navigator_params.h",
"+chrome/common",
"+chrome/test",
]
specific_include_rules = {
# This file will be shared by Ash and Lacros. Ash specific includes are
# protected by IS_CHROMEOS_ASH.
"network_portal_signin_window\.cc": [
"+chromeos/ash/components/network",
],
"network_portal_signin_window_ash_browsertest\.cc": [
"+chrome/browser/ash/net/network_portal_detector_test_impl.h",
],
}