| 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_mode", |
| |
| # 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/app_mode", |
| "+chrome/browser/apps/app_service", |
| "+chrome/browser/apps/platform_apps", |
| "+chrome/browser/ash/app_list/arc", |
| "+chrome/browser/ash/arc/kiosk", |
| "+chrome/browser/ash/arc/policy", |
| "+chrome/browser/ash/arc/session", |
| "+chrome/browser/ash/crosapi", |
| "+chrome/browser/ash/extensions", |
| "+chrome/browser/ash/login", |
| "+chrome/browser/ash/notifications", |
| "+chrome/browser/ash/ownership", |
| "+chrome/browser/ash/policy/core", |
| "+chrome/browser/ash/policy/enrollment", |
| "+chrome/browser/ash/policy/scheduled_task_handler", |
| "+chrome/browser/ash/profiles", |
| "+chrome/browser/ash/settings", |
| "+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/browser_process_platform_part.h", |
| "+chrome/browser/chromeos/app_mode", |
| "+chrome/browser/devtools", |
| "+chrome/browser/extensions/cws_item_service.pb.h", |
| "+chrome/browser/extensions/extension_service.h", |
| "+chrome/browser/extensions/extension_service_test_base.h", |
| "+chrome/browser/extensions/extension_special_storage_policy.h", |
| "+chrome/browser/extensions/external_loader.h", |
| "+chrome/browser/extensions/external_provider_impl.h", |
| "+chrome/browser/extensions/install_gate.h", |
| "+chrome/browser/extensions/install_tracker.h", |
| "+chrome/browser/extensions/pending_extension_manager.h", |
| "+chrome/browser/extensions/webstore_data_fetcher_delegate.h", |
| "+chrome/browser/extensions/webstore_data_fetcher.h", |
| "+chrome/browser/extensions/webstore_install_helper.h", |
| "+chrome/browser/image_decoder", |
| "+chrome/browser/lifetime", |
| "+chrome/browser/net", |
| "+chrome/browser/policy", |
| "+chrome/browser/profiles", |
| "+chrome/browser/ui/apps", |
| "+chrome/browser/ui/ash/multi_user", |
| "+chrome/browser/ui/ash/system_web_apps", |
| "+chrome/browser/ui/browser.h", |
| "+chrome/browser/ui/browser_list.h", |
| "+chrome/browser/ui/browser_window.h", |
| "+chrome/browser/ui/chromeos", |
| "+chrome/browser/ui/views/frame", |
| "+chrome/browser/ui/web_applications", |
| "+chrome/browser/web_applications/external_install_options.h", |
| "+chrome/browser/web_applications/externally_managed_app_manager.h", |
| "+chrome/browser/web_applications/test", |
| "+chrome/browser/web_applications/web_app_constants.h", |
| "+chrome/browser/web_applications/web_app_helpers.h", |
| "+chrome/browser/web_applications/web_app_install_info.h", |
| "+chrome/browser/web_applications/web_app_provider.h", |
| "+chrome/browser/web_applications/web_app_registrar.h", |
| "+chrome/browser/web_applications/web_app_registry_update.h", |
| "+chrome/browser/web_applications/web_app_ui_manager.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/initialize_extensions_client.h", |
| "+chrome/common/pref_names.h", |
| "+chrome/grit", |
| "+chrome/test/base", |
| ] |
| |
| specific_include_rules = { |
| "kiosk_troubleshooting_tools_browsertest.cc": [ |
| "+chrome/browser/ui/views/task_manager_view.h", |
| ], |
| } |