blob: 023d48b9352d796ee71c35c111809f6634d22a30 [file] [log] [blame]
Tao Bao6b1aae32017-09-26 15:37:59 -07001[Builtin Hooks]
2clang_format = true
3
4[Builtin Hooks Options]
5# Handle native codes only.
6clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
Zhomart Mukhamejanov0e007e82018-04-17 16:09:31 -07007
8[Hook Scripts]
Elliott Hughesf393cef2021-09-23 14:02:10 -07009aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."
Zhomart Mukhamejanov0e007e82018-04-17 16:09:31 -070010checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
Tao Bao6394a732018-04-30 15:38:14 -070011 --file_whitelist tools/ updater_sample/