From 89fe3cedf6b0f3c9736317b53c33f6b9983d5e1c Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Wed, 20 Feb 2019 17:01:24 +0000 Subject: Fix libdexfile dependencies to avoid direct dependency on libdexfile_external. It should be dlopen'ed lazily by libdexfile_support now. Also change debuggerd_test to not link libunwindstack and its dependencies statically - the static libs can overlap with the dynamic ones. Test: mmma system/core/debuggerd/ Test: atest debuggerd_test Test: mmma system/core/{libunwindstack,libbacktrace}, run host gtests (cannot get atest to work) Bug: 124827589 Bug: 123186083 Change-Id: I9e7bf9bcbae499af4e1be4c9854bce441e2a7b55 --- libunwindstack/Android.bp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp index c90f5b2..a49fd9e 100644 --- a/libunwindstack/Android.bp +++ b/libunwindstack/Android.bp @@ -95,7 +95,6 @@ cc_library { "DexFiles.cpp", ], exclude_shared_libs: [ - "libdexfile_external", "libdexfile_support", ], }, @@ -106,7 +105,6 @@ cc_library { "DexFiles.cpp", ], exclude_shared_libs: [ - "libdexfile_external", "libdexfile_support", ], }, @@ -137,7 +135,6 @@ cc_library { shared_libs: [ "libbase", - "libdexfile_external", "libdexfile_support", "liblog", "liblzma", -- cgit v1.2.3