From abe058c0f02fa34af186ce9ac642fd7369aebee8 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 26 Mar 2018 09:38:01 -0600 Subject: 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 --- PREUPLOAD.cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'PREUPLOAD.cfg') 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} -- cgit v1.2.3