config: Make product size available for use by project mkfiles
This allows projects to opt out for space limited devices. Also create a common_mini.mk and populate it with common stuff from the common_mini_*.mk files. Change-Id: I7d7dee73b70f97a778353ca136434a6e36edaf7e
This commit is contained in:
parent
1b4eeb3ce7
commit
dd3a17feef
|
@ -1,6 +1,8 @@
|
||||||
# Inherit common CM stuff
|
# Inherit common CM stuff
|
||||||
$(call inherit-product, vendor/cm/config/common.mk)
|
$(call inherit-product, vendor/cm/config/common.mk)
|
||||||
|
|
||||||
|
PRODUCT_SIZE := full
|
||||||
|
|
||||||
# Include CM audio files
|
# Include CM audio files
|
||||||
include vendor/cm/config/cm_audio.mk
|
include vendor/cm/config/cm_audio.mk
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Inherit common CM stuff
|
||||||
|
$(call inherit-product, vendor/cm/config/common.mk)
|
||||||
|
|
||||||
|
PRODUCT_SIZE := mini
|
||||||
|
|
||||||
|
# Include CM audio files
|
||||||
|
include vendor/cm/config/cm_audio.mk
|
||||||
|
|
||||||
|
# Default notification/alarm sounds
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.config.notification_sound=Argon.ogg \
|
||||||
|
ro.config.alarm_alert=Helium.ogg
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
# Inherit common CM stuff
|
$(call inherit-product, vendor/cm/config/common_mini.mk)
|
||||||
$(call inherit-product, vendor/cm/config/common.mk)
|
|
||||||
|
|
||||||
# Include CM audio files
|
|
||||||
include vendor/cm/config/cm_audio.mk
|
|
||||||
|
|
||||||
# Required CM packages
|
# Required CM packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
# Default notification/alarm sounds
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.config.notification_sound=Argon.ogg \
|
|
||||||
ro.config.alarm_alert=Helium.ogg
|
|
||||||
|
|
||||||
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/cm/prebuilt/common/bootanimation/320.zip:system/media/bootanimation.zip
|
vendor/cm/prebuilt/common/bootanimation/320.zip:system/media/bootanimation.zip
|
||||||
|
|
|
@ -1,18 +1,10 @@
|
||||||
# Inherit common CM stuff
|
# Inherit common CM stuff
|
||||||
$(call inherit-product, vendor/cm/config/common.mk)
|
$(call inherit-product, vendor/cm/config/common_mini.mk)
|
||||||
|
|
||||||
# Include CM audio files
|
|
||||||
include vendor/cm/config/cm_audio.mk
|
|
||||||
|
|
||||||
# Required CM packages
|
# Required CM packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
# Default notification/alarm sounds
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.config.notification_sound=Argon.ogg \
|
|
||||||
ro.config.alarm_alert=Helium.ogg
|
|
||||||
|
|
||||||
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/cm/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip
|
vendor/cm/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip
|
||||||
|
|
|
@ -1,13 +1,5 @@
|
||||||
# Inherit common CM stuff
|
# Inherit common CM stuff
|
||||||
$(call inherit-product, vendor/cm/config/common.mk)
|
$(call inherit-product, vendor/cm/config/common_mini.mk)
|
||||||
|
|
||||||
# Include CM audio files
|
|
||||||
include vendor/cm/config/cm_audio.mk
|
|
||||||
|
|
||||||
# Default notification/alarm sounds
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.config.notification_sound=Argon.ogg \
|
|
||||||
ro.config.alarm_alert=Helium.ogg
|
|
||||||
|
|
||||||
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
Loading…
Reference in New Issue