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
|
||||
$(call inherit-product, vendor/cm/config/common.mk)
|
||||
|
||||
PRODUCT_SIZE := full
|
||||
|
||||
# Include CM audio files
|
||||
include vendor/cm/config/cm_audio.mk
|
||||
|
||||
|
13
config/common_mini.mk
Normal file
13
config/common_mini.mk
Normal file
@ -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.mk)
|
||||
|
||||
# Include CM audio files
|
||||
include vendor/cm/config/cm_audio.mk
|
||||
$(call inherit-product, vendor/cm/config/common_mini.mk)
|
||||
|
||||
# Required CM packages
|
||||
PRODUCT_PACKAGES += \
|
||||
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))
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/prebuilt/common/bootanimation/320.zip:system/media/bootanimation.zip
|
||||
|
@ -1,18 +1,10 @@
|
||||
# Inherit common CM stuff
|
||||
$(call inherit-product, vendor/cm/config/common.mk)
|
||||
|
||||
# Include CM audio files
|
||||
include vendor/cm/config/cm_audio.mk
|
||||
$(call inherit-product, vendor/cm/config/common_mini.mk)
|
||||
|
||||
# Required CM packages
|
||||
PRODUCT_PACKAGES += \
|
||||
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))
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Inherit common CM stuff
|
||||
$(call inherit-product, vendor/cm/config/common.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
|
||||
$(call inherit-product, vendor/cm/config/common_mini.mk)
|
||||
|
||||
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
Loading…
Reference in New Issue
Block a user