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