platform_system_core/toolbox
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
..
Android.bp Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
generate-input.h-labels.py Fix the generated getevent labels. 2016-06-29 14:12:29 -07:00
getevent.c Revert "Only allow system to write to existing input nodes." 2017-02-21 17:12:59 +00:00
getprop.cpp getprop: add -T option to return a property's type 2018-01-12 11:26:46 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
newfs_msdos.c Compile toolbox's newfs_msdos for the host 2018-05-02 13:14:51 -07:00
NOTICE Refresh toolbox. 2014-07-25 10:51:19 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
r.c Revert "delete toolbox/r.c" 2017-11-02 10:03:10 -05:00
toolbox.c Fix toolbox failure return to match similar tools. 2016-04-12 08:40:43 -07:00
tools.h Remove BSD dd. 2018-04-20 17:55:44 -07:00