chromium/chrome/browser/ash/DEPS

include_rules = [
  # See README.md.
  "+ash",

  "+components/guest_os",
  "+dbus",

  # For logging via the CD_LOG macro.
  "+components/cross_device/logging/logging.h",


  # ChromeOS should not depend on //chrome. See //docs/chromeos/code.md for
  # details.
  "-chrome",

  # These dependencies are currently in //chrome but are semantically part of
  # ChromeOS.
  "+chrome/browser/apps",
  "+chrome/browser/ash",
  "+chrome/browser/browser_process_platform_part_ash.h",
  "+chrome/browser/chromeos",
  "+chrome/browser/sharesheet",
  "+chrome/browser/ui/ash",
  "+chrome/browser/ui/webui/ash",

  # This directory holds many files, each of which represents an individual
  # component. Many components are ChromeOS-only.
  "+chrome/browser/component_updater",

  # Dependencies on //chrome. Try to avoid adding new dependencies. Exceptions
  # are allowed for now. https://crbug.com/1506357.
  "+chrome/browser/accessibility/service/accessibility_service_router_factory.h",
  "+chrome/browser/browser_process.h",
  "+chrome/browser/browser_process_platform_part.h",
  "+chrome/browser/chrome_browser_main_linux.h",
  "+chrome/browser/defaults.h",
  "+chrome/browser/device_identity/device_oauth2_token_service_factory.h",
  "+chrome/browser/first_run/first_run.h",
  "+chrome/browser/lifetime/application_lifetime.h",
  "+chrome/browser/memory/memory_kills_monitor.h",
  "+chrome/browser/metrics/chrome_feature_list_creator.h",
  "+chrome/browser/metrics/structured/chrome_structured_metrics_delegate.h",
  "+chrome/browser/net/chrome_network_delegate.h",
  "+chrome/browser/net/system_network_context_manager.h",
  "+chrome/browser/notifications/notification_display_service.h",
  "+chrome/browser/notifications/notification_display_service_factory.h",
  "+chrome/browser/profiles/profile.h",
  "+chrome/browser/profiles/profile_manager.h",
  "+chrome/browser/scalable_iph/scalable_iph_factory_impl.h",
  "+chrome/browser/speech/cros_speech_recognition_service_factory.h",
  "+chrome/browser/speech/extension_api/tts_engine_extension_observer_chromeos.h",
  "+chrome/browser/startup_data.h",
  "+chrome/browser/task_manager/task_manager_interface.h",
  "+chrome/browser/tracing/chrome_tracing_delegate.h",
  "+chrome/browser/ui/browser.h",
  "+chrome/browser/ui/browser_list.h",
  "+chrome/browser/ui/browser_list_observer.h",
  "+chrome/browser/ui/browser_tabstrip.h",
  "+chrome/browser/ui/browser_window.h",
  "+chrome/browser/ui/settings_window_manager_chromeos.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/logging_chrome.h",
  "+chrome/common/pref_names.h",
  "+chrome/common/webui_url_constants.h",
  "+chrome/grit/generated_resources.h",
  "+chrome/test/base/in_process_browser_test.h",

  # Code in the ash-chrome binary must not use lacros-chrome code.
  "-chrome/browser/lacros",
  "-chrome/browser/ui/lacros",
  "-chrome/browser/ui/quick_answers/lacros",
  "-chrome/browser/sync/test/lacros",

]

specific_include_rules = {
  ".*test\.cc": [
    "+chrome/browser/ui/views/chrome_layout_provider.h",
  ],
  "mahi_ui_browsertest\.cc": [
    "+chrome/browser/ui/views/mahi/mahi_menu_view.h",
    "+chrome/browser/ui/views/mahi/mahi_menu_constants.h",
  ],
}