summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device.mk4
-rw-r--r--libhidl/Android.mk18
2 files changed, 21 insertions, 1 deletions
diff --git a/device.mk b/device.mk
index 9cb17db..f691c5c 100644
--- a/device.mk
+++ b/device.mk
@@ -236,7 +236,9 @@ PRODUCT_PACKAGES += \
# HIDL
PRODUCT_PACKAGES += \
android.hidl.base@1.0 \
- android.hidl.manager@1.0
+ android.hidl.base@1.0_system \
+ android.hidl.manager@1.0 \
+ android.hidl.manager@1.0_system
# IDC
PRODUCT_COPY_FILES += \
diff --git a/libhidl/Android.mk b/libhidl/Android.mk
index 428655c..9d405a4 100644
--- a/libhidl/Android.mk
+++ b/libhidl/Android.mk
@@ -18,6 +18,7 @@ LOCAL_SHARED_LIBRARIES := libhidltransport
LOCAL_MODULE := android.hidl.base@1.0
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
@@ -25,4 +26,21 @@ LOCAL_SHARED_LIBRARIES := libhidltransport
LOCAL_MODULE := android.hidl.manager@1.0
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_SHARED_LIBRARIES := libhidltransport
+LOCAL_MODULE := android.hidl.base@1.0_system
+LOCAL_INSTALLED_MODULE_STEM := android.hidl.base@1.0.so
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_SHARED_LIBRARIES := libhidltransport
+LOCAL_MODULE := android.hidl.manager@1.0_system
+LOCAL_INSTALLED_MODULE_STEM := android.hidl.manager@1.0.so
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
include $(BUILD_SHARED_LIBRARY)