Add AOSP preupload hook.

Test: repo upload in internal master
Change-Id: I8c3604dfa2701d2d82bc60d62562a65a62d7e05e
This commit is contained in:
Elliott Hughes 2020-04-23 11:05:06 -07:00
parent 19377a55c5
commit ed2889fc4d

View file

@ -1,8 +1,9 @@
[Hook Scripts]
notice = tools/update_notice.sh
[Builtin Hooks] [Builtin Hooks]
clang_format = true clang_format = true
[Builtin Hooks Options] [Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp 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} "."
notice = tools/update_notice.sh