Skip to content

Commit ed2889f

Browse files
committed
Add AOSP preupload hook.
Test: repo upload in internal master Change-Id: I8c3604dfa2701d2d82bc60d62562a65a62d7e05e
1 parent 19377a5 commit ed2889f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

PREUPLOAD.cfg

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
[Hook Scripts]
2-
notice = tools/update_notice.sh
3-
41
[Builtin Hooks]
52
clang_format = true
63

74
[Builtin Hooks Options]
85
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
6+
7+
[Hook Scripts]
8+
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."
9+
notice = tools/update_notice.sh

0 commit comments

Comments
 (0)