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/file_manager",
# 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/browser/apps/app_service",
"+chrome/browser/ash/app_list/arc",
"+chrome/browser/ash/app_list/search",
"+chrome/browser/ash/arc",
"+chrome/browser/ash/base",
"+chrome/browser/ash/bruschetta",
"+chrome/browser/ash/crosapi",
"+chrome/browser/ash/crostini",
"+chrome/browser/ash/drive",
"+chrome/browser/ash/extensions/file_manager",
"+chrome/browser/ash/fileapi",
"+chrome/browser/ash/file_system_provider",
"+chrome/browser/ash/fusebox",
"+chrome/browser/ash/guest_os",
"+chrome/browser/ash/login/demo_mode",
"+chrome/browser/ash/login/test",
"+chrome/browser/ash/login/users",
"+chrome/browser/ash/plugin_vm",
"+chrome/browser/ash/policy/core",
"+chrome/browser/ash/policy/dlp",
"+chrome/browser/ash/policy/skyvault",
"+chrome/browser/ash/profiles",
"+chrome/browser/ash/settings",
"+chrome/browser/ash/smb_client",
"+chrome/browser/ash/system",
"+chrome/browser/ash/system_web_apps",
"+chrome/browser/browser_process.h",
"+chrome/browser/browser_process_platform_part_ash.h",
"+chrome/browser/chromeos/policy/dlp",
"+chrome/browser/chromeos/upload_office_to_cloud",
"+chrome/browser/download",
"+chrome/browser/enterprise/connectors",
"+chrome/browser/extensions/api/safe_browsing_private",
"+chrome/browser/extensions/chrome_test_extension_loader.h",
"+chrome/browser/extensions/component_loader.h",
"+chrome/browser/extensions/extension_apitest.h",
"+chrome/browser/extensions/extension_keeplist_chromeos.h",
"+chrome/browser/extensions/extension_service.h",
"+chrome/browser/extensions/extension_tab_util.h",
"+chrome/browser/extensions/extension_util.h",
"+chrome/browser/extensions/launch_util.h",
"+chrome/browser/extensions/mixin_based_extension_apitest.h",
"+chrome/browser/extensions/test_extension_system.h",
"+chrome/browser/file_util_service.h",
"+chrome/browser/media_galleries/fileapi",
"+chrome/browser/notifications",
"+chrome/browser/platform_util.h",
"+chrome/browser/policy",
"+chrome/browser/profiles",
"+chrome/browser/safe_browsing/cloud_content_scanning",
"+chrome/browser/signin",
"+chrome/browser/sync_file_system",
"+chrome/browser/ui/ash",
"+chrome/browser/ui/browser_finder.h",
"+chrome/browser/ui/browser.h",
"+chrome/browser/ui/browser_list.h",
"+chrome/browser/ui/browser_window.h",
"+chrome/browser/ui/web_applications",
"+chrome/browser/ui/webui/ash/cloud_upload",
"+chrome/browser/ui/webui/ash/office_fallback",
"+chrome/browser/ui/webui/extensions",
"+chrome/browser/web_applications/isolated_web_apps",
"+chrome/browser/web_applications/os_integration",
"+chrome/browser/web_applications/test",
"+chrome/browser/web_applications/web_app_helpers.h",
"+chrome/browser/web_applications/web_app_id_constants.h",
"+chrome/browser/web_applications/web_app_provider.h",
"+chrome/browser/web_applications/web_app_registry_update.h",
"+chrome/browser/web_applications/web_app_sync_bridge.h",
"+chrome/browser/web_applications/web_app_utils.h",
"+chrome/common/chrome_constants.h",
"+chrome/common/chrome_content_client.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/common/webui_url_constants.h",
"+chrome/grit",
"+chrome/services/file_util/public/cpp",
"+chrome/test/base",
"+chrome/test/interaction",
]
specific_include_rules = {
"file_manager_browsertest_base.cc": [
"+chrome/browser/ui/tabs/tab_strip_model.h",
"+chrome/browser/ui/views/select_file_dialog_extension.h",
],
}