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:
Tom Marshall
2016-06-09 12:04:59 -07:00
parent 1b4eeb3ce7
commit dd3a17feef
5 changed files with 18 additions and 28 deletions

View File

@@ -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 += \