libhidl_test: doesn't require additional binaries

Previously, this required an additional test binary synced on the
device, but we can do the same test with a library that is always
guaranteed to be on the device.

Test: atest libhidl_test
Change-Id: Ib2cc785ea4248a339edbae750076233dcbaa0e37
diff --git a/Android.bp b/Android.bp
index fd750fa..b78845c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -29,7 +29,7 @@
     srcs: ["test_main.cpp"],
 
     shared_libs: [
-        "android.hardware.tests.inheritance@1.0",
+        "android.hidl.memory@1.0",
         "libbase",
         "libhidlbase",
         "libhidltransport",
@@ -40,10 +40,6 @@
     ],
     static_libs: ["libgtest", "libgmock"],
 
-    required: [
-        "android.hardware.tests.inheritance@1.0-impl",
-    ],
-
     cflags: [
         "-O0",
         "-g",