diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index df6811b9..5a812635 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -1,5 +1,6 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_ace.mk \ + $(LOCAL_DIR)/cyanogen_blade.mk \ $(LOCAL_DIR)/cyanogen_bravo.mk \ $(LOCAL_DIR)/cyanogen_bravoc.mk \ $(LOCAL_DIR)/cyanogen_buzz.mk \ diff --git a/products/cyanogen_blade.mk b/products/cyanogen_blade.mk new file mode 100644 index 00000000..6eb0a607 --- /dev/null +++ b/products/cyanogen_blade.mk @@ -0,0 +1,40 @@ +# Inherit AOSP device configuration for blade. +$(call inherit-product, device/zte/blade/device_blade.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_blade +PRODUCT_BRAND := zte +PRODUCT_DEVICE := blade +PRODUCT_MODEL := Blade +PRODUCT_MANUFACTURER := ZTE +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=cyanogen_blade BUILD_ID=FRG83 BUILD_DISPLAY_ID=GRH78C BUILD_FINGERPRINT=google/passion/passion/mahimahi:2.2.1/FRG83/60505:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.2.1 FRG83 60505 release-keys" + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-Blade +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.0-RC0-Blade + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.0-RC0-Blade-KANG + endif +endif + +# +# Copy legend 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 a7c27ffa..f66a232e 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -1,4 +1,5 @@ add_lunch_combo cyanogen_ace-eng +add_lunch_combo cyanogen_blade-eng add_lunch_combo cyanogen_bravo-eng add_lunch_combo cyanogen_bravoc-eng add_lunch_combo cyanogen_buzz-eng