summaryrefslogtreecommitdiffstats
path: root/products
diff options
context:
space:
mode:
authorSven Dawitz <sven@dawitz.de>2011-05-04 17:16:42 +0200
committerSven Dawitz <sven@dawitz.de>2011-05-04 18:36:40 +0200
commitc98791f46ff418c1840e156cb546bf58738b9bc3 (patch)
treea4604d265eb8b712b5c2819d977a928e61d2cbae /products
parente9304e142e7443eaf085189c8dfed6b8a35f30ce (diff)
downloadvendor_replicant-c98791f46ff418c1840e156cb546bf58738b9bc3.zip
vendor_replicant-c98791f46ff418c1840e156cb546bf58738b9bc3.tar.gz
vendor_replicant-c98791f46ff418c1840e156cb546bf58738b9bc3.tar.bz2
Add target specific option to skip wallpapers from build
...and enable this for vega Change-Id: I4fbe52dc0c6ffb6b732046f1579824317d9ea449
Diffstat (limited to 'products')
-rw-r--r--products/common.mk7
-rw-r--r--products/cyanogen_vega.mk5
-rw-r--r--products/themes.mk2
3 files changed, 10 insertions, 4 deletions
diff --git a/products/common.mk b/products/common.mk
index 64a0268..a1f8629 100644
--- a/products/common.mk
+++ b/products/common.mk
@@ -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
diff --git a/products/cyanogen_vega.mk b/products/cyanogen_vega.mk
index 76144b3..18306c7 100644
--- a/products/cyanogen_vega.mk
+++ b/products/cyanogen_vega.mk
@@ -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)
diff --git a/products/themes.mk b/products/themes.mk
index 856ab1f..03ef574 100644
--- a/products/themes.mk
+++ b/products/themes.mk
@@ -1,6 +1,6 @@
# Theme packages
-ifneq ($(SKIP_THEMES),true)
+ifneq ($(PRODUCT_SKIP_THEMES),true)
PRODUCT_PACKAGES += \
Androidian \
Cyanbread