From 9a48eab24a916941fca56a63cfa32c2adac9dd16 Mon Sep 17 00:00:00 2001 From: BuzzBumbleBee Date: Sat, 5 Mar 2011 22:22:53 +0000 Subject: [PATCH] Add Advent Vega Change-Id: I52e0f77581d5de7e278c2d51f46b1eb5a30eaae9 --- .../apps/ADWLauncher/res/values/config.xml | 6 +++ .../apps/CMParts/res/values/config.xml | 7 ++++ products/AndroidProducts.mk | 1 + products/cyanogen_vega.mk | 39 +++++++++++++++++++ vendorsetup.sh | 1 + 5 files changed, 54 insertions(+) create mode 100644 overlay/vega/packages/apps/ADWLauncher/res/values/config.xml create mode 100644 overlay/vega/packages/apps/CMParts/res/values/config.xml create mode 100644 products/cyanogen_vega.mk diff --git a/overlay/vega/packages/apps/ADWLauncher/res/values/config.xml b/overlay/vega/packages/apps/ADWLauncher/res/values/config.xml new file mode 100644 index 00000000..d2606e9e --- /dev/null +++ b/overlay/vega/packages/apps/ADWLauncher/res/values/config.xml @@ -0,0 +1,6 @@ + + + + 5 + 4 + diff --git a/overlay/vega/packages/apps/CMParts/res/values/config.xml b/overlay/vega/packages/apps/CMParts/res/values/config.xml new file mode 100644 index 00000000..4cab7491 --- /dev/null +++ b/overlay/vega/packages/apps/CMParts/res/values/config.xml @@ -0,0 +1,7 @@ + + + + false + + false + diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index a79c70e4..0c905d53 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -22,5 +22,6 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_passion.mk \ $(LOCAL_DIR)/cyanogen_sholes.mk \ $(LOCAL_DIR)/cyanogen_supersonic.mk \ + $(LOCAL_DIR)/cyanogen_vega.mk \ $(LOCAL_DIR)/cyanogen_vision.mk \ $(LOCAL_DIR)/cyanogen_z71.mk diff --git a/products/cyanogen_vega.mk b/products/cyanogen_vega.mk new file mode 100644 index 00000000..ad81a2aa --- /dev/null +++ b/products/cyanogen_vega.mk @@ -0,0 +1,39 @@ +$(call inherit-product, device/advent/vega/vega.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common_full.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_vega +PRODUCT_BRAND := advent +PRODUCT_DEVICE := vega +PRODUCT_MODEL := Vega +PRODUCT_MANUFACTURER := Advent +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=Vega BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRI40 BUILD_FINGERPRINT=google/passion/passion:2.3.3/GRI40/102588:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.3.3 GRI40 102588 release-keys" + +# Extra overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/vega + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-Vega +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.0-RC1-Vega + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.0-RC1-Vega-KANG + endif +endif + +# +# Copy passion specific prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip diff --git a/vendorsetup.sh b/vendorsetup.sh index 5b6103f8..73e4f9ba 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -21,6 +21,7 @@ add_lunch_combo cyanogen_one-eng add_lunch_combo cyanogen_passion-eng add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_supersonic-eng +add_lunch_combo cyanogen_vega-eng add_lunch_combo cyanogen_vision-eng add_lunch_combo cyanogen_z71-eng