msm8937-common: Build LiveDisplay HAL

This commit is contained in:
dianlujitao 2018-02-20 22:47:08 +08:00 committed by Isaac Chen
parent cce360b467
commit cbffbc57ac
2 changed files with 13 additions and 4 deletions

View file

@ -355,6 +355,15 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>vendor.lineage.livedisplay</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IColor</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl"> <hal format="hidl">
<name>vendor.lineage.power</name> <name>vendor.lineage.power</name>
<transport>hwbinder</transport> <transport>hwbinder</transport>

View file

@ -15,10 +15,6 @@ PRODUCT_AAPT_PREBUILT_DPI := hdpi
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
LineageDoze LineageDoze
# Display calibration
PRODUCT_PACKAGES += \
libjni_livedisplay
# Display HAL # Display HAL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.graphics.allocator@2.0-impl \ android.hardware.graphics.allocator@2.0-impl \
@ -29,6 +25,10 @@ PRODUCT_PACKAGES += \
android.hardware.memtrack@1.0-impl \ android.hardware.memtrack@1.0-impl \
android.hardware.memtrack@1.0-service android.hardware.memtrack@1.0-service
# LiveDisplay native
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@1.0-service-sdm
# Permissions # Permissions
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml