Browse Source

Add string linter preupload check

Bug: 76097999
Test: repo upload
Change-Id: Ieb31c931d73a4325f605963b374ca7a2d568e08c
Fan Zhang 1 year ago
parent
commit
4b2c171288
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      PREUPLOAD.cfg

+ 2
- 0
PREUPLOAD.cfg View File

@@ -1,3 +1,5 @@
1 1
 [Hook Scripts]
2 2
 checkcolor_hook = ${REPO_ROOT}/prebuilts/checkcolor/checkcolor.py -p .
3 3
 
4
+strings_lint_hook = ${REPO_ROOT}/frameworks/base/tools/stringslint/stringslint_sha.sh ${PREUPLOAD_COMMIT}
5
+