summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-03-26 09:38:01 -0600
committerJeff Sharkey <jsharkey@android.com>2018-03-26 11:04:48 -0600
commitabe058c0f02fa34af186ce9ac642fd7369aebee8 (patch)
tree584041014c78489cc70a40ec4c1d627994f719c9 /PREUPLOAD.cfg
parentb133cbfd0b5afb0217ee45c8e26847465c6a717a (diff)
Add linter for strings.xml.
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
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 2a67b7557f2c..6c3951da3883 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -9,3 +9,5 @@ checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPL
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}