Allow libhidl to be used in recovery
Test: Compiles
Bug: 78793464
Change-Id: Ib6b8e781b8dfe3fad49ae4bb9e7725e07bd5b9b4
diff --git a/transport/Android.bp b/transport/Android.bp
index 27aa952..92fbc94 100644
--- a/transport/Android.bp
+++ b/transport/Android.bp
@@ -19,6 +19,7 @@
cc_library {
name: "libhidltransport",
+ recovery_available: true,
vendor_available: true,
vndk: {
enabled: true,
@@ -80,6 +81,12 @@
cflags: ["-DENFORCE_VINTF_MANIFEST"]
},
},
+
+ target: {
+ recovery: {
+ exclude_shared_libs: ["libvndksupport"],
+ },
+ },
}
// deprecated/legacy (already removed in mainline Android)