summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PREUPLOAD.cfg6
-rw-r--r--applypatch/Android.bp1
-rw-r--r--tests/Android.mk1
3 files changed, 8 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 000000000..b5f5f0362
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,6 @@
+[Builtin Hooks]
+clang_format = true
+
+[Builtin Hooks Options]
+# Handle native codes only.
+clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
diff --git a/applypatch/Android.bp b/applypatch/Android.bp
index 922f67abf..4d2d4b76a 100644
--- a/applypatch/Android.bp
+++ b/applypatch/Android.bp
@@ -158,6 +158,7 @@ cc_binary_host {
"libbase",
"libutils",
"liblog",
+ "libbrotli",
"libbz",
"libz",
],
diff --git a/tests/Android.mk b/tests/Android.mk
index b0f71a832..8ebb60308 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -208,6 +208,7 @@ LOCAL_STATIC_LIBRARIES := \
libutils \
libbase \
libcrypto \
+ libbrotli \
libbz \
libdivsufsort64 \
libdivsufsort \