2020-10-13 10:47:44 +00:00
|
|
|
[Builtin Hooks]
|
2021-03-11 11:11:55 +00:00
|
|
|
aidl_format = true
|
|
|
|
android_test_mapping_format = true
|
2020-10-19 13:00:36 +00:00
|
|
|
bpfmt = true
|
2020-10-19 12:16:49 +00:00
|
|
|
clang_format = true
|
2021-03-11 11:11:55 +00:00
|
|
|
jsonlint = true
|
2021-03-11 16:53:45 +00:00
|
|
|
google_java_format = true
|
2021-03-11 11:11:55 +00:00
|
|
|
pylint3 = true
|
2020-10-13 10:47:44 +00:00
|
|
|
rustfmt = true
|
2021-03-11 11:11:55 +00:00
|
|
|
xmllint = true
|
2020-10-13 10:47:44 +00:00
|
|
|
|
|
|
|
[Builtin Hooks Options]
|
2020-10-19 12:16:49 +00:00
|
|
|
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
|
2020-10-13 10:47:44 +00:00
|
|
|
rustfmt = --config-path=rustfmt.toml
|
2020-10-13 13:03:24 +00:00
|
|
|
|
|
|
|
[Hook Scripts]
|
|
|
|
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."
|
2020-10-19 13:00:36 +00:00
|
|
|
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|