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