Split up common.mk for smaller devices

Capable devices now inherit from common_full.mk, where smaller devices
can inherit from common.mk. This currently excludes the extra ringtones
and built in themes.

Change-Id: I604ac29648a7311ba1dcc9a8005b1be1424ce596
This commit is contained in:
Steve Kondik 2011-01-22 02:53:32 -05:00
parent 151a434e62
commit 2694f70576
23 changed files with 43 additions and 39 deletions

View File

@ -5,10 +5,6 @@ PRODUCT_DEVICE := generic
PRODUCT_PACKAGES += ADWLauncher
# Add ROMManager build property
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.ringtone=DonMessWivIt.ogg
ifdef CYANOGEN_NIGHTLY
PRODUCT_PROPERTY_OVERRIDES += \
ro.rommanager.developerid=cyanogenmodnightly
@ -25,9 +21,6 @@ KERNEL_MODULES_DIR:=/system/lib/modules
# Tiny toolbox
TINY_TOOLBOX:=true
# Enable Windows Media if supported by the board
WITH_WINDOWS_MEDIA:=true
PRODUCT_PROPERTY_OVERRIDES += \
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \
@ -60,12 +53,8 @@ PRODUCT_COPY_FILES += \
# Common CM overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/common
# Bring in some audio files
include frameworks/base/data/sounds/AudioPackage4.mk
include frameworks/base/data/sounds/AudioPackage5.mk
# T-Mobile theme engine
include vendor/cyanogen/products/themes.mk
include vendor/cyanogen/products/themes_common.mk
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \

13
products/common_full.mk Normal file
View File

@ -0,0 +1,13 @@
# Inherit common CM stuff
$(call inherit-product, vendor/cyanogen/products/common.mk)
# Bring in all audio files
include frameworks/base/data/sounds/AllAudio.mk
# Theme packages
include vendor/cyanogen/products/themes.mk
# Default ringtone
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.ringtone=DonMessWivIt.ogg

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/ace/ace.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/bravo/full_bravo.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/bravoc/full_bravoc.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
#
# Setup device specific product configuration.

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/buzz/full_buzz.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/samsung/crespo/full_crespo.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/espresso/espresso.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, build/target/product/full.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
#
# Setup device specific product configuration.

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/glacier/glacier.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -1,7 +1,7 @@
$(call inherit-product, device/nvidia/harmony/device_harmony.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
#
# Setup device specific product configuration.

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/hero/full_hero.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/heroc/heroc.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
#

View File

@ -1,7 +1,7 @@
$(call inherit-product, device/htc/inc/inc.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
#
# Setup device specific product configuration.

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/legend/legend.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/liberty/liberty.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/passion/full_passion.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/motorola/sholes/sholes.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
#
# Setup device specific product configuration.

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/supersonic/supersonic.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
#
# Setup device specific product configuration.

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/htc/vision/vision.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -2,7 +2,7 @@
$(call inherit-product, device/commtiva/z71/device_z71.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
# Include GSM stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)

View File

@ -1,11 +1,4 @@
# T-Mobile theme engine
# Theme packages
PRODUCT_PACKAGES += \
ThemeManager \
ThemeChooser \
com.tmobile.themes \
Androidian \
Cyanbread
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/common/etc/permissions/com.tmobile.themes.xml:system/etc/permissions/com.tmobile.themes.xml

View File

@ -0,0 +1,9 @@
# T-Mobile theme engine
PRODUCT_PACKAGES += \
ThemeManager \
ThemeChooser \
com.tmobile.themes
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/common/etc/permissions/com.tmobile.themes.xml:system/etc/permissions/com.tmobile.themes.xml