summaryrefslogtreecommitdiffstats
path: root/products/replicant_hero.mk
diff options
context:
space:
mode:
Diffstat (limited to 'products/replicant_hero.mk')
-rw-r--r--products/replicant_hero.mk40
1 files changed, 40 insertions, 0 deletions
diff --git a/products/replicant_hero.mk b/products/replicant_hero.mk
new file mode 100644
index 0000000..9c0c5af
--- /dev/null
+++ b/products/replicant_hero.mk
@@ -0,0 +1,40 @@
+# Inherit AOSP device configuration for passion.
+$(call inherit-product, device/htc/hero/full_hero.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/replicant/products/common.mk)
+
+# Include GSM stuff
+$(call inherit-product, vendor/replicant/products/gsm.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := replicant_hero
+PRODUCT_BRAND := htc
+PRODUCT_DEVICE := hero
+PRODUCT_MODEL := Hero
+PRODUCT_MANUFACTURER := HTC
+PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRG83 BUILD_DISPLAY_ID=FRG83 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"
+
+PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=$(TOP)/vendor/replicant/prelink-linux-arm-hero.map
+
+# Enable Windows Media
+WITH_WINDOWS_MEDIA := true
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-Hero
+else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-6.2.0-RC0-Hero
+endif
+
+#
+# Copy passion specific prebuilt files
+#
+PRODUCT_COPY_FILES += \
+ vendor/replicant/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip