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
|
2022-11-14 15:51:13 +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
|
|
|
|
2022-11-14 15:51:13 +00:00
|
|
|
[Tool Paths]
|
|
|
|
google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
|
|
|
|
google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py
|
|
|
|
|
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} "."
|