Add preupload hook to encourage submission to AOSP
Where possible, development should happen in AOSP so add a hook to
remind developers of this if it looks like they're trying to do
something else.
Test: N/A
Change-Id: I211de2daad2b67a3008e40043bb2da941d13548b
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 75ed57c..374db91 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -3,3 +3,6 @@
[Builtin Hooks Options]
rustfmt = --config-path=rustfmt.toml
+
+[Hook Scripts]
+aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."