OSDN Git Service

Add linter for strings.xml.
authorJeff Sharkey <jsharkey@android.com>
Mon, 26 Mar 2018 15:38:01 +0000 (09:38 -0600)
committerJeff Sharkey <jsharkey@android.com>
Mon, 26 Mar 2018 17:04:48 +0000 (11:04 -0600)
commitabe058c0f02fa34af186ce9ac642fd7369aebee8
tree584041014c78489cc70a40ec4c1d627994f719c9
parentb133cbfd0b5afb0217ee45c8e26847465c6a717a
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
tools/stringslint/stringslint.py [new file with mode: 0644]
tools/stringslint/stringslint_sha.sh [new file with mode: 0755]