DO NOT MERGE: Build libinstall as a static library.
It was once considered to be shared between recovery and minadbd, so
that the latter can start an install on its own. The plan has been
changed, since package install -- including device wipe operations --
could be device-specific, which should be done by recovery only.
This CL moves libinstall back to a static library, which also saves the
overall size (reducing from 140256 + 660576 to 555880 bytes on
aosp_taimen-userdebug).
Bug: 130166585
Test: Run recovery_component_test.
Test: `adb sideload` on taimen.
Change-Id: Ib1f5f79f235df4682c0bd104425c9c122f6091ba
diff --git a/install/Android.bp b/install/Android.bp
index aa47990..221ce72 100644
--- a/install/Android.bp
+++ b/install/Android.bp
@@ -47,7 +47,7 @@
],
}
-cc_library {
+cc_library_static {
name: "libinstall",
recovery_available: true,