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 |
David Brazdil | cf3270b | 2021-03-11 16:53:45 +0000 | [diff] [blame^] | 7 | google_java_format = true |
David Brazdil | 850e24f | 2021-03-11 11:11:55 +0000 | [diff] [blame] | 8 | pylint3 = true |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 9 | rustfmt = true |
David Brazdil | 850e24f | 2021-03-11 11:11:55 +0000 | [diff] [blame] | 10 | xmllint = true |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 11 | |
| 12 | [Builtin Hooks Options] |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame] | 13 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 14 | rustfmt = --config-path=rustfmt.toml |
Andrew Scull | 89330a0 | 2020-10-13 14:03:24 +0100 | [diff] [blame] | 15 | |
| 16 | [Hook Scripts] |
| 17 | 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] | 18 | checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} |