Merge "Add target specific option to skip wallpapers from build" into gingerbread

This commit is contained in:
Ricardo Cerqueira 2011-05-06 19:21:35 +04:00 committed by Gerrit Code Review
commit 2b7ab9d5b8
3 changed files with 10 additions and 4 deletions

View File

@ -37,11 +37,16 @@ PRODUCT_PACKAGES += \
CMParts \
CMStats \
CMUpdateNotify \
CMWallpapers \
DSPManager \
libcyanogen-dsp \
Pacman
# make wallpapers optional for low-storage-devices
ifneq ($(PRODUCT_SKIP_WALLPAPERS),true)
PRODUCT_PACKAGES += \
CMWallpapers
endif
# Extra tools in CyanogenMod
PRODUCT_PACKAGES += \
openvpn

View File

@ -1,7 +1,8 @@
$(call inherit-product, device/advent/vega/vega.mk)
# skips themes and keeps the resulting rom tiny so it fits on /system/ with all languages included
PRODUCT_SPECIFIC_DEFINES += SKIP_THEMES=true
# skips themes and wallpaper to keep the resulting rom tiny so it fits on /system/ with all languages included
PRODUCT_SKIP_THEMES=true
PRODUCT_SKIP_WALLPAPERS=true
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common_full.mk)

View File

@ -1,6 +1,6 @@
# Theme packages
ifneq ($(SKIP_THEMES),true)
ifneq ($(PRODUCT_SKIP_THEMES),true)
PRODUCT_PACKAGES += \
Androidian \
Cyanbread