From 6c347cbd604d102ba8bbf2533c23fb8d2421a837 Mon Sep 17 00:00:00 2001 From: Teguh Sobirin Date: Sat, 1 Oct 2011 06:33:42 +0700 Subject: [PATCH] vendor: Add Samsung Galaxy Mini (tass) device Adds support for the device above. Build target: cyanogen_tass-eng Change-Id: I31cf6ac619376929f20b276ca2d633cc15287c48 --- products/AndroidProducts.mk | 1 + products/cyanogen_tass.mk | 33 +++++++++++++++++++++++++++++++++ vendorsetup.sh | 1 + 3 files changed, 35 insertions(+) create mode 100644 products/cyanogen_tass.mk diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index aaa042cb..6c7d2c98 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -55,6 +55,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_speedy.mk \ $(LOCAL_DIR)/cyanogen_supersonic.mk \ $(LOCAL_DIR)/cyanogen_v9.mk \ + $(LOCAL_DIR)/cyanogen_tass.mk \ $(LOCAL_DIR)/cyanogen_u8220.mk \ $(LOCAL_DIR)/cyanogen_urushi.mk \ $(LOCAL_DIR)/cyanogen_vega.mk \ diff --git a/products/cyanogen_tass.mk b/products/cyanogen_tass.mk new file mode 100644 index 00000000..f8cfad86 --- /dev/null +++ b/products/cyanogen_tass.mk @@ -0,0 +1,33 @@ +# Inherit AOSP device configuration for tass +$(call inherit-product, device/samsung/tass/device_tass.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common_full.mk) + +# Include GSM stuff +$(call inherit-product, vendor/cyanogen/products/gsm.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_tass +PRODUCT_BRAND := samsung_tass +PRODUCT_DEVICE := tass +PRODUCT_MODEL := GT-S5570 +PRODUCT_MANUFACTURER := samsung +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=GT-S5570 BUILD_ID=GRI40 BUILD_DISPLAY_ID=GWK74 BUILD_FINGERPRINT=samsung/GT-S5570/GT-S5570:2.3.4/GINGERBREAD/XXKPI:user/release-keys PRIVATE_BUILD_DESC="GT-S5570-user 2.3.4 GINGERBREAD XXKPI release-keys" + +# Add LDPI assets, in addition to MDPI +PRODUCT_LOCALES += ldpi mdpi + +# Extra overlay for LDPI +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/ldpi + +# Copy bootanimation +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/ldpi/media/bootanimation.zip:system/media/bootanimation.zip + +# Release name and versioning +PRODUCT_RELEASE_NAME := GalaxyMini +PRODUCT_VERSION_DEVICE_SPECIFIC := +-include vendor/cyanogen/products/common_versions.mk diff --git a/vendorsetup.sh b/vendorsetup.sh index f48d976d..6722bf3e 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -53,6 +53,7 @@ add_lunch_combo cyanogen_smb_b9701-eng add_lunch_combo cyanogen_smultron-eng add_lunch_combo cyanogen_speedy-eng add_lunch_combo cyanogen_supersonic-eng +add_lunch_combo cyanogen_tass-eng add_lunch_combo cyanogen_u8220-eng add_lunch_combo cyanogen_urushi-eng add_lunch_combo cyanogen_v9-eng