android_device_lenovo_msm89.../product/display.mk
Isaac Chen 64fa39a612 msm8937-common: Build HIDL services
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00

45 lines
1.3 KiB
Makefile

# Boot animation
TARGET_SCREEN_HEIGHT := 1280
TARGET_SCREEN_WIDTH := 720
# This device is xhdpi. However the platform doesn't
# currently contain all of the bitmaps at xhdpi density so
# we do this little trick to fall back to the hdpi version
# if the xhdpi doesn't exist.
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# A list of dpis to select prebuilt apk, in precedence order.
PRODUCT_AAPT_PREBUILT_DPI := hdpi
# Ambient display
PRODUCT_PACKAGES += \
LineageDoze
# Display calibration
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.composer@2.1-service \
android.hardware.graphics.mapper@2.0-impl \
android.hardware.memtrack@1.0-impl \
android.hardware.memtrack@1.0-service \
vendor.display.config@1.0 \
vendor.display.config@1.0_vendor
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196610 \
ro.sf.lcd_density=320
# RenderScript HAL
PRODUCT_PACKAGES += \
android.hardware.renderscript@1.0-impl