hidl_test: move duplicated code to shared lib

Test: hidl_test

Change-Id: Ia68b78d44d68a6b254c686afe64faf7cc89510d7
diff --git a/Android.bp b/Android.bp
index b13a5f4..e958b8e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -32,10 +32,12 @@
     "tests/expression/1.0",
     "tests/foo/1.0",
     "tests/foo/1.0/default",
+    "tests/foo/1.0/default/lib",
     "tests/libhwbinder/1.0",
     "tests/msgq/1.0",
     "tests/pointer/1.0",
     "tests/pointer/1.0/default",
+    "tests/pointer/1.0/default/lib",
     "thermal/1.0",
     "thermal/1.0/default",
     "vehicle/2.0",