android_device_lenovo_msm89.../product/display.mk
Bruno Martins 1a2a6ae080 msm8937-common: Move device-specific feature configs to vendor
Change-Id: I4204f3842618ffde85b6d254b0c0d235364469e5
2018-06-29 00:02:43 +08:00

41 lines
1.2 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 += \
CMDoze
# 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.mapper@2.0-impl \
android.hardware.memtrack@1.0-impl
# 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