blob: f47c3171c9a2afd4c498c9ea1c547a41e3af8e6d [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
Steven Moreland571d4fa2024-06-04 23:10:06 +00004bpfmt = true
Bowgo Tsai1aeb8d22017-03-08 16:32:23 +08005
6[Builtin Hooks Options]
7clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
David LeGareacd1ef72022-04-04 20:52:00 +00008rustfmt = --config-path=rustfmt.toml
Elliott Hughesdc6c7062020-04-23 11:02:00 -07009
10[Hook Scripts]
11aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."