android_device_lenovo_msm89.../product/display.mk
Luca Stefani 2d319d0f7d msm8937-common: Build RenderScript HIDL HAL interface
Change-Id: Icaa59063da167b0913298c69ed03f024628f2d30
2018-06-29 00:03:00 +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:system/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