From 86bc86cf88796e49381c0c083fd75a21ea955551 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Sun, 8 Aug 2010 22:35:47 -0400 Subject: [PATCH] add heroc to cyanogen vendor --- prebuilt/common/etc/apns-conf.xml | 2 ++ products/AndroidProducts.mk | 1 + products/cyanogen_heroc.mk | 43 +++++++++++++++++++++++++++++++ vendorsetup.sh | 1 + 4 files changed, 47 insertions(+) create mode 100644 products/cyanogen_heroc.mk diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index b398da62..37223ef4 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -203,6 +203,8 @@ + + diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index 92a17a34..435b625d 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -2,6 +2,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_passion.mk \ $(LOCAL_DIR)/cyanogen_inc.mk \ $(LOCAL_DIR)/cyanogen_hero.mk \ + $(LOCAL_DIR)/cyanogen_heroc.mk \ $(LOCAL_DIR)/cyanogen_sholes.mk \ $(LOCAL_DIR)/cyanogen_dream_sapphire.mk \ $(LOCAL_DIR)/cyanogen_bravo.mk \ diff --git a/products/cyanogen_heroc.mk b/products/cyanogen_heroc.mk new file mode 100644 index 00000000..e325f0f9 --- /dev/null +++ b/products/cyanogen_heroc.mk @@ -0,0 +1,43 @@ +# Inherit AOSP device configuration for heroc. +$(call inherit-product, device/htc/heroc/heroc.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common.mk) + +# Inherit apns list from common +$(call inherit-product, vendor/cyanogen/products/gsm.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_heroc +PRODUCT_BRAND := sprint +PRODUCT_DEVICE := heroc +PRODUCT_MODEL := HERO200 +PRODUCT_MANUFACTURER := HTC +PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF91 BUILD_DISPLAY_ID=FRF91 PRODUCT_NAME=passion BUILD_FINGERPRINT=google/passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys +TARGET_BUILD_TYPE=userdebug BUILD_VERSION_TAGS=release-keys +PRIVATE_BUILD_DESC="heroc-user 2.2 FRF91 43546 release-keys" + +# Use Prebuilt kernel from heroC device tree +PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=device/htc/heroc/kernel + +# Extra overlay for Gallery3D orientation hack +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/dream_sapphire + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-Heroc +else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-6.0.0-Heroc-RC0 +endif + +# +# Copy dream/sapphire specific prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/dream_sapphire/media/bootanimation.zip:system/media/bootanimation.zip diff --git a/vendorsetup.sh b/vendorsetup.sh index 05bcb78b..ef4bb4e2 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -1,6 +1,7 @@ add_lunch_combo cyanogen_passion-eng add_lunch_combo cyanogen_inc-eng add_lunch_combo cyanogen_hero-eng +add_lunch_combo cyanogen_heroc-eng add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_dream_sapphire-eng add_lunch_combo cyanogen_bravo-eng