Split mobile and tv configs
There are a lot of apps installed by default that are unusable with a controller. This splits the mobile related settings out of common into a common_mobile config and adds common_tv. Note: The EXCLUDE_AUDIOFX flag was removed from the tv configs because the new config path no longer builds it. Change-Id: I67db32750fca91725d703243f2bcee8bcd9b82cd
This commit is contained in:
parent
c0b837dbc8
commit
8926990865
7 changed files with 85 additions and 67 deletions
|
@ -13,11 +13,6 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
ro.com.google.clientidbase=$(PRODUCT_GMS_CLIENTID_BASE)
|
ro.com.google.clientidbase=$(PRODUCT_GMS_CLIENTID_BASE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Default notification/alarm sounds
|
|
||||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
|
||||||
ro.config.notification_sound=Argon.ogg \
|
|
||||||
ro.config.alarm_alert=Hassium.ogg
|
|
||||||
|
|
||||||
ifeq ($(TARGET_BUILD_VARIANT),eng)
|
ifeq ($(TARGET_BUILD_VARIANT),eng)
|
||||||
# Disable ADB authentication
|
# Disable ADB authentication
|
||||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
|
||||||
|
@ -127,40 +122,14 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# AOSP packages
|
# AOSP packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
Email \
|
|
||||||
ExactCalculator \
|
|
||||||
Exchange2 \
|
|
||||||
Terminal
|
Terminal
|
||||||
|
|
||||||
# Lineage packages
|
# Lineage packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
AudioFX \
|
|
||||||
Backgrounds \
|
|
||||||
LineageParts \
|
LineageParts \
|
||||||
LineageSettingsProvider \
|
LineageSettingsProvider \
|
||||||
LineageSetupWizard \
|
LineageSetupWizard \
|
||||||
Eleven \
|
Updater
|
||||||
Jelly \
|
|
||||||
LockClock \
|
|
||||||
Profiles \
|
|
||||||
TrebuchetQuickStep \
|
|
||||||
Updater \
|
|
||||||
WeatherProvider
|
|
||||||
|
|
||||||
# Accents
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
LineageBlackTheme \
|
|
||||||
LineageDarkTheme \
|
|
||||||
LineageBlackAccent \
|
|
||||||
LineageBlueAccent \
|
|
||||||
LineageBrownAccent \
|
|
||||||
LineageCyanAccent \
|
|
||||||
LineageGreenAccent \
|
|
||||||
LineageOrangeAccent \
|
|
||||||
LineagePinkAccent \
|
|
||||||
LineagePurpleAccent \
|
|
||||||
LineageRedAccent \
|
|
||||||
LineageYellowAccent
|
|
||||||
|
|
||||||
# Themes
|
# Themes
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -188,18 +157,6 @@ PRODUCT_PACKAGES += \
|
||||||
wget \
|
wget \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
# Charger
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
charger_res_images
|
|
||||||
|
|
||||||
# Custom off-mode charger
|
|
||||||
ifeq ($(WITH_LINEAGE_CHARGER),true)
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
lineage_charger_res_images \
|
|
||||||
font_log.png \
|
|
||||||
libhealthd.lineage
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Filesystems tools
|
# Filesystems tools
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
fsck.exfat \
|
fsck.exfat \
|
||||||
|
@ -227,10 +184,6 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
ro.storage_manager.enabled=true
|
ro.storage_manager.enabled=true
|
||||||
|
|
||||||
# Media
|
|
||||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
|
||||||
media.recorder.show_manufacturer_and_model=true
|
|
||||||
|
|
||||||
# These packages are excluded from user builds
|
# These packages are excluded from user builds
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
procmem
|
procmem
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Inherit common Lineage stuff
|
# Inherit common Lineage stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
$(call inherit-product, vendor/lineage/config/common_mobile.mk)
|
||||||
|
|
||||||
PRODUCT_SIZE := full
|
PRODUCT_SIZE := full
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,4 @@
|
||||||
# Exclude AudioFX
|
# This config is for legacy purposes, there are no atv product size variants
|
||||||
TARGET_EXCLUDES_AUDIOFX := true
|
|
||||||
|
|
||||||
# Inherit full common Lineage stuff
|
# Inherit common atv Lineage stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_full.mk)
|
$(call inherit-product, vendor/lineage/config/common_tv.mk)
|
||||||
|
|
||||||
# Inherit Lineage atv device tree
|
|
||||||
$(call inherit-product, device/lineage/atv/lineage_atv.mk)
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
AppDrawer \
|
|
||||||
LineageCustomizer
|
|
||||||
|
|
||||||
DEVICE_PACKAGE_OVERLAYS += vendor/lineage/overlay/tv
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Inherit mini common Lineage stuff
|
# Inherit mini common Lineage stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
$(call inherit-product, vendor/lineage/config/common_mobile.mk)
|
||||||
|
|
||||||
PRODUCT_SIZE := mini
|
PRODUCT_SIZE := mini
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# Exclude AudioFX
|
# This config is for legacy purposes, there are no atv product size variants
|
||||||
TARGET_EXCLUDES_AUDIOFX := true
|
|
||||||
|
|
||||||
# Inherit mini common Lineage stuff
|
# Inherit common atv Lineage stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_mini.mk)
|
$(call inherit-product, vendor/lineage/config/common_tv.mk)
|
||||||
|
|
65
config/common_mobile.mk
Normal file
65
config/common_mobile.mk
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
# Inherit common mobile Lineage stuff
|
||||||
|
$(call inherit-product, vendor/lineage/config/common.mk)
|
||||||
|
|
||||||
|
# Default notification/alarm sounds
|
||||||
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
|
ro.config.notification_sound=Argon.ogg \
|
||||||
|
ro.config.alarm_alert=Hassium.ogg
|
||||||
|
|
||||||
|
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||||
|
# Thank you, please drive thru!
|
||||||
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.dun.override=0
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Optional packages
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
LiveWallpapersPicker \
|
||||||
|
PhotoTable
|
||||||
|
|
||||||
|
# AOSP packages
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
Email \
|
||||||
|
ExactCalculator \
|
||||||
|
Exchange2
|
||||||
|
|
||||||
|
# Lineage packages
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
AudioFX \
|
||||||
|
Backgrounds \
|
||||||
|
Eleven \
|
||||||
|
Jelly \
|
||||||
|
LockClock \
|
||||||
|
Profiles \
|
||||||
|
TrebuchetQuickStep \
|
||||||
|
WeatherProvider
|
||||||
|
|
||||||
|
# Accents
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
LineageBlackTheme \
|
||||||
|
LineageDarkTheme \
|
||||||
|
LineageBlackAccent \
|
||||||
|
LineageBlueAccent \
|
||||||
|
LineageBrownAccent \
|
||||||
|
LineageCyanAccent \
|
||||||
|
LineageGreenAccent \
|
||||||
|
LineageOrangeAccent \
|
||||||
|
LineagePinkAccent \
|
||||||
|
LineagePurpleAccent \
|
||||||
|
LineageRedAccent \
|
||||||
|
LineageYellowAccent
|
||||||
|
|
||||||
|
# Charger
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
charger_res_images
|
||||||
|
|
||||||
|
# Custom off-mode charger
|
||||||
|
ifeq ($(WITH_LINEAGE_CHARGER),true)
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
lineage_charger_res_images \
|
||||||
|
font_log.png \
|
||||||
|
libhealthd.lineage
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Media
|
||||||
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
|
media.recorder.show_manufacturer_and_model=true
|
11
config/common_tv.mk
Normal file
11
config/common_tv.mk
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Inherit common Lineage stuff
|
||||||
|
$(call inherit-product, vendor/lineage/config/common.mk)
|
||||||
|
|
||||||
|
# Inherit Lineage atv device tree
|
||||||
|
$(call inherit-product, device/lineage/atv/lineage_atv.mk)
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
AppDrawer \
|
||||||
|
LineageCustomizer
|
||||||
|
|
||||||
|
DEVICE_PACKAGE_OVERLAYS += vendor/lineage/overlay/tv
|
Loading…
Reference in a new issue