blob: 9b96f3691b55f393cab92b87a7ab7654024832f6 [file] [log] [blame]
Bowgo Tsai1aeb8d22017-03-08 16:32:23 +08001[Builtin Hooks]
2clang_format = true
David LeGareacd1ef72022-04-04 20:52:00 +00003rustfmt = true
Bowgo Tsai1aeb8d22017-03-08 16:32:23 +08004
5[Builtin Hooks Options]
6clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
David LeGareacd1ef72022-04-04 20:52:00 +00007rustfmt = --config-path=rustfmt.toml
Elliott Hughesdc6c7062020-04-23 11:02:00 -07008
9[Hook Scripts]
10aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."