Commit c493cb30 authored by Aaron Kling's avatar Aaron Kling Committed by Rashed Abdel-Tawab

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
parent 0a18f429
......@@ -16,16 +16,6 @@ endif
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.build.selinux=1
# 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
ifeq ($(TARGET_BUILD_VARIANT),eng)
# Disable ADB authentication
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
......@@ -137,42 +127,13 @@ PRODUCT_PACKAGES += \
# Optional packages
PRODUCT_PACKAGES += \
LiveWallpapersPicker \
PhotoTable \
Terminal
# Custom Lineage packages
PRODUCT_PACKAGES += \
AudioFX \
Backgrounds \
LineageSettingsProvider \
LineageSetupWizard \
Eleven \
ExactCalculator \
Jelly \
LockClock \
TrebuchetQuickStep \
Updater \
WeatherProvider
# Exchange support
PRODUCT_PACKAGES += \
Exchange2
# Berry styles
PRODUCT_PACKAGES += \
LineageBlackTheme \
LineageDarkTheme \
LineageBlackAccent \
LineageBlueAccent \
LineageBrownAccent \
LineageCyanAccent \
LineageGreenAccent \
LineageOrangeAccent \
LineagePinkAccent \
LineagePurpleAccent \
LineageRedAccent \
LineageYellowAccent
Updater
# Extra tools in Lineage
PRODUCT_PACKAGES += \
......@@ -194,18 +155,6 @@ PRODUCT_PACKAGES += \
wget \
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
PRODUCT_PACKAGES += \
fsck.exfat \
......@@ -233,10 +182,6 @@ PRODUCT_PACKAGES += \
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.storage_manager.enabled=true
# Media
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
media.recorder.show_manufacturer_and_model=true
# These packages are excluded from user builds
PRODUCT_PACKAGES_DEBUG += \
micro_bench \
......
# Inherit common Lineage stuff
$(call inherit-product, vendor/lineage/config/common.mk)
$(call inherit-product, vendor/lineage/config/common_mobile.mk)
PRODUCT_SIZE := full
......
# Exclude AudioFX
TARGET_EXCLUDES_AUDIOFX := true
# This config is for legacy purposes, there are no atv product size variants
# Inherit full common Lineage stuff
$(call inherit-product, vendor/lineage/config/common_full.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
# Inherit common atv Lineage stuff
$(call inherit-product, vendor/lineage/config/common_tv.mk)
# 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
# Exclude AudioFX
TARGET_EXCLUDES_AUDIOFX := true
# This config is for legacy purposes, there are no atv product size variants
# Inherit mini common Lineage stuff
$(call inherit-product, vendor/lineage/config/common_mini.mk)
# Inherit common atv Lineage stuff
$(call inherit-product, vendor/lineage/config/common_tv.mk)
# 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
# Custom Lineage packages
PRODUCT_PACKAGES += \
AudioFX \
Backgrounds \
Eleven \
ExactCalculator \
Jelly \
LockClock \
TrebuchetQuickStep \
WeatherProvider
# Exchange support
PRODUCT_PACKAGES += \
Exchange2
# Berry styles
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
# 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment