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
diff --git a/config/common_mini_phone.mk b/config/common_mini_phone.mk
index da0c5f1..828b5b9 100644
--- a/config/common_mini_phone.mk
+++ b/config/common_mini_phone.mk
@@ -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