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
gugelfrei
Steve Kondik 14 years ago
parent 151a434e62
commit 2694f70576

@ -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 \

@ -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

@ -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)

@ -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)

@ -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.

@ -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)

@ -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)

@ -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)

@ -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.

@ -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)

@ -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.

@ -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)

@ -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)
#

@ -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.

@ -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)

@ -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)

@ -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)

@ -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.

@ -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.

@ -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)

@ -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)

@ -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

@ -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
Loading…
Cancel
Save