Merge "Add AOSP preupload hook."

This commit is contained in:
Treehugger Robot 2020-04-23 20:15:00 +00:00 committed by Gerrit Code Review
commit c33ad20258

View file

@ -1,8 +1,9 @@
[Hook Scripts]
notice = tools/update_notice.sh
[Builtin Hooks]
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} "."
notice = tools/update_notice.sh