Ashmemd PREUPLOAD.cfg

Change-Id: I12a7f83ae5ba2c7ec02c76b2e038069f42d61f90
Test: manually tested with repo upload .
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 0000000..827f640
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,10 @@
+[Options]
+ignore_merged_commits = true
+
+# Ensure that bp files are correctly formatted.
+# Note: uses libcore's script.
+[Hook Scripts]
+bpfmt-check = ${REPO_ROOT}/libcore/tools/check-bpfmt.sh ${PREUPLOAD_COMMIT}
+
+[Builtin Hooks]
+clang_format = true