add cyanogen_shadow product

Change-Id: I7173b1288b4c00a70ddc874f8281d4a0c2706ca1
This commit is contained in:
Austen Dicken 2011-06-12 14:35:56 -05:00
parent e8d20f70d0
commit b1dc8e7bf7
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Whether or not to display the trackball settings -->
<bool name="has_trackball">false</bool>
<bool name="has_camera_button">true</bool>
<bool name="has_rgb_notification_led">true</bool>
<bool name="has_led_flash">true</bool>
</resources>

View File

@ -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 \

View File

@ -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

View File

@ -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