blob: 0e2dd2f98208f3192fca6f8ba0ae0d451638bf8b [file] [log] [blame]
shafik8b57cd52019-09-06 10:51:29 +01001[Builtin Hooks]
2clang_format = true
3
4[Builtin Hooks Options]
5clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
Paul Duffin427b7782021-06-28 23:58:22 +01006
7[Hook Scripts]
8hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
Dipankar Bhardwajc8986ef2022-03-17 17:40:05 +00009
10checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}