cm: Minor config reorganization
* Move extra tools to common.mk. These are needed for CMFM, and should be included for all. * Move PhotoTable, LiveWallpapersPicker, SoundRecorder and Screencast to common.mk. These apps are extremely small, and only takes up less than 1 MB combined. * Remove obsolete live wallpapers. * Move sound property overrides to common.mk. There's no need to have them spread across several files. * Include CM audio files from common.mk Change-Id: If308506cd9cd0a75014de988c242d700db5d16f3
This commit is contained in:
parent
0525ff2a9e
commit
61536d4497
6 changed files with 26 additions and 58 deletions
|
@ -63,6 +63,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.selinux=1
|
||||
|
||||
# Default notification/alarm sounds
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.config.notification_sound=Argon.ogg \
|
||||
ro.config.alarm_alert=Helium.ogg
|
||||
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
# Thank you, please drive thru!
|
||||
PRODUCT_PROPERTY_OVERRIDES += persist.sys.dun.override=0
|
||||
|
@ -123,6 +128,9 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/config/permissions/com.cyanogenmod.android.xml:system/etc/permissions/com.cyanogenmod.android.xml
|
||||
|
||||
# Include CM audio files
|
||||
include vendor/cm/config/cm_audio.mk
|
||||
|
||||
# Theme engine
|
||||
include vendor/cm/config/themes_common.mk
|
||||
|
||||
|
@ -143,7 +151,9 @@ PRODUCT_PACKAGES += \
|
|||
# Optional CM packages
|
||||
PRODUCT_PACKAGES += \
|
||||
libemoji \
|
||||
Terminal
|
||||
Terminal \
|
||||
LiveWallpapersPicker \
|
||||
PhotoTable
|
||||
|
||||
# Include librsjni explicitly to workaround GMS issue
|
||||
PRODUCT_PACKAGES += \
|
||||
|
@ -163,7 +173,9 @@ PRODUCT_PACKAGES += \
|
|||
CMSettingsProvider \
|
||||
ExactCalculator \
|
||||
LiveLockScreenService \
|
||||
WeatherProvider
|
||||
WeatherProvider \
|
||||
SoundRecorder \
|
||||
Screencast
|
||||
|
||||
# Exchange support
|
||||
PRODUCT_PACKAGES += \
|
||||
|
@ -184,7 +196,18 @@ PRODUCT_PACKAGES += \
|
|||
oprofiled \
|
||||
sqlite3 \
|
||||
strace \
|
||||
pigz
|
||||
pigz \
|
||||
7z \
|
||||
lib7z \
|
||||
bash \
|
||||
bzip2 \
|
||||
curl \
|
||||
powertop \
|
||||
unrar \
|
||||
unzip \
|
||||
vim \
|
||||
wget \
|
||||
zip
|
||||
|
||||
# Custom off-mode charger
|
||||
ifneq ($(WITH_CM_CHARGER),false)
|
||||
|
|
|
@ -3,37 +3,6 @@ $(call inherit-product, vendor/cm/config/common.mk)
|
|||
|
||||
PRODUCT_SIZE := full
|
||||
|
||||
# Include CM audio files
|
||||
include vendor/cm/config/cm_audio.mk
|
||||
|
||||
# Optional CM packages
|
||||
PRODUCT_PACKAGES += \
|
||||
Galaxy4 \
|
||||
HoloSpiralWallpaper \
|
||||
LiveWallpapers \
|
||||
LiveWallpapersPicker \
|
||||
MagicSmokeWallpapers \
|
||||
NoiseField \
|
||||
PhaseBeam \
|
||||
PhotoTable \
|
||||
SoundRecorder \
|
||||
PhotoPhase \
|
||||
Screencast
|
||||
|
||||
# Extra tools in CM
|
||||
PRODUCT_PACKAGES += \
|
||||
7z \
|
||||
lib7z \
|
||||
bash \
|
||||
bzip2 \
|
||||
curl \
|
||||
powertop \
|
||||
unrar \
|
||||
unzip \
|
||||
vim \
|
||||
wget \
|
||||
zip
|
||||
|
||||
# Themes
|
||||
PRODUCT_PACKAGES += \
|
||||
HexoLibre
|
||||
|
|
|
@ -8,11 +8,6 @@ PRODUCT_PACKAGES += \
|
|||
# Include CM LatinIME dictionaries
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries
|
||||
|
||||
# Default notification/alarm sounds
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.config.notification_sound=Argon.ogg \
|
||||
ro.config.alarm_alert=Helium.ogg
|
||||
|
||||
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/prebuilt/common/bootanimation/480.zip:system/media/bootanimation.zip
|
||||
|
|
|
@ -8,11 +8,6 @@ PRODUCT_PACKAGES += \
|
|||
# Include CM LatinIME dictionaries
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries
|
||||
|
||||
# Default notification/alarm sounds
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.config.notification_sound=Argon.ogg \
|
||||
ro.config.alarm_alert=Helium.ogg
|
||||
|
||||
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# Inherit common CM stuff
|
||||
$(call inherit-product, vendor/cm/config/common_full.mk)
|
||||
|
||||
# Default notification/alarm sounds
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.config.notification_sound=Argon.ogg \
|
||||
ro.config.alarm_alert=Helium.ogg
|
||||
|
||||
ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip
|
||||
|
|
|
@ -2,12 +2,3 @@
|
|||
$(call inherit-product, vendor/cm/config/common.mk)
|
||||
|
||||
PRODUCT_SIZE := mini
|
||||
|
||||
# Include CM audio files
|
||||
include vendor/cm/config/cm_audio.mk
|
||||
|
||||
# Default notification/alarm sounds
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.config.notification_sound=Argon.ogg \
|
||||
ro.config.alarm_alert=Helium.ogg
|
||||
|
||||
|
|
Loading…
Reference in a new issue