Add AOSP preupload hook.

Test: repo upload in internal master
Change-Id: I98d7e9e51ca2f2a03ea1223f6749007e5b3f9b9f
This commit is contained in:
Elliott Hughes 2020-04-23 11:02:00 -07:00
parent 67095b28de
commit dc6c706003

View file

@ -3,3 +3,6 @@ clang_format = true
[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} "."