blob: a6b1f9588db46cb1a2255e9ad4e63d2df74273f0 [file] [log] [blame]
[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}