Add target specific option to skip wallpapers from build

...and enable this for vega

Change-Id: I4fbe52dc0c6ffb6b732046f1579824317d9ea449
gugelfrei
Sven Dawitz 13 years ago
parent e9304e142e
commit c98791f46f

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

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

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

Loading…
Cancel
Save