1[Builtin Hooks] 2aidl_format = true 3android_test_mapping_format = true 4bpfmt = true 5clang_format = true 6jsonlint = true 7google_java_format = true 8pylint3 = true 9rustfmt = true 10xmllint = true 11 12[Tool Paths] 13google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format 14google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py 15 16[Builtin Hooks Options] 17clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp 18rustfmt = --config-path=rustfmt.toml 19 20[Hook Scripts] 21aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." 22