android_system_core/adb/daemon
Jiyong Park 011ee12b1d Shared libs are supported in recovery mode
adbd has been built as a static executable since the same binary was
copied to the recovery partition where shared library is not supported.
However, since we now support shared library in the recovery partition,
adbd is built as a dynamic executable.

In addition, the dependency from adbd to libdebuggerd_handler is removed
as debuggerd is handled by the dynamic linker.

A few more modules in /system/core are marked as recovery_available:
true as they are transitive dependencies of the dynamic linker.

This change also includes ld.config.recovery.txt which is the linker
config file for the recovery mode. It is installed to /etc/ld.config.txt
and contains linker namespace config for the dynamic binaries under
/sbin.

Bug: 63673171
Test: `adb reboot recovery; adb devices` shows the device ID
Test: Select 'mount /system' in the recovery mode, then `adb shell`.
$ lsof -p `pidof adbd` shows that libm.so, libc.so, etc. are loaded from
the /lib directory.

Change-Id: I363d5a787863f1677ee40afb5d5841321ddaae77
2018-06-10 08:32:24 +09:00
..
auth.cpp adb: remove fdevent_install, fdevent_remove. 2018-05-22 14:54:49 -07:00
file_sync_service.cpp Support /odm and /product in "adb remount" and "adb sync". 2018-04-04 13:14:59 -07:00
framebuffer_service.cpp adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
jdwp_service.cpp Merge changes I465804fd,Ib5a684bb,If5e66570,I8471cc00,I8ba0a70a 2018-05-23 00:01:29 +00:00
main.cpp Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
mdns.cpp adb: kill adb_thread_{create, join, detach, exit}. 2017-04-12 17:12:32 -07:00
mdns.h Make ADBD announce its presence over mDNS 2017-03-07 14:42:06 -08:00
remount_service.cpp adb: add remount -R for deduplicated ext4 2018-05-31 15:38:25 -07:00
set_verity_enable_state_service.cpp adb: checks device state when using adb disable-verity for AVB 2018-03-15 18:34:42 +08:00
shell_service.cpp Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
shell_service_test.cpp adb: delete vestigial SHELL_EXIT_NOTIFY_FD. 2018-03-21 15:13:07 -07:00
usb.cpp Merge "adb: Retry io in case of interrupt" 2018-05-17 01:17:11 +00:00
usb.h adb: Remove usages of ENDPOINT_ALLOC 2018-03-16 15:33:26 -07:00