summaryrefslogtreecommitdiffstats
path: root/PREUPLOAD.cfg
blob: 023d48b9352d796ee71c35c111809f6634d22a30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
[Builtin Hooks]
clang_format = true

[Builtin Hooks Options]
# Handle native codes only.
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp

[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}
                  --file_whitelist tools/ updater_sample/