Skip to content

Commit

Permalink
Add AOSP preupload hook.
Browse files Browse the repository at this point in the history
Test: repo upload in internal master
Change-Id: I8c3604dfa2701d2d82bc60d62562a65a62d7e05e
  • Loading branch information
enh-google committed Apr 23, 2020
1 parent 19377a5 commit ed2889f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions PREUPLOAD.cfg
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ed2889f

Please sign in to comment.