platform_system_core/libziparchive
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
..
include/ziparchive zip_archive: Allow crc_out to be nullptr in Inflate. 2017-10-30 18:26:41 +00:00
testdata Check filename memory bound when parsing ziparchive 2017-06-30 17:19:28 +09:00
.clang-format add a performance benchmark for libziparchive 2017-05-30 10:50:14 -07:00
Android.bp Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
entry_name_utils-inl.h Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00
entry_name_utils_test.cc Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
unzip.cpp Add libziparchive-based unzip. 2017-06-04 11:53:48 -07:00
zip_archive.cc Remove empty zip warning on host builds 2018-03-01 21:33:49 +00:00
zip_archive_benchmark.cpp BENCHMARK_MAIN now requires a semicolon. 2017-12-13 18:19:18 -08:00
zip_archive_common.h Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00
zip_archive_private.h zip_archive: generalize deflate method. 2017-10-26 17:47:50 +01:00
zip_archive_stream_entry.cc libziparchive: Use ReadAtOffset exclusively 2017-07-25 18:12:12 +00:00
zip_archive_test.cc Make ziparchive-tests run standalone. 2018-04-25 12:50:17 -07:00
zip_writer.cc Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00
zip_writer_test.cc Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00