Update for libunwindstack adding libz.
The static version of libunwindstack includes libz, so remove libz
from the list of static libraries when it is included.
Bug: 309857311
Test: Builds.
Change-Id: Ib9a2997a878ea99992efb84290b756afc2fe1f0a
diff --git a/runtime/Android.bp b/runtime/Android.bp
index fcac3b4..631b0df 100644
--- a/runtime/Android.bp
+++ b/runtime/Android.bp
@@ -624,6 +624,9 @@
"libnativebridge",
"libodrstatslog",
"libunwindstack",
+ ],
+ exclude_static_libs: [
+ // This library comes from the static version of libunwindstack.
"libz",
],
target: {