PREUPLOAD: Add checkpatch hook

Test: hook works
Bug: 116032043
Change-Id: I9ce8bb7958f2fd699c37e0e854069cbb8282dfe4
Signed-off-by: Wei Wang <wvw@google.com>
This commit is contained in:
Wei Wang
2018-09-18 12:22:02 -07:00
parent 0c0d26ecd6
commit 1eefa6b85d

2
PREUPLOAD.cfg Normal file
View File

@@ -0,0 +1,2 @@
[Hook Scripts]
checkpatch_hook = ${REPO_ROOT}/build/static_analysis/checkpatch.sh --git_sha1 ${PREUPLOAD_COMMIT}