Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 1 | [Builtin Hooks] |
David Brazdil | 850e24f | 2021-03-11 11:11:55 +0000 | [diff] [blame] | 2 | aidl_format = true |
| 3 | android_test_mapping_format = true |
Andrew Scull | 11e6a29 | 2020-10-19 14:00:36 +0100 | [diff] [blame] | 4 | bpfmt = true |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame] | 5 | clang_format = true |
David Brazdil | 850e24f | 2021-03-11 11:11:55 +0000 | [diff] [blame] | 6 | jsonlint = true |
| 7 | pylint3 = true |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 8 | rustfmt = true |
David Brazdil | 850e24f | 2021-03-11 11:11:55 +0000 | [diff] [blame] | 9 | xmllint = true |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 10 | |
| 11 | [Builtin Hooks Options] |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame] | 12 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 13 | rustfmt = --config-path=rustfmt.toml |
Andrew Scull | 89330a0 | 2020-10-13 14:03:24 +0100 | [diff] [blame] | 14 | |
| 15 | [Hook Scripts] |
| 16 | aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." |
Andrew Scull | 11e6a29 | 2020-10-19 14:00:36 +0100 | [diff] [blame] | 17 | checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} |