libz has to be a shared library as the apex complains that it cannot be
statically linked.
Bug: 206121418
Test: Compile
Change-Id: I32dfc24978ea64c20db60d841aea9e0ccaacedb0
diff --git a/Android.bp b/Android.bp
index bd547c9..5f16056 100644
--- a/Android.bp
+++ b/Android.bp
@@ -52,6 +52,9 @@
"//apex_available:platform",
"com.android.bluetooth",
],
+ shared_libs: [
+ "libz",
+ ],
stl: "libc++",
min_sdk_version: "30"
}
@@ -963,7 +966,6 @@
],
whole_static_libs: [
"libgrpc_trace",
- "libz",
],
shared_libs: [
"liblog",