blob: 45519d442c90989ade6ceb07a5a4399317f23dbe [file] [log] [blame]
[Builtin Hooks]
aidl_format = true
android_test_mapping_format = true
bpfmt = true
clang_format = true
jsonlint = true
google_java_format = true
pylint3 = true
rustfmt = true
xmllint = true
[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
[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
rustfmt = --config-path=rustfmt.toml
[Hook Scripts]
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."