From b1dc8e7bf769e68b2bbd61ca6b39e1d681d69543 Mon Sep 17 00:00:00 2001 From: Austen Dicken Date: Sun, 12 Jun 2011 14:35:56 -0500 Subject: [PATCH] add cyanogen_shadow product Change-Id: I7173b1288b4c00a70ddc874f8281d4a0c2706ca1 --- .../apps/CMParts/res/values/config.xml | 8 ++++ products/AndroidProducts.mk | 1 + products/cyanogen_shadow.mk | 40 +++++++++++++++++++ vendorsetup.sh | 1 + 4 files changed, 50 insertions(+) create mode 100644 overlay/shadow/packages/apps/CMParts/res/values/config.xml create mode 100644 products/cyanogen_shadow.mk diff --git a/overlay/shadow/packages/apps/CMParts/res/values/config.xml b/overlay/shadow/packages/apps/CMParts/res/values/config.xml new file mode 100644 index 00000000..b9582a84 --- /dev/null +++ b/overlay/shadow/packages/apps/CMParts/res/values/config.xml @@ -0,0 +1,8 @@ + + + + false + true + true + true + diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index d1837614..c209f802 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -27,6 +27,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_p990.mk \ $(LOCAL_DIR)/cyanogen_p999.mk \ $(LOCAL_DIR)/cyanogen_passion.mk \ + $(LOCAL_DIR)/cyanogen_shadow.mk \ $(LOCAL_DIR)/cyanogen_sholes.mk \ $(LOCAL_DIR)/cyanogen_smb_a1002.mk \ $(LOCAL_DIR)/cyanogen_smb_a1004.mk \ diff --git a/products/cyanogen_shadow.mk b/products/cyanogen_shadow.mk new file mode 100644 index 00000000..23c9246a --- /dev/null +++ b/products/cyanogen_shadow.mk @@ -0,0 +1,40 @@ +# Inherit AOSP device configuration for passion. +$(call inherit-product, device/motorola/shadow/shadow.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common_full.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_shadow +PRODUCT_BRAND := motorola +PRODUCT_DEVICE := shadow +PRODUCT_MODEL := DROIDX +PRODUCT_MANUFACTURER := Motorola + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-DROIDX +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC0-DROIDX + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC0-DROIDX-KANG + endif +endif + +PRODUCT_BUILD_PROP_OVERRIDES := BUILD_ID=VZW BUILD_DISPLAY_ID=GRH78C PRODUCT_NAME=shadow_vzw TARGET_DEVICE=cdma_shadow BUILD_FINGERPRINT=verizon/shadow_vzw/cdma_shadow/shadow:2.2.1/VZW/23.340:user/ota-rel-keys,release-keys PRODUCT_BRAND=verizon PRIVATE_BUILD_DESC="cdma_shadow-user 2.2.1 VZW 2.3.340 ota-rel-keys,release-keys" BUILD_NUMBER=2.3.340 BUILD_UTC_DATE=1289194863 TARGET_BUILD_TYPE=user BUILD_VERSION_TAGS=release-keys USER=w30471 + +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip + +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/shadow + +# Add the Torch app +PRODUCT_PACKAGES += Torch diff --git a/vendorsetup.sh b/vendorsetup.sh index 84073b69..ba9e7fe1 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -26,6 +26,7 @@ add_lunch_combo cyanogen_one-eng add_lunch_combo cyanogen_p990-eng add_lunch_combo cyanogen_p999-eng add_lunch_combo cyanogen_passion-eng +add_lunch_combo cyanogen_shadow-eng add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_smb_a1002-eng add_lunch_combo cyanogen_smb_a1004-eng