libhidlmemory: Add host support am: 830f03e641

Original change: https://android-review.googlesource.com/c/platform/system/libhidl/+/1330896

Change-Id: I37e9378f4c998dee7ce00f1b67dbfdc7648a0a88
diff --git a/libhidlmemory/Android.bp b/libhidlmemory/Android.bp
index bafb3ef..5828e9a 100644
--- a/libhidlmemory/Android.bp
+++ b/libhidlmemory/Android.bp
@@ -15,6 +15,13 @@
 cc_library {
     name: "libhidlmemory",
     vendor_available: true,
+    // Host support is needed for testing only
+    host_supported: true,
+    target: {
+        darwin: {
+            enabled: false,
+        },
+    },
     vndk: {
         enabled: true,
         support_system_process: true,