Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 1 | [Builtin Hooks] |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame^] | 2 | clang_format = true |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 3 | rustfmt = true |
| 4 | |
| 5 | [Builtin Hooks Options] |
Andrew Scull | c09e225 | 2020-10-19 13:16:49 +0100 | [diff] [blame^] | 6 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |
Andrew Scull | 3a5ad75 | 2020-10-13 11:47:44 +0100 | [diff] [blame] | 7 | rustfmt = --config-path=rustfmt.toml |
Andrew Scull | 89330a0 | 2020-10-13 14:03:24 +0100 | [diff] [blame] | 8 | |
| 9 | [Hook Scripts] |
| 10 | aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." |