Add vendor information for nvidia Harmony (Viewsonic G Tablet)
Change-Id: I93530d408637a0078f752afad9130caa6ad86602
diff --git a/overlay/harmony/packages/apps/CMParts/res/values/config.xml b/overlay/harmony/packages/apps/CMParts/res/values/config.xml
new file mode 100644
index 0000000..4cab749
--- /dev/null
+++ b/overlay/harmony/packages/apps/CMParts/res/values/config.xml
@@ -0,0 +1,7 @@
+<?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_led_flash">false</bool>
+</resources>
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index 5ba4e0e..818fa17 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -16,5 +16,5 @@
$(LOCAL_DIR)/cyanogen_vision.mk \
$(LOCAL_DIR)/cyanogen_one.mk \
$(LOCAL_DIR)/cyanogen_z71.mk \
- $(LOCAL_DIR)/cyanogen_glacier.mk
-
+ $(LOCAL_DIR)/cyanogen_glacier.mk \
+ $(LOCAL_DIR)/cyanogen_harmony.mk
diff --git a/products/cyanogen_harmony.mk b/products/cyanogen_harmony.mk
new file mode 100644
index 0000000..0f4a5cb
--- /dev/null
+++ b/products/cyanogen_harmony.mk
@@ -0,0 +1,30 @@
+# Inherit AOSP device configuration for passion.
+$(call inherit-product, device/nvidia/harmony/device_harmony.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/cyanogen/products/common.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := cyanogen_harmony
+PRODUCT_BRAND := nvidia
+PRODUCT_DEVICE := harmony
+PRODUCT_MODEL := GTablet
+PRODUCT_MANUFACTURER := Viewsonic
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-6-$(shell date +%m%d%Y)-NIGHTLY-Harmony
+else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-6.1.0-Beta3-Harmony
+endif
+
+PRODUCT_COPY_FILES += \
+ vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip
+
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/harmony
diff --git a/vendorsetup.sh b/vendorsetup.sh
index 5f62df2..3caee2c 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -16,5 +16,6 @@
add_lunch_combo cyanogen_buzz-eng
add_lunch_combo cyanogen_z71-eng
add_lunch_combo cyanogen_glacier-eng
+add_lunch_combo cyanogen_harmony-eng
PATH=$PATH:$PWD/vendor/cyanogen/tools ; export PATH