2010-09-28 22:14:03 +00:00
|
|
|
# Inherit device configuration for vision.
|
|
|
|
$(call inherit-product, device/htc/vision/vision.mk)
|
|
|
|
|
|
|
|
# Inherit some common cyanogenmod stuff.
|
2011-01-22 07:53:32 +00:00
|
|
|
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
|
2010-09-28 22:14:03 +00:00
|
|
|
|
|
|
|
# Include GSM stuff
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Setup device specific product configuration.
|
|
|
|
#
|
|
|
|
PRODUCT_NAME := cyanogen_vision
|
|
|
|
PRODUCT_BRAND := tmobile
|
|
|
|
PRODUCT_DEVICE := vision
|
2010-11-19 21:51:47 +00:00
|
|
|
PRODUCT_MODEL := HTC Vision
|
2010-09-28 22:14:03 +00:00
|
|
|
PRODUCT_MANUFACTURER := HTC
|
2011-03-01 01:51:03 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vision BUILD_ID=FRF91 BUILD_DISPLAY_ID=GRI40 BUILD_FINGERPRINT=tmobile/htc_vision/vision/vision:2.2/FRF91/277427:user/release-keys PRIVATE_BUILD_DESC="1.22.531.8 CL277427 release-keys"
|
2010-09-28 22:14:03 +00:00
|
|
|
|
|
|
|
# Build kernel
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-msm
|
|
|
|
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_vision_defconfig
|
|
|
|
|
2010-10-15 03:07:02 +00:00
|
|
|
# Extra Vision overlay
|
2010-09-28 22:14:03 +00:00
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/vision
|
|
|
|
|
2010-12-21 23:42:25 +00:00
|
|
|
# Add the Torch app
|
|
|
|
PRODUCT_PACKAGES += Torch
|
|
|
|
|
2011-01-15 23:07:33 +00:00
|
|
|
# Build GanOptimizer
|
|
|
|
PRODUCT_PACKAGES += GanOptimizer
|
|
|
|
|
2011-01-11 05:24:20 +00:00
|
|
|
# Broadcom FM radio
|
|
|
|
$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
|
|
|
|
|
2010-09-28 22:14:03 +00:00
|
|
|
#
|
|
|
|
# Set ro.modversion
|
|
|
|
#
|
|
|
|
ifdef CYANOGEN_NIGHTLY
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2010-12-21 05:11:21 +00:00
|
|
|
ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-vision
|
2010-09-28 22:14:03 +00:00
|
|
|
else
|
2010-12-30 16:13:17 +00:00
|
|
|
ifdef CYANOGEN_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-03-27 20:31:13 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.0-RC3-vision
|
2010-12-30 16:13:17 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-03-27 20:31:13 +00:00
|
|
|
ro.modversion=CyanogenMod-7.0.0-RC3-vision-KANG
|
2010-12-30 16:13:17 +00:00
|
|
|
endif
|
2010-09-28 22:14:03 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copy passion specific prebuilt files
|
|
|
|
#
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
|