[Builtin Hooks] | |
aidl_format = true | |
android_test_mapping_format = true | |
bpfmt = true | |
clang_format = true | |
jsonlint = true | |
pylint3 = true | |
rustfmt = true | |
xmllint = true | |
[Builtin Hooks Options] | |
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp | |
rustfmt = --config-path=rustfmt.toml | |
[Hook Scripts] | |
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." | |
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} |