You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
529 B
19 lines
529 B
[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
|
|
|
|
[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} "."
|
|
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|