Link to libprotobuf dynamically
This reduces update_engine_sideload from 3.15M to 3.12M
Test: th
Bug: 295485073
Change-Id: I1e5821d08c0aec4874b77a517f974280360b4ece
diff --git a/Android.bp b/Android.bp
index 4db429d..610e7ba 100644
--- a/Android.bp
+++ b/Android.bp
@@ -604,6 +604,7 @@
"libbase",
"liblog",
"liblz4",
+ "libprotobuf-cpp-lite",
],
static_libs: [
"libpayload_consumer",
@@ -616,7 +617,6 @@
"libgkiprops",
"libevent",
"libmodpb64",
- "libprotobuf-cpp-lite",
"libbrillo-stream",
"libbrillo",
"libchrome",
@@ -624,7 +624,6 @@
target: {
recovery: {
exclude_shared_libs: [
- "libprotobuf-cpp-lite",
"libbrillo-stream",
"libbrillo",
"libchrome",