Strings are tedious to get right, so write a lint script that catches common errors to warn developers before they're uploaded. Test: builds, boots Bug: 76097999 Change-Id: I9826ca796c17cd93a100951d56214653de63a379
14 lines
628 B
INI
14 lines
628 B
INI
[Hook Scripts]
|
|
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|
|
-fw core/java/android/
|
|
graphics/java/android
|
|
core/tests/coretests/src/android/
|
|
packages/PrintRecommendationService/
|
|
packages/PrintSpooler/
|
|
services/print/
|
|
services/usb/
|
|
|
|
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}
|