Julien Desprez | 204b62b | 2018-09-17 10:02:19 -0700 | [diff] [blame] | 1 | [Builtin Hooks] |
| 2 | google_java_format = true |
| 3 | |
| 4 | [Tool Paths] |
| 5 | google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format |
| 6 | google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py |
| 7 | |
Julien Desprez | f228b5c | 2018-09-17 12:55:40 -0700 | [diff] [blame] | 8 | [Hook Scripts] |
| 9 | # `^.` is a RegExr that matches any character at the beginning, so this hook |
| 10 | # is basically applied to ALL files in a git commit. |
| 11 | aospcheck_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^." |