summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2017-11-10 15:43:17 -0500
committerJason Monk <jmonk@google.com>2017-11-13 13:25:05 -0500
commit53b2a73c375abcb20c0c8ec404720513555c5365 (patch)
tree137a22ad3ce569fb8b48c8090202c98d021b6cd7 /PREUPLOAD.cfg
parentae5eb83a32a2005bd2c872bdf7b0621190ddb062 (diff)
Add api lint to upload checks
Currently will never block upload, only considered a warning, but will print out any lint issues discovered. Test: do an upload Bug: 69115822 Change-Id: I69b8e5a3f92ac28ee3c954408e88a1056c33af65
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 50a597407e58..711c12d20a84 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -7,3 +7,4 @@ checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPL
services/print/
services/usb/
+api_lint_hook = ${REPO_ROOT}/frameworks/base/tools/apilint/apilint_sha.sh ${PREUPLOAD_COMMIT}