1[Builtin Hooks]
2clang_format = true
3rustfmt = true
4
5[Builtin Hooks Options]
6clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
7rustfmt = --check --config-path=rustfmt.toml ${PREUPLOAD_FILES}
8
9[Hook Scripts]
10aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."
11