diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index 11d9fe624..b4223eaf8 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -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