commit | dc6c7060039a137cb3e68cc5d019d88d5fc95c5b | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Apr 23 11:02:00 2020 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Apr 23 11:02:00 2020 -0700 |
tree | 6885d9dc654b8711223744554e0629a82d6480fd | |
parent | 67095b28de43087e74b93b8f913338bb2d40a0b7 [diff] |
Add AOSP preupload hook. Test: repo upload in internal master Change-Id: I98d7e9e51ca2f2a03ea1223f6749007e5b3f9b9f
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index c8dbf77..dcf92be 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg
@@ -3,3 +3,6 @@ [Builtin Hooks Options] clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp + +[Hook Scripts] +aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."