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 |
Alice Wang | 6e646f1 | 2022-11-14 15:51:13 +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 | |
Alice Wang | 6e646f1 | 2022-11-14 15:51:13 +0000 | [diff] [blame] | 12 | [Tool Paths] |
| 13 | google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format |
| 14 | google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py |
| 15 | |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 16 | [Builtin Hooks Options] |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame] | 17 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 18 | rustfmt = --config-path=rustfmt.toml |
Andrew Scull | 89330a0 | 2020-10-13 14:03:24 +0100 | [diff] [blame] | 19 | |
| 20 | [Hook Scripts] |
| 21 | aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." |