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[Builtin Hooks Options] 13clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp 14rustfmt = --config-path=rustfmt.toml 15 16[Hook Scripts] 17aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." 18checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} 19