Make libhardware host_supported
This requires dropping a header file and avoiding a missing strlcpy API.
Required for host_supported fuzzers that include this lib.
Test: libsensorserviceaidl_fuzzer
Bug: 205764765
Change-Id: Ib1d2851e915ed87ef2936a044e7a72bab3077f40
diff --git a/Android.bp b/Android.bp
index e567cca..7aa3a23 100644
--- a/Android.bp
+++ b/Android.bp
@@ -86,6 +86,7 @@
header_libs: ["libhardware_headers"],
export_header_lib_headers: ["libhardware_headers"],
+ host_supported: true,
recovery_available: true,
vendor_available: true,
vndk: {
@@ -93,6 +94,9 @@
support_system_process: true,
},
target: {
+ host: {
+ exclude_shared_libs: ["libvndksupport"],
+ },
recovery: {
exclude_shared_libs: ["libvndksupport"],
},