Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 1 | [Builtin Hooks] |
Andrew Scull | 11e6a29 | 2020-10-19 14:00:36 +0100 | [diff] [blame] | 2 | bpfmt = true |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame] | 3 | clang_format = true |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 4 | rustfmt = true |
| 5 | |
| 6 | [Builtin Hooks Options] |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame] | 7 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 8 | rustfmt = --config-path=rustfmt.toml |
Andrew Scull | 89330a0 | 2020-10-13 14:03:24 +0100 | [diff] [blame] | 9 | |
| 10 | [Hook Scripts] |
| 11 | 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] | 12 | checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} |