Make libbinder a shared library only (not static).
Letting the library be statically linked does a couple of bad things:
- (importantly) allows its internal implementation details to become frozen
- (still important) uses extra space on this device
For these reasons, it is being made shared-only.
Test: boot Pixel 2
Bug: 111454508
Change-Id: I787b9979646230485f7a2b3aa8ad949c7649bc88
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 715c1c1..ba542cb 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -28,7 +28,7 @@
],
}
-cc_library {
+cc_library_shared {
name: "libbinder",
// for vndbinder