msm8937-common: Build Display HIDL HAL interfaces

* Enable binderized Gralloc HAL along with it
 * Enable HWC2

Change-Id: I61c34a531e3131209a08b5b4670e1f1f8fbb435d
This commit is contained in:
Luca Stefani 2017-08-22 22:03:01 +02:00 committed by Isaac Chen
parent 6d42ff1b7e
commit fdb673e310
2 changed files with 11 additions and 0 deletions

View file

@ -4,3 +4,6 @@ MAX_EGL_CACHE_SIZE := 2048*1024
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
TARGET_USES_GRALLOC1 := true
TARGET_USES_HWC2 := true

View file

@ -19,6 +19,14 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
libjni_livedisplay
# Display HAL
PRODUCT_PACKAGES += \
android.hardware.graphics.allocator@2.0-impl \
android.hardware.graphics.allocator@2.0-service \
android.hardware.graphics.composer@2.1-impl \
android.hardware.graphics.mapper@2.0-impl \
android.hardware.memtrack@1.0-impl
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:system/etc/permissions/android.hardware.opengles.aep.xml