crespo
Change-Id: Ie250b1c35f0229bd1f8ae7d8d4990237c44ddbbe
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index fd2f5f4..7668ea0 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -2,6 +2,7 @@
$(LOCAL_DIR)/cyanogen_ace.mk \
$(LOCAL_DIR)/cyanogen_bravo.mk \
$(LOCAL_DIR)/cyanogen_bravoc.mk \
+ $(LOCAL_DIR)/cyanogen_crespo.mk \
$(LOCAL_DIR)/cyanogen_inc.mk \
$(LOCAL_DIR)/cyanogen_glacier.mk \
$(LOCAL_DIR)/cyanogen_liberty.mk \
diff --git a/products/cyanogen_crespo.mk b/products/cyanogen_crespo.mk
new file mode 100644
index 0000000..0e7bc3b
--- /dev/null
+++ b/products/cyanogen_crespo.mk
@@ -0,0 +1,47 @@
+# Inherit AOSP device configuration for crespo.
+$(call inherit-product, device/samsung/crespo/full_crespo.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/cyanogen/products/common.mk)
+
+# Include GSM stuff
+$(call inherit-product, vendor/cyanogen/products/gsm.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := cyanogen_crespo
+PRODUCT_BRAND := google
+PRODUCT_DEVICE := crespo
+PRODUCT_MODEL := Nexus S
+PRODUCT_MANUFACTURER := Samsung
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=soju BUILD_ID=GRH78 BUILD_DISPLAY_ID=GRH78 BUILD_FINGERPRINT=google/soju/crespo:2.3.1/GRH78/85442:user/release-keys PRIVATE_BUILD_DESC="soju-user 2.3.1 GRH78 85442 release-keys"
+
+# Extra Crespo overlay
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/crespo
+
+# Add the Torch app
+PRODUCT_PACKAGES += Torch
+
+# Extra RIL settings
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.ril.enable.managed.roaming=1 \
+ ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995 \
+ ro.ril.emc.mode=2
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-N1
+else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.0.0-RC0-N1
+endif
+
+#
+# Copy crespo specific prebuilt files
+#
+PRODUCT_COPY_FILES += \
+ vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
diff --git a/vendorsetup.sh b/vendorsetup.sh
index dfe9b13..107f486 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -1,6 +1,7 @@
add_lunch_combo cyanogen_ace-eng
add_lunch_combo cyanogen_bravo-eng
add_lunch_combo cyanogen_bravoc-eng
+add_lunch_combo cyanogen_crespo-eng
#add_lunch_combo cyanogen_buzz-eng
#add_lunch_combo cyanogen_dream_sapphire-eng
#add_lunch_combo cyanogen_espresso-eng