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
This commit is contained in:
Tao Bao 2018-08-06 19:13:38 -07:00
parent 70306b9271
commit b71eedf912

View file

@ -101,23 +101,20 @@ cc_binary {
],
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",