1[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
7
8[Hook Scripts]
9aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."
10checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
11                  --file_whitelist tools/ updater_sample/
12