summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/common.mk10
-rw-r--r--config/common_full.mk25
-rw-r--r--config/common_full_phone.mk14
-rw-r--r--config/common_full_tablet_wifionly.mk14
4 files changed, 28 insertions, 35 deletions
diff --git a/config/common.mk b/config/common.mk
index fc32ec7..3213927 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -136,15 +136,7 @@ PRODUCT_PACKAGES += \
VideoEditor \
VoiceDialer \
SoundRecorder \
- Basic \
- HoloSpiralWallpaper \
- MagicSmokeWallpapers \
- NoiseField \
- Galaxy4 \
- LiveWallpapers \
- LiveWallpapersPicker \
- VisualizationWallpapers \
- PhaseBeam
+ Basic
# Custom CM packages
PRODUCT_PACKAGES += \
diff --git a/config/common_full.mk b/config/common_full.mk
new file mode 100644
index 0000000..be4cfb9
--- /dev/null
+++ b/config/common_full.mk
@@ -0,0 +1,25 @@
+# Inherit common CM stuff
+$(call inherit-product, vendor/cm/config/common.mk)
+
+# Bring in all audio files
+include frameworks/base/data/sounds/NewAudio.mk
+
+# Extra Ringtones
+include frameworks/base/data/sounds/AudioPackageNewWave.mk
+
+# Bring in all video files
+$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk)
+
+# Include CM audio files
+include vendor/cm/config/cm_audio.mk
+
+# Optional CM packages
+PRODUCT_PACKAGES += \
+ HoloSpiralWallpaper \
+ MagicSmokeWallpapers \
+ NoiseField \
+ Galaxy4 \
+ LiveWallpapers \
+ LiveWallpapersPicker \
+ VisualizationWallpapers \
+ PhaseBeam
diff --git a/config/common_full_phone.mk b/config/common_full_phone.mk
index f764ce0..c9db0e9 100644
--- a/config/common_full_phone.mk
+++ b/config/common_full_phone.mk
@@ -1,17 +1,5 @@
# Inherit common CM stuff
-$(call inherit-product, vendor/cm/config/common.mk)
-
-# Bring in all audio files
-include frameworks/base/data/sounds/NewAudio.mk
-
-# Extra Ringtones
-include frameworks/base/data/sounds/AudioPackageNewWave.mk
-
-# Bring in all video files
-$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk)
-
-# Include CM audio files
-include vendor/cm/config/cm_audio.mk
+$(call inherit-product, vendor/cm/config/common_full.mk)
# Default ringtone
PRODUCT_PROPERTY_OVERRIDES += \
diff --git a/config/common_full_tablet_wifionly.mk b/config/common_full_tablet_wifionly.mk
index fd0ef2e..be1ac54 100644
--- a/config/common_full_tablet_wifionly.mk
+++ b/config/common_full_tablet_wifionly.mk
@@ -1,17 +1,5 @@
# Inherit common CM stuff
-$(call inherit-product, vendor/cm/config/common.mk)
-
-# Bring in all audio files
-include frameworks/base/data/sounds/NewAudio.mk
-
-# Extra Ringtones
-include frameworks/base/data/sounds/AudioPackageNewWave.mk
-
-# Bring in all video files
-$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk)
-
-# Include CM audio files
-include vendor/cm/config/cm_audio.mk
+$(call inherit-product, vendor/cm/config/common_full.mk)
# Default ringtone
PRODUCT_PROPERTY_OVERRIDES += \