fastboot: `fastbootd` uses `libadbd.so`.
The size of `fastbootd` goes down from 64088-byte to 38488-byte
(aosp_taimen-userdebug) after the change.
Bug: 78793464
Test: `m -j installclean && m -j fastbootd`. Check that
$OUT/recovery/root/system/lib64/libadbd.so exists and
$OUT/recovery/root/system/bin/fastbootd depends on that.
Change-Id: Ic36c98da1a0dda4e0d86e671f858c42578f53f90
diff --git a/fastboot/Android.bp b/fastboot/Android.bp
index aa88a8a..e9bb1d7 100644
--- a/fastboot/Android.bp
+++ b/fastboot/Android.bp
@@ -101,23 +101,20 @@
],
shared_libs: [
- "libasyncio",
- "libext4_utils",
- "libsparse",
- "liblog",
"android.hardware.boot@1.0",
- "libbootloader_message",
- "libhidltransport",
- "libhidlbase",
- "libhwbinder",
- "libbase",
- "libutils",
- "libcutils",
- "libfs_mgr",
- ],
-
- static_libs: [
"libadbd",
+ "libasyncio",
+ "libbase",
+ "libbootloader_message",
+ "libcutils",
+ "libext4_utils",
+ "libfs_mgr",
+ "libhidlbase",
+ "libhidltransport",
+ "libhwbinder",
+ "liblog",
+ "libsparse",
+ "libutils",
],
cpp_std: "c++17",