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/app_list",
# 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/vector_icons",
"+chrome/browser/apps",
"+chrome/browser/ash/app_restore",
"+chrome/browser/ash/arc",
"+chrome/browser/ash/borealis",
"+chrome/browser/ash/bruschetta",
"+chrome/browser/ash/crosapi",
"+chrome/browser/ash/crostini",
"+chrome/browser/ash/drive",
"+chrome/browser/ash/extensions",
"+chrome/browser/ash/file_manager",
"+chrome/browser/ash/file_suggest",
"+chrome/browser/ash/guest_os",
"+chrome/browser/ash/hats",
"+chrome/browser/ash/login",
"+chrome/browser/ash/plugin_vm",
"+chrome/browser/ash/profiles",
"+chrome/browser/ash/release_notes",
"+chrome/browser/ash/remote_apps",
"+chrome/browser/ash/system_web_apps",
"+chrome/browser/autocomplete",
"+chrome/browser/bitmap_fetcher",
"+chrome/browser/bookmarks",
"+chrome/browser/browser_process.h",
"+chrome/browser/chromeos/launcher_search",
"+chrome/browser/extensions/chrome_app_icon.h",
"+chrome/browser/extensions/context_menu_matcher.h",
"+chrome/browser/extensions/extension_browsertest.h",
"+chrome/browser/extensions/extension_service.h",
"+chrome/browser/extensions/extension_service_test_base.h",
"+chrome/browser/extensions/extension_ui_util.h",
"+chrome/browser/extensions/extension_util.h",
"+chrome/browser/extensions/install_tracker_factory.h",
"+chrome/browser/extensions/install_tracker.h",
"+chrome/browser/extensions/launch_util.h",
"+chrome/browser/extensions/menu_manager_factory.h",
"+chrome/browser/extensions/menu_manager.h",
"+chrome/browser/extensions/pending_extension_manager.h",
"+chrome/browser/favicon",
"+chrome/browser/feature_engagement",
"+chrome/browser/history",
"+chrome/browser/image_decoder",
"+chrome/browser/metrics",
"+chrome/browser/notifications",
"+chrome/browser/platform_util.h",
"+chrome/browser/policy",
"+chrome/browser/profiles",
"+chrome/browser/scalable_iph",
"+chrome/browser/screen_ai",
"+chrome/browser/search_engines",
"+chrome/browser/signin",
"+chrome/browser/sync",
"+chrome/browser/trusted_vault",
"+chrome/browser/ui/app_icon_loader_delegate.h",
"+chrome/browser/ui/app_icon_loader.h",
"+chrome/browser/ui/app_list",
"+chrome/browser/ui/ash",
"+chrome/browser/ui/browser_commands.h",
"+chrome/browser/ui/browser_finder.h",
"+chrome/browser/ui/browser.h",
"+chrome/browser/ui/browser_list.h",
"+chrome/browser/ui/browser_navigator.h",
"+chrome/browser/ui/browser_navigator_params.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/web_applications",
"+chrome/browser/ui/webui/ash/settings/app_management",
"+chrome/browser/ui/webui/ash/settings/calculator",
"+chrome/browser/ui/webui/ash/settings/pages/storage",
"+chrome/browser/ui/webui/ash/settings/search",
"+chrome/browser/ui/webui/ash/settings/services/settings_manager",
"+chrome/browser/ui/webui/ash/settings/test_support",
"+chrome/browser/ui/webui/chrome_web_ui_controller_factory.h",
"+chrome/browser/web_applications/externally_managed_app_manager.h",
"+chrome/browser/web_applications/mojom",
"+chrome/browser/web_applications/test",
"+chrome/browser/web_applications/web_app_command_manager.h",
"+chrome/browser/web_applications/web_app_icon_manager.h",
"+chrome/browser/web_applications/web_app_id_constants.h",
"+chrome/browser/web_applications/web_app_install_info.h",
"+chrome/browser/web_applications/web_app_provider.h",
"+chrome/common/channel_info.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/common/webui_url_constants.h",
"+chrome/grit",
"+chrome/test/base",
# Dependencies outside of //chrome:
"+ash/app_list/model",
"+ash/resources",
"+ash/strings",
"+components/app_constants",
"+components/services/app_service/public",
]
specific_include_rules = {
"app_service_app_item_browsertest\.cc": [
"+ash/app_list/app_list_controller_impl.h",
"+ash/app_list/app_list_model_provider.h",
"+ash/app_list/model/app_list_item.h",
"+ash/shell.h",
],
"app_list_sort_browsertest\.cc": [
"+ash/app_list/app_list_model_provider.h",
"+ash/app_list/views/app_list_item_view.h",
"+ash/app_list/views/app_list_menu_model_adapter.h",
"+ash/app_list/views/apps_grid_context_menu.h",
"+ash/app_list/views/apps_grid_view.h",
"+ash/shell.h",
],
"app_list_syncable_service_unittest\.cc": [
"+cc/base/math_util.h",
],
}