Mark as recovery_available: true
Libraries that are direct or indirect dependencies of modules installed
to recovery partition (e.g. toybox) are marked as recovery_available:
true. This allows a recovery variant of the lib is created when it is
depended by other recovery or recovery_available modules.
Bug: 67916654
Bug: 64960723
Bug: 63673171
Bug: 29921292
Test: m -j
Change-Id: I59bf859a10a218af6591025a0fe7d1853e328405
diff --git a/libdl/Android.bp b/libdl/Android.bp
index a2b29cf..97f1038 100644
--- a/libdl/Android.bp
+++ b/libdl/Android.bp
@@ -3,6 +3,7 @@
//
cc_library_static {
name: "libdl_static",
+ recovery_available: true,
srcs: [
"libdl.cpp",
@@ -28,6 +29,7 @@
cc_library {
name: "libdl",
+ recovery_available: true,
static_ndk_lib: true,
defaults: ["linux_bionic_supported"],