etc: include hwservicemanager for TW_INCLUDE_CRYPTO
A recent change removed the inclusion of hwservicemanager
and vndservicemanager with only this flag
Change-Id: I9b8cb05a6bd053b794599167bcc8bf0591b2e184
diff --git a/etc/Android.mk b/etc/Android.mk
index 2b56cf0..2bbc883 100755
--- a/etc/Android.mk
+++ b/etc/Android.mk
@@ -68,7 +68,7 @@
include $(BUILD_PREBUILT)
-ifeq ($(filter $(AB_OTA_UPDATER) $(PRODUCT_USE_DYNAMIC_PARTITIONS), true), true)
+ifneq ($(filter $(AB_OTA_UPDATER) $(PRODUCT_USE_DYNAMIC_PARTITIONS) $(TW_INCLUDE_CRYPTO), true),)
include $(CLEAR_VARS)
LOCAL_MODULE := hwservicemanager.rc
LOCAL_MODULE_TAGS := optional