[Builtin Hooks] clang_format = true rustfmt = true [Builtin Hooks Options] clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp rustfmt = --check --config-path=rustfmt.toml ${PREUPLOAD_FILES} [Hook Scripts] aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."