host tests: rule.mk add unittest host lib dependency

Bug: 368823731
Change-Id: I366a429f174da49b56f61d453f12f5ced97da4f4
diff --git a/storage_mock/test_mock_storage_rules.mk b/storage_mock/test_mock_storage_rules.mk
index a45e9d2..6a57a41 100644
--- a/storage_mock/test_mock_storage_rules.mk
+++ b/storage_mock/test_mock_storage_rules.mk
@@ -28,5 +28,8 @@
 	-Wno-deprecated-declarations \
 	-DSTORAGE_FAKE \
 
+HOST_DEPS := \
+	trusty/user/base/host/unittest \
+
 include trusty/user/app/storage/storage_mock/add_mock_storage.mk
 include trusty/kernel/make/host_test.mk
diff --git a/test/storage_host_test/rules.mk b/test/storage_host_test/rules.mk
index 7f4d4ba..6c09281 100644
--- a/test/storage_host_test/rules.mk
+++ b/test/storage_host_test/rules.mk
@@ -71,6 +71,7 @@
 	m
 
 HOST_DEPS := \
-	trusty/user/base/host/boringssl
+	trusty/user/base/host/boringssl \
+	trusty/user/base/host/unittest \
 
 include make/host_test.mk