make a multidpi build

allows the user to choose a dpi value < 192 while maintaining high-res assets at 240dpi
add a bit of mb but will be compensated with gapps-light
(standard dpi of 160 will be changed back to 240 once out of testing)
This commit is contained in:
milaq 2012-05-03 13:01:42 +02:00
parent deaea83d48
commit 1015e8cbab
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ $(call inherit-product, device/htc/leo/leo_eu.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Leo uses high-density artwork where available
PRODUCT_LOCALES += mdpi
PRODUCT_LOCALES += hdpi mdpi
# Discard inherited values and use our own instead.
PRODUCT_NAME := full_leo

4
leo.mk
View File

@ -163,8 +163,8 @@ PRODUCT_PACKAGES += \
ADDITIONAL_DEFAULT_PROPERTIES += persist.sys.strictmode.disable=true
# leo uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal mdpi
PRODUCT_AAPT_PREF_CONFIG := mdpi
PRODUCT_AAPT_CONFIG := normal hdpi mdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi mdpi
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.hw=1 \