universal7885: Build Trust HAL

Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Joey 2019-01-13 10:21:11 +01:00 committed by roynatech2544
commit 1c4088af6d
3 changed files with 19 additions and 1 deletions

View file

@ -51,6 +51,9 @@ TARGET_KERNEL_HEADER_ARCH := arm64
TARGET_KERNEL_SOURCE := kernel/samsung/universal7904
TARGET_CUSTOM_DTBTOOL := dtbhtoolExynos
# HIDL
DEVICE_FRAMEWORK_MANIFEST_FILE := $(COMMON_PATH)/framework_manifest.xml
# LMKD stats logging
TARGET_LMKD_STATS_LOG := true

11
framework_manifest.xml Normal file
View file

@ -0,0 +1,11 @@
<manifest version="1.0" type="framework">
<hal format="hidl">
<name>vendor.lineage.trust</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IUsbRestrict</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View file

@ -59,4 +59,8 @@ PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# System properties
-include $(LOCAL_PATH)/product_prop.mk
-include $(LOCAL_PATH)/product_prop.mk
# Trust HAL
PRODUCT_PACKAGES += \
lineage.trust@1.0-service