blob: a6b1f9588db46cb1a2255e9ad4e63d2df74273f0 [file] [log] [blame]
Andrew Scull3a5ad752020-10-13 11:47:44 +01001[Builtin Hooks]
David Brazdil850e24f2021-03-11 11:11:55 +00002aidl_format = true
3android_test_mapping_format = true
Andrew Scull11e6a292020-10-19 14:00:36 +01004bpfmt = true
Andrew Scullc09e2252020-10-19 13:16:49 +01005clang_format = true
David Brazdil850e24f2021-03-11 11:11:55 +00006jsonlint = true
7pylint3 = true
Andrew Scull3a5ad752020-10-13 11:47:44 +01008rustfmt = true
David Brazdil850e24f2021-03-11 11:11:55 +00009xmllint = true
Andrew Scull3a5ad752020-10-13 11:47:44 +010010
11[Builtin Hooks Options]
Andrew Scullc09e2252020-10-19 13:16:49 +010012clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
Andrew Scull3a5ad752020-10-13 11:47:44 +010013rustfmt = --config-path=rustfmt.toml
Andrew Scull89330a02020-10-13 14:03:24 +010014
15[Hook Scripts]
16aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."
Andrew Scull11e6a292020-10-19 14:00:36 +010017checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}