Use static libbz for bzip2.
Everyone else is using a static copy (because everyone else is part of
the OTA system), so using a shared library just wastes space...
Before:
79776 /system/lib64/libbz.so
36264 /bin/bzip2
116040
After:
97200 /bin/bzip2
Test: adb shell ls -l
Change-Id: I90263a10d1fc989e049702a90d29851f47eb81fb
diff --git a/Android.bp b/Android.bp
index a2023e7..0eb9e23 100644
--- a/Android.bp
+++ b/Android.bp
@@ -51,7 +51,7 @@
"-Werror",
"-Wno-unused-parameter",
],
- shared_libs: ["libbz"],
+ static_libs: ["libbz"],
srcs: ["bzip2.c"],
stl: "none",
symlinks: [