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/ash/extensions",
# Existing dependencies within //chrome. There is an active effort to
# refactor //chrome/browser/ash to break these dependencies; see b/332804822.
# Whenever possible, avoid adding new //chrome dependencies to this list.
#
# Files residing in certain directories (e.g., //chrome/browser) are listed
# individually. Other dependencies within //chrome are listed on a per-
# directory basis. See //tools/chromeos/gen_deps.sh for details.
"+chrome/app",
"+chrome/browser/app_mode",
"+chrome/browser/apps/app_preload_service",
"+chrome/browser/apps/app_service",
"+chrome/browser/apps/platform_apps/api/media_galleries",
"+chrome/browser/ash/accessibility",
"+chrome/browser/ash/app_list/arc",
"+chrome/browser/ash/crosapi",
"+chrome/browser/ash/file_manager",
"+chrome/browser/ash/guest_os",
"+chrome/browser/ash/input_method",
"+chrome/browser/ash/login/demo_mode",
"+chrome/browser/ash/login/users",
"+chrome/browser/ash/policy/core",
"+chrome/browser/ash/profiles",
"+chrome/browser/ash/settings",
"+chrome/browser/ash/url_handler",
"+chrome/browser/banners",
"+chrome/browser/browser_process.h",
"+chrome/browser/browser_process_platform_part.h",
"+chrome/browser/chromeos/drivefs",
"+chrome/browser/chromeos/extensions/login_screen",
"+chrome/browser/chromeos/policy/dlp",
"+chrome/browser/chromeos/upload_office_to_cloud",
"+chrome/browser/component_updater",
"+chrome/browser/devtools",
"+chrome/browser/download",
"+chrome/browser/extensions/api/file_system",
"+chrome/browser/extensions/api/input_ime",
"+chrome/browser/extensions/api/messaging",
"+chrome/browser/extensions/api/settings_private",
"+chrome/browser/extensions/chrome_app_icon.h",
"+chrome/browser/extensions/chrome_extension_function_details.h",
"+chrome/browser/extensions/component_loader.h",
"+chrome/browser/extensions/crx_installer.h",
"+chrome/browser/extensions/devtools_util.h",
"+chrome/browser/extensions/extension_apitest.h",
"+chrome/browser/extensions/extension_service.h",
"+chrome/browser/extensions/extension_service_test_base.h",
"+chrome/browser/extensions/extension_util.h",
"+chrome/browser/extensions/external_loader.h",
"+chrome/browser/extensions/external_provider_impl.h",
"+chrome/browser/extensions/install_observer.h",
"+chrome/browser/extensions/install_tracker.h",
"+chrome/browser/extensions/mock_crx_installer.h",
"+chrome/browser/extensions/pending_extension_manager.h",
"+chrome/browser/extensions/updater",
"+chrome/browser/lifetime",
"+chrome/browser/metrics",
"+chrome/browser/net",
"+chrome/browser/notifications",
"+chrome/browser/pdf",
"+chrome/browser/platform_util.h",
"+chrome/browser/policy",
"+chrome/browser/profiles",
"+chrome/browser/sharesheet",
"+chrome/browser/signin",
"+chrome/browser/speech",
"+chrome/browser/spellchecker",
"+chrome/browser/ui/ash",
"+chrome/browser/ui/aura/accessibility",
"+chrome/browser/ui/browser_commands.h",
"+chrome/browser/ui/browser.h",
"+chrome/browser/ui/browser_list.h",
"+chrome/browser/ui/browser_tabstrip.h",
"+chrome/browser/ui/browser_window.h",
"+chrome/browser/ui/chrome_pages.h",
"+chrome/browser/ui/settings_window_manager_chromeos.h",
"+chrome/browser/ui/tabs",
"+chrome/browser/ui/toolbar",
"+chrome/browser/ui/web_applications",
"+chrome/browser/ui/webui/ash/cloud_upload",
"+chrome/browser/ui/webui/ash/crostini_installer",
"+chrome/browser/ui/webui/ash/manage_mirrorsync",
"+chrome/browser/web_applications/web_app_id_constants.h",
"+chrome/browser/web_applications/web_app_provider.h",
"+chrome/browser/web_applications/web_app_registrar.h",
"+chrome/common/chrome_constants.h",
"+chrome/common/chrome_features.h",
"+chrome/common/chrome_paths.h",
"+chrome/common/chrome_switches.h",
"+chrome/common/extensions",
"+chrome/common/pref_names.h",
"+chrome/grit",
"+chrome/services/media_gallery_util/public/cpp",
"+chrome/services/media_gallery_util/public/mojom",
"+chrome/services/pdf/public/mojom",
"+chrome/test/base",
# Dependencies outside of //chrome:
"+third_party/ced",
]