cyanogen: Add SEMC E10i (Xperia X10Mini)
Change-Id: Id5d8e8eb091f43746ad43360230cb629739a8064
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index e9c0d00..8d0271b 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -38,6 +38,7 @@
$(LOCAL_DIR)/cyanogen_p990.mk \
$(LOCAL_DIR)/cyanogen_p999.mk \
$(LOCAL_DIR)/cyanogen_passion.mk \
+ $(LOCAL_DIR)/cyanogen_robyn.mk \
$(LOCAL_DIR)/cyanogen_saga.mk \
$(LOCAL_DIR)/cyanogen_shadow.mk \
$(LOCAL_DIR)/cyanogen_shakira.mk \
diff --git a/products/cyanogen_robyn.mk b/products/cyanogen_robyn.mk
new file mode 100644
index 0000000..2a2cf20
--- /dev/null
+++ b/products/cyanogen_robyn.mk
@@ -0,0 +1,49 @@
+# Inherit device configuration for robyn.
+$(call inherit-product, device/semc/robyn/device_robyn.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/cyanogen/products/common_full.mk)
+
+# Include GSM stuff
+$(call inherit-product, vendor/cyanogen/products/gsm.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := cyanogen_robyn
+PRODUCT_BRAND := SEMC
+PRODUCT_DEVICE := robyn
+PRODUCT_MODEL := E10i
+PRODUCT_MANUFACTURER := Sony Ericsson
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_DEVICE=E10i PRODUCT_NAME=E10i BUILD_ID=3.0.1.A.0.145 BUILD_DISPLAY_ID=3.0.1.A.0.145 BUILD_FINGERPRINT=SEMC/LT15i_1247-1073/LT15i:2.3.3/3.0.1.A.0.145/bn_p:user/release-keys PRIVATE_BUILD_DESC="LT15i-user 2.3.3 3.0.1.A.0.145 bn_P test-keys"
+
+# Add LDPI assets, in addition to MDPI
+PRODUCT_LOCALES += ldpi mdpi
+
+# Extra overlay for LDPI
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/ldpi
+
+# Ti FM radio
+#$(call inherit-product, vendor/cyanogen/products/ti_fm_radio.mk)
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-X10Mini
+else
+ ifdef CYANOGEN_RELEASE
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-RC1-X10Mini
+ else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-RC1-X10Mini-KANG
+ endif
+endif
+
+#
+# Copy MDPI specific prebuilt files
+#
+PRODUCT_COPY_FILES += \
+ vendor/cyanogen/prebuilt/ldpi/media/bootanimation.zip:system/media/bootanimation.zip
diff --git a/vendorsetup.sh b/vendorsetup.sh
index 1c6d32e..dcf43eb 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -37,6 +37,7 @@
add_lunch_combo cyanogen_p990-eng
add_lunch_combo cyanogen_p999-eng
add_lunch_combo cyanogen_passion-eng
+add_lunch_combo cyanogen_robyn-eng
add_lunch_combo cyanogen_saga-eng
add_lunch_combo cyanogen_shadow-eng
add_lunch_combo cyanogen_shakira-eng