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/libc/Android.bp b/libc/Android.bp
index 918f258..89657d7 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -73,6 +73,7 @@
never: true,
},
native_coverage: false,
+ recovery_available: true,
}
// ANDROIDMK TRANSLATION ERROR: unsupported directive
@@ -1861,6 +1862,7 @@
name: "crt_defaults",
defaults: ["linux_bionic_supported"],
vendor_available: true,
+ recovery_available: true,
cflags: [
"-Wno-gcc-compat",