summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2020-07-10 16:28:19 +0000
committerAurimas Liutikas <aurimas@google.com>2020-07-10 18:10:14 +0000
commitd5c5ac6adab22f1d78903b86f6b700ed6156055a (patch)
tree2bfdd0e61b0813c575bed08cbeab86cd08d814d7 /PREUPLOAD.cfg
parent8497789b3b3f78e8eec53e946654afd896436c60 (diff)
Revert "Temporarily disable checkstyle hook"
This reverts commit 8497789b3b3f78e8eec53e946654afd896436c60. Reason for revert: This was fixed, see b/160796554 Bug: 160796554 Change-Id: I42f8d6b76c7319522239517ac3aff6eee7d9084b
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 9b290c6a4760..2fd2e33bbc37 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -12,6 +12,8 @@ clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
services/incremental/
[Hook Scripts]
+checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
+
strings_lint_hook = ${REPO_ROOT}/frameworks/base/tools/stringslint/stringslint_sha.sh ${PREUPLOAD_COMMIT}
hidden_api_txt_checksorted_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}