diff options
author | Martin Stjernholm <mast@google.com> | 2019-10-23 21:32:43 +0100 |
---|---|---|
committer | Martin Stjernholm <mast@google.com> | 2020-03-24 21:48:00 +0000 |
commit | ae695c9fad9c9302508e3e586cf8a774b6cccbed (patch) | |
tree | f462d43a34b57f9ada5d7f6c2b08fa38660615e5 /trusty/coverage/coverage_test.cpp | |
parent | e39a7cf021875a5705a2d5e6c20d2bc2ac6ef86b (diff) |
Remove use of static libdexfile to avoid linking in ART internal code.
- Create a static library libunwindstack_no_dex without DEX support.
- Use it in libdebuggerd_handler_fallback, whose only use is in the
linker, which shouldn't need that support.
- Use it in init_first_stage, which doesn't need DEX support either.
- Also need a libbacktrace_no_dex since it's in the dependency chain
from init_first_stage to libunwindstack_no_dex.
Also restrict the *_no_dex libs and libdebuggerd_handler_fallback as
much as possible to avoid inadvertent use of these reduced
functionality libs.
Test: m init_first_stage on Cuttlefish
where BOARD_BUILD_SYSTEM_ROOT_IMAGE=false
Test: m system_image com.android.runtime
Test: Build & boot
Test: atest linker-unit-tests libunwindstack_unit_test debuggerd_test
Bug: 142944931
Bug: 151466650
Change-Id: Iaacb29bfe602f3ca12a00a712e2a64c45ff0118b
Merged-In: Iaacb29bfe602f3ca12a00a712e2a64c45ff0118b
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions