Merge "Ashmemd PREUPLOAD.cfg"
am: a16ca65bf2

Change-Id: I574fa3f1d81d9a98ad745a8fcd34ac2a2037f5cb
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