chromium/components/autofill/core/browser/DEPS

include_rules = [
  "+components/browser_ui/device_lock/android",
  # TODO(crbug.com/40260352): Remove once the cause of the bug is understood.
  "+components/crash/core/common/crash_key.h",
  "+components/device_reauth/device_authenticator.h",
  "+components/feature_engagement",
  "+components/google/core/common/google_util.h",
  "+components/grit/components_scaled_resources.h",
  "+components/history/core/browser",
  "+components/infobars/core",
  "+components/keyed_service/core",
  "+components/language/core/browser",
  "+components/leveldb_proto",
  "+components/metrics",
  "+components/optimization_guide",
  "+components/optimization_guide/core",
  "+components/profile_metrics",
  "+components/policy",
  "+components/resources",
  "+components/security_state",
  "+components/security_interstitials/core/insecure_form_util.h",
  "+components/security_interstitials/core/pref_names.h",
  "+components/signin/public",
  "+components/strings",
  "+components/sync",
  "+components/translate/core/browser",
  "+components/translate/core/common",
  "+components/variations",
  "+components/version_info",
  "+components/webdata/common",
  "+components/webdata_services",
  "+crypto/hkdf.h",
  "+crypto/random.h",
  "+google_apis/common",
  "+google_apis/gaia",
  "+google_apis/google_api_keys.h",
  "+net",
  "+services/metrics/public",
  "+services/network/public",
  "+services/network/test",
  "+sql",
  "+third_party/icu/fuzzers/fuzzer_utils.h", # For fuzz-tests.
  "+third_party/libaddressinput", # For address i18n.
  "+third_party/libphonenumber",  # For phone number i18n.
  "+third_party/re2",
  "+third_party/tflite",
  "+third_party/tflite_support",
  "+ui/accessibility",
  "+ui/base",
  "+ui/gfx",
]

specific_include_rules = {
  ".*test.(cc|h)": [
    "+components/device_reauth",
    "+content/public/test",
  ],
  "autofill_manager_unittest\.cc": [
    "+components/ukm",
  ],
  "autofill_metrics_unittest\.cc": [
    "+components/ukm",
  ],
  "(test_)?credit_card_fido_authenticator\.(cc|h)": [
    "+device/fido/authenticator_selection_criteria.h",
    "+device/fido/fido_constants.h",
    "+device/fido/fido_types.h",
    "+third_party/blink/public/mojom/webauthn",
  ],
  "(test_)?internal_authenticator\.h": [
    "+device/fido/fido_constants.h",
    "+third_party/blink/public/mojom/webauthn",
  ],
  "autofill_driver\.h": [
    "+third_party/blink/public/mojom/webauthn",
  ],
  "test_autofill_driver\.h": [
    "+components/autofill/content/browser/content_autofill_driver.h",
    "+components/autofill/core/browser/autofill_driver_router.h",
  ],
  "credit_card_access_manager(_unittest)?\.cc": [
    "+components/device_reauth",
    "+content/public/test",
  ],
  "credit_card_save_manager_unittest\.cc": [
    "+components/ukm",
  ],
  "test_autofill_client\.h": [
    "+components/device_reauth",
    "+components/ukm",
  ],
  "password_requirements_spec_fetcher_unittest\.cc": [
    "+services/network/test",
  ],
  "autofill_image_fetcher(_unittest)?\.cc": [
    "+components/image_fetcher",
  ],
  "autofill_optimization_guide(_unittest)?\.(cc|h)": [
    "+components/optimization_guide",
  ],
}