android_frameworks_base/PREUPLOAD.cfg
Aurimas Liutikas 2c5aa790aa Enable checkstyle for all frameworks/base projects.
We've been slowly rolling out checkstyle to frameworks/base by 
whitelisting new directories, at this point we have most active directories, so let's make it enabled for everyone.

Change-Id: I7d350c2bbb9fcd1019abd1addb035ce5e9e05acc
Test: None
2018-10-30 23:44:40 +00:00

13 lines
603 B
INI

[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
api_lint_hook = ${REPO_ROOT}/frameworks/base/tools/apilint/apilint_sha.sh ${PREUPLOAD_COMMIT}
strings_lint_hook = ${REPO_ROOT}/frameworks/base/tools/stringslint/stringslint_sha.sh ${PREUPLOAD_COMMIT}
hidden_api_txt_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"