From 5ee3eba34f0ddf478f53ac4d0774c1ee423a5182 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Fri, 27 Mar 2020 20:37:07 -0700 Subject: minadbd: statically link libadbd. Reduce the amount of wasted space on the recovery image by statically linking all of the adb libraries into minadbd. Bug: http://b/150317254 Test: booted aosp_walleye-eng into recovery Change-Id: I5233b1a23c14f9d478bb77c25ebdbb0ce45bcc5a --- minadbd/minadbd_services.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'minadbd/minadbd_services.cpp') diff --git a/minadbd/minadbd_services.cpp b/minadbd/minadbd_services.cpp index eb91fb3e4..ff91ba931 100644 --- a/minadbd/minadbd_services.cpp +++ b/minadbd/minadbd_services.cpp @@ -266,6 +266,10 @@ static void WipeDeviceService(unique_fd fd, const std::string& args) { } } +asocket* daemon_service_to_socket(std::string_view) { + return nullptr; +} + unique_fd daemon_service_to_fd(std::string_view name, atransport* /* transport */) { // Common services that are supported both in sideload and rescue modes. if (android::base::ConsumePrefix(&name, "reboot:")) { -- cgit v1.2.3