1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
include_rules = [
# go/keep-sorted start
"+components/browser_ui/device_lock/android",
"+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/image_fetcher",
"+components/infobars/core",
"+components/keyed_service/core",
"+components/language/core/browser",
"+components/language_detection/core",
"+components/leveldb_proto",
"+components/metrics",
"+components/optimization_guide",
"+components/optimization_guide/core",
"+components/password_manager/core/browser/features/password_features.h",
"+components/payments/core/currency_formatter.h",
"+components/policy",
"+components/profile_metrics",
"+components/resources",
"+components/security_interstitials/core/insecure_form_util.h",
"+components/security_interstitials/core/pref_names.h",
"+components/security_state",
"+components/signin/public",
"+components/strings",
"+components/sync",
"+components/sync_preferences",
"+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",
"+crypto/sha2.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/jni_zero",
"+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",
# go/keep-sorted end
]
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",
],
}
|