sdm710-common: Build Trust HAL

This commit is contained in:
jrizzoli 2019-01-09 22:24:07 +01:00 committed by SamarV-121
parent b77e83d232
commit 4c9f2c5188
3 changed files with 18 additions and 0 deletions

View file

@ -67,6 +67,9 @@ TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := (1 << 21) | (1 << 27)
TARGET_USES_HWC2 := true
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
# HIDL
DEVICE_FRAMEWORK_MANIFEST_FILE := $(COMMON_PATH)/framework_manifest.xml
# Lights
TARGET_PROVIDES_LIBLIGHT := 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

@ -95,3 +95,7 @@ PRODUCT_PACKAGES += \
# VNDK-SP
PRODUCT_PACKAGES += \
vndk-sp
# Trust HAL
PRODUCT_PACKAGES += \
lineage.trust@1.0-service