@@ -4,10 +4,10 @@
|
||||
# Recovery
|
||||
BOARD_USES_FULL_RECOVERY_IMAGE ?= true
|
||||
|
||||
include vendor/lineage/config/BoardConfigKernel.mk
|
||||
include vendor/minus/config/BoardConfigKernel.mk
|
||||
|
||||
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
|
||||
include hardware/qcom-caf/common/BoardConfigQcom.mk
|
||||
endif
|
||||
|
||||
include vendor/lineage/config/BoardConfigSoong.mk
|
||||
include vendor/minus/config/BoardConfigSoong.mk
|
@@ -16,62 +16,5 @@ EXPORT_TO_SOONG := \
|
||||
# Documentation here:
|
||||
# https://github.com/LineageOS/android_build_soong/commit/8328367c44085b948c003116c0ed74a047237a69
|
||||
|
||||
$(call add_soong_config_namespace,lineageVarsPlugin)
|
||||
$(foreach v,$(EXPORT_TO_SOONG),$(eval $(call add_soong_config_var,lineageVarsPlugin,$(v))))
|
||||
|
||||
# Camera
|
||||
ifneq ($(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED),)
|
||||
$(warning TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED is deprecated, please migrate to soong_config_set,camera,override_format_from_reserved)
|
||||
$(call soong_config_set,camera,override_format_from_reserved,$(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED))
|
||||
endif
|
||||
|
||||
# Libui
|
||||
ifneq ($(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS),)
|
||||
$(call soong_config_set,libui,additional_gralloc_10_usage_bits,$(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS))
|
||||
endif
|
||||
|
||||
# Lineage Health HAL
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_path)
|
||||
$(call soong_config_set,lineage_health,charging_control_charging_path,$(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH))
|
||||
endif
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_DEADLINE_PATH),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_DEADLINE_PATH is deprecated, please migrate to soong_config_set,lineage_health,charging_control_deadline_path)
|
||||
$(call soong_config_set,lineage_health,charging_control_deadline_path,$(TARGET_HEALTH_CHARGING_CONTROL_DEADLINE_PATH))
|
||||
endif
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_enabled)
|
||||
$(call soong_config_set,lineage_health,charging_control_charging_enabled,$(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED))
|
||||
endif
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED is deprecated, please migrate to soong_config_set,lineage_health,charging_control_charging_disabled)
|
||||
$(call soong_config_set,lineage_health,charging_control_charging_disabled,$(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED))
|
||||
endif
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS is deprecated, please migrate to soong_config_set,lineage_health,charging_control_supports_bypass)
|
||||
$(call soong_config_set,lineage_health,charging_control_supports_bypass,$(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS))
|
||||
endif
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE is deprecated, please migrate to soong_config_set,lineage_health,charging_control_supports_deadline)
|
||||
$(call soong_config_set,lineage_health,charging_control_supports_deadline,$(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE))
|
||||
endif
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_LIMIT),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_LIMIT is deprecated, please migrate to soong_config_set,lineage_health,charging_control_supports_limit)
|
||||
$(call soong_config_set,lineage_health,charging_control_supports_limit,$(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_LIMIT))
|
||||
endif
|
||||
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE),)
|
||||
$(warning TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE is deprecated, please migrate to soong_config_set,lineage_health,charging_control_supports_toggle)
|
||||
$(call soong_config_set,lineage_health,charging_control_supports_toggle,$(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE))
|
||||
endif
|
||||
|
||||
# Surfaceflinger
|
||||
ifneq ($(TARGET_SURFACEFLINGER_UDFPS_LIB),)
|
||||
$(warning TARGET_SURFACEFLINGER_UDFPS_LIB is deprecated, please migrate to soong_config_set,surfaceflinger,udfps_lib)
|
||||
$(call soong_config_set,surfaceflinger,udfps_lib,$(TARGET_SURFACEFLINGER_UDFPS_LIB))
|
||||
endif
|
||||
|
||||
# Vendor init
|
||||
ifneq ($(TARGET_INIT_VENDOR_LIB),)
|
||||
$(warning TARGET_INIT_VENDOR_LIB is deprecated, please migrate to soong_config_set,libinit,vendor_init_lib)
|
||||
$(call soong_config_set,libinit,vendor_init_lib,$(TARGET_INIT_VENDOR_LIB))
|
||||
endif
|
||||
$(call add_soong_config_namespace,minusVarsPlugin)
|
||||
$(foreach v,$(EXPORT_TO_SOONG),$(eval $(call add_soong_config_var,minusVarsPlugin,$(v))))
|
@@ -24,13 +24,13 @@ PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/alarms/ogg/Barium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Barium.ogg \
|
||||
$(LOCAL_PATH)/alarms/ogg/Hassium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Hassium.ogg \
|
||||
$(LOCAL_PATH)/alarms/ogg/Scandium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Scandium.ogg \
|
||||
vendor/lineage/prebuilt/common/media/audio/alarms/Argon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Argon-old.ogg \
|
||||
vendor/lineage/prebuilt/common/media/audio/alarms/Carbon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Carbon-old.ogg \
|
||||
vendor/lineage/prebuilt/common/media/audio/alarms/Krypton-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Krypton-old.ogg \
|
||||
vendor/lineage/prebuilt/common/media/audio/alarms/Neon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Neon-old.ogg \
|
||||
vendor/lineage/prebuilt/common/media/audio/alarms/Osmium-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Osmium-old.ogg \
|
||||
vendor/lineage/prebuilt/common/media/audio/alarms/Oxygen-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Oxygen-old.ogg \
|
||||
vendor/lineage/prebuilt/common/media/audio/alarms/Platinum-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Platinum-old.ogg
|
||||
vendor/minus/prebuilt/common/media/audio/alarms/Argon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Argon-old.ogg \
|
||||
vendor/minus/prebuilt/common/media/audio/alarms/Carbon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Carbon-old.ogg \
|
||||
vendor/minus/prebuilt/common/media/audio/alarms/Krypton-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Krypton-old.ogg \
|
||||
vendor/minus/prebuilt/common/media/audio/alarms/Neon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Neon-old.ogg \
|
||||
vendor/minus/prebuilt/common/media/audio/alarms/Osmium-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Osmium-old.ogg \
|
||||
vendor/minus/prebuilt/common/media/audio/alarms/Oxygen-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Oxygen-old.ogg \
|
||||
vendor/minus/prebuilt/common/media/audio/alarms/Platinum-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Platinum-old.ogg
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/F1_New_SMS.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/F1_New_SMS.ogg \
|
||||
|
132
config/common.mk
132
config/common.mk
@@ -1,7 +1,7 @@
|
||||
# Allow vendor/extra to override any property by setting it first
|
||||
$(call inherit-product-if-exists, vendor/extra/product.mk)
|
||||
|
||||
PRODUCT_BRAND ?= LineageOS
|
||||
PRODUCT_BRAND ?= MinusOS
|
||||
|
||||
ifeq ($(PRODUCT_GMS_CLIENTID_BASE),)
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
@@ -11,16 +11,6 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.com.google.clientidbase=$(PRODUCT_GMS_CLIENTID_BASE)
|
||||
endif
|
||||
|
||||
ifeq ($(PRODUCT_IS_ATV),true)
|
||||
ifeq ($(PRODUCT_ATV_CLIENTID_BASE),)
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.oem.key1=ATV00100020
|
||||
else
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.oem.key1=$(PRODUCT_ATV_CLIENTID_BASE)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_BUILD_VARIANT),eng)
|
||||
# Disable ADB authentication
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
|
||||
@@ -39,18 +29,18 @@ endif
|
||||
|
||||
# Backup Tool
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
||||
vendor/lineage/prebuilt/common/bin/50-lineage.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-lineage.sh
|
||||
vendor/minus/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \
|
||||
vendor/minus/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
||||
vendor/minus/prebuilt/common/bin/50-minus.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-minus.sh
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/addon.d/50-lineage.sh
|
||||
system/addon.d/50-minus.sh
|
||||
|
||||
ifneq ($(strip $(AB_OTA_PARTITIONS) $(AB_OTA_POSTINSTALL_CONFIG)),)
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.sh \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.functions:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.functions \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_postinstall.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_postinstall.sh
|
||||
vendor/minus/prebuilt/common/bin/backuptool_ab.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.sh \
|
||||
vendor/minus/prebuilt/common/bin/backuptool_ab.functions:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.functions \
|
||||
vendor/minus/prebuilt/common/bin/backuptool_postinstall.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_postinstall.sh
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/bin/backuptool_ab.sh \
|
||||
@@ -63,13 +53,13 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
endif
|
||||
endif
|
||||
|
||||
# Lineage-specific broadcast actions whitelist
|
||||
# minus-specific broadcast actions whitelist
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/lineage-sysconfig.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/lineage-sysconfig.xml
|
||||
vendor/minus/config/permissions/minus-sysconfig.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/minus-sysconfig.xml
|
||||
|
||||
# Lineage-specific init rc file
|
||||
# minus-specific init rc file
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/etc/init/init.lineage-system_ext.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.lineage-system_ext.rc
|
||||
vendor/minus/prebuilt/common/etc/init/init.minus-system_ext.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.minus-system_ext.rc
|
||||
|
||||
# Enable SIP+VoIP on all targets
|
||||
PRODUCT_COPY_FILES += \
|
||||
@@ -83,23 +73,10 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/base/data/keyboards/Vendor_045e_Product_028e.kl:$(TARGET_COPY_OUT_PRODUCT)/usr/keylayout/Vendor_045e_Product_0719.kl
|
||||
|
||||
# Component overrides
|
||||
PRODUCT_PACKAGES += \
|
||||
lineage-component-overrides.xml
|
||||
|
||||
# This is Lineage!
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/org.lineageos.android.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.android.xml
|
||||
|
||||
# Enforce privapp-permissions whitelist
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.control_privapp_permissions=enforce
|
||||
|
||||
ifneq ($(TARGET_DISABLE_LINEAGE_SDK), true)
|
||||
# Lineage SDK
|
||||
include vendor/lineage/config/lineage_sdk_common.mk
|
||||
endif
|
||||
|
||||
# Do not include art debug targets
|
||||
PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
|
||||
|
||||
@@ -113,61 +90,25 @@ PRODUCT_RESTRICT_VENDOR_FILES := false
|
||||
|
||||
ifneq ($(TARGET_DISABLE_EPPE),true)
|
||||
# Require all requested packages to exist
|
||||
$(call enforce-product-packages-exist-internal,$(wildcard device/*/$(LINEAGE_BUILD)/$(TARGET_PRODUCT).mk),product_manifest.xml rild Calendar android.hidl.memory@1.0-impl.vendor vndk_apex_snapshot_package)
|
||||
$(call enforce-product-packages-exist-internal,$(wildcard device/*/$(MINUS_BUILD)/$(TARGET_PRODUCT).mk),product_manifest.xml rild Calendar android.hidl.memory@1.0-impl.vendor vndk_apex_snapshot_package)
|
||||
endif
|
||||
|
||||
# Bootanimation
|
||||
TARGET_SCREEN_WIDTH ?= 1080
|
||||
TARGET_SCREEN_HEIGHT ?= 1920
|
||||
PRODUCT_PACKAGES += \
|
||||
bootanimation.zip
|
||||
|
||||
# Build Manifest
|
||||
PRODUCT_PACKAGES += \
|
||||
build-manifest
|
||||
|
||||
# Lineage packages
|
||||
ifeq ($(PRODUCT_IS_ATV),)
|
||||
PRODUCT_PACKAGES += \
|
||||
ExactCalculator \
|
||||
Jelly
|
||||
endif
|
||||
|
||||
ifeq ($(PRODUCT_IS_AUTOMOTIVE),)
|
||||
PRODUCT_PACKAGES += \
|
||||
LineageParts \
|
||||
LineageSetupWizard
|
||||
endif
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
LineageSettingsProvider \
|
||||
Updater
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/etc/init/init.lineage-updater.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.lineage-updater.rc
|
||||
|
||||
# Config
|
||||
PRODUCT_PACKAGES += \
|
||||
SimpleDeviceConfig \
|
||||
SimpleSettingsConfig
|
||||
|
||||
# Extra tools in Lineage
|
||||
# Extra tools
|
||||
PRODUCT_PACKAGES += \
|
||||
bash \
|
||||
curl \
|
||||
getcap \
|
||||
htop \
|
||||
nano \
|
||||
setcap \
|
||||
vim
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
nano_recovery
|
||||
getcap
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/bin/curl \
|
||||
system/bin/getcap \
|
||||
system/bin/setcap
|
||||
system/bin/getcap
|
||||
|
||||
# Filesystems tools
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -184,7 +125,7 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
|
||||
# FRP
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/bin/wipe-frp.sh:$(TARGET_COPY_OUT_RECOVERY)/root/system/bin/wipe-frp
|
||||
vendor/minus/prebuilt/common/bin/wipe-frp.sh:$(TARGET_COPY_OUT_RECOVERY)/root/system/bin/wipe-frp
|
||||
|
||||
# Openssh
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -197,11 +138,7 @@ PRODUCT_PACKAGES += \
|
||||
start-ssh
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/etc/init/init.openssh.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.openssh.rc
|
||||
|
||||
# rsync
|
||||
PRODUCT_PACKAGES += \
|
||||
rsync
|
||||
vendor/minus/prebuilt/common/etc/init/init.openssh.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.openssh.rc
|
||||
|
||||
# Storage manager
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
@@ -216,22 +153,10 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/bin/procmem
|
||||
endif
|
||||
|
||||
# Root
|
||||
PRODUCT_PACKAGES += \
|
||||
adb_root
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
ifeq ($(WITH_SU),true)
|
||||
PRODUCT_PACKAGES += \
|
||||
su
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/xbin/su
|
||||
endif
|
||||
endif
|
||||
|
||||
# SystemUI
|
||||
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
||||
CarSystemUI \
|
||||
Launcher3QuickStep \
|
||||
Settings \
|
||||
SystemUI
|
||||
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
@@ -247,10 +172,9 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
setupwizard.theme=glif_v4 \
|
||||
setupwizard.feature.day_night_mode_enabled=true
|
||||
|
||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/no-rro
|
||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/minus/overlay/no-rro
|
||||
PRODUCT_PACKAGE_OVERLAYS += \
|
||||
vendor/lineage/overlay/common \
|
||||
vendor/lineage/overlay/no-rro
|
||||
vendor/minus/overlay/common
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
DocumentsUIOverlay \
|
||||
@@ -264,15 +188,9 @@ CUSTOM_LOCALES += \
|
||||
cy_GB \
|
||||
fur_IT
|
||||
|
||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/crowdin/overlay
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/crowdin/overlay
|
||||
include vendor/minus/config/version.mk
|
||||
|
||||
PRODUCT_EXTRA_RECOVERY_KEYS += \
|
||||
vendor/lineage/build/target/product/security/lineage
|
||||
|
||||
include vendor/lineage/config/version.mk
|
||||
|
||||
-include vendor/lineage-priv/keys/keys.mk
|
||||
-include vendor/minus-priv/keys/keys.mk
|
||||
|
||||
-include $(WORKSPACE)/build_env/image-auto-bits.mk
|
||||
-include vendor/lineage/config/partner_gms.mk
|
||||
|
||||
|
@@ -1,5 +0,0 @@
|
||||
# Inherit common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
||||
|
||||
# Inherit Lineage car device tree
|
||||
$(call inherit-product, device/lineage/car/lineage_car.mk)
|
@@ -1,13 +1,13 @@
|
||||
# Inherit mobile full common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile_full.mk)
|
||||
# Inherit mobile full common MinusOS stuff
|
||||
$(call inherit-product, vendor/minus/config/common_mobile_full.mk)
|
||||
|
||||
# Enable support of one-handed mode
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.support_one_handed_mode?=true
|
||||
|
||||
# Inherit tablet common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/tablet.mk)
|
||||
# Inherit tablet common MinusOS stuff
|
||||
$(call inherit-product, vendor/minus/config/tablet.mk)
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
||||
$(call inherit-product, vendor/minus/config/telephony.mk)
|
||||
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/foldable_book
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/minus/overlay/foldable_book
|
||||
|
@@ -1,5 +0,0 @@
|
||||
# Set Lineage specific identifier for Android Go enabled products
|
||||
PRODUCT_TYPE := go
|
||||
|
||||
# Inherit full common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
@@ -1,8 +1,8 @@
|
||||
# Inherit mobile full common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile_full.mk)
|
||||
# Inherit mobile full common MinusOS stuff
|
||||
$(call inherit-product, vendor/minus/config/common_mobile_full.mk)
|
||||
|
||||
# Enable support of one-handed mode
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.support_one_handed_mode?=true
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
||||
$(call inherit-product, vendor/minus/config/telephony.mk)
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Inherit mobile full common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile_full.mk)
|
||||
# Inherit mobile full common MinusOS
|
||||
$(call inherit-product, vendor/minus/config/common_mobile_full.mk)
|
||||
|
||||
# Inherit tablet common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/tablet.mk)
|
||||
# Inherit tablet common MinusOS
|
||||
$(call inherit-product, vendor/minus/config/tablet.mk)
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
||||
$(call inherit-product, vendor/minus/config/telephony.mk)
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Inherit mobile full common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile_full.mk)
|
||||
# Inherit mobile full common MinusOS
|
||||
$(call inherit-product, vendor/minus/config/common_mobile_full.mk)
|
||||
|
||||
# Inherit tablet common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/tablet.mk)
|
||||
# Inherit tablet common MinusOS
|
||||
$(call inherit-product, vendor/minus/config/tablet.mk)
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/wifionly.mk)
|
||||
$(call inherit-product, vendor/minus/config/wifionly.mk)
|
||||
|
@@ -1,4 +0,0 @@
|
||||
# This config is for legacy purposes, there are no atv product size variants
|
||||
|
||||
# Inherit common atv Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_tv.mk)
|
@@ -1,5 +0,0 @@
|
||||
# Set Lineage specific identifier for Android Go enabled products
|
||||
PRODUCT_TYPE := go
|
||||
|
||||
# Inherit mini common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mini_phone.mk)
|
@@ -1,4 +1,4 @@
|
||||
# Inherit mobile mini common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile_mini.mk)
|
||||
# Inherit mobile mini common MinusOS
|
||||
$(call inherit-product, vendor/minus/config/common_mobile_mini.mk)
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
||||
$(call inherit-product, vendor/minus/config/telephony.mk)
|
||||
|
@@ -1,7 +0,0 @@
|
||||
# Inherit mobile mini common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile_mini.mk)
|
||||
|
||||
# Inherit tablet common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/tablet.mk)
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
@@ -1,7 +0,0 @@
|
||||
# Inherit mobile mini common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile_mini.mk)
|
||||
|
||||
# Inherit tablet common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/tablet.mk)
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/wifionly.mk)
|
@@ -1,4 +0,0 @@
|
||||
# This config is for legacy purposes, there are no atv product size variants
|
||||
|
||||
# Inherit common atv Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_tv.mk)
|
@@ -1,89 +1,9 @@
|
||||
# Inherit common mobile Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
||||
# Inherit common mobile MinusOS stuff
|
||||
$(call inherit-product, vendor/minus/config/common.mk)
|
||||
|
||||
# Include AOSP audio files
|
||||
$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage14.mk)
|
||||
include vendor/lineage/config/aosp_audio.mk
|
||||
|
||||
# Include Lineage audio files
|
||||
include vendor/lineage/config/lineage_audio.mk
|
||||
|
||||
# Default notification/alarm sounds
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.config.notification_sound=Argon.ogg \
|
||||
ro.config.alarm_alert=Hassium.ogg
|
||||
|
||||
# Apps
|
||||
PRODUCT_PACKAGES += \
|
||||
AvatarPicker \
|
||||
Backgrounds \
|
||||
Glimpse \
|
||||
LatinIME
|
||||
|
||||
ifeq ($(PRODUCT_TYPE), go)
|
||||
PRODUCT_PACKAGES += \
|
||||
Launcher3QuickStepGo
|
||||
|
||||
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
||||
Launcher3QuickStepGo
|
||||
else
|
||||
PRODUCT_PACKAGES += \
|
||||
Launcher3QuickStep
|
||||
|
||||
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
||||
Launcher3QuickStep
|
||||
endif
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
Launcher3Overlay
|
||||
|
||||
# Charger
|
||||
PRODUCT_PACKAGES += \
|
||||
charger_res_images
|
||||
|
||||
ifneq ($(WITH_LINEAGE_CHARGER),false)
|
||||
PRODUCT_PACKAGES += \
|
||||
lineage_charger_animation \
|
||||
lineage_charger_animation_vendor
|
||||
endif
|
||||
|
||||
# Customizations
|
||||
PRODUCT_PACKAGES += \
|
||||
IconPackCircularAndroidOverlay \
|
||||
IconPackCircularLauncherOverlay \
|
||||
IconPackCircularSettingsOverlay \
|
||||
IconPackCircularSystemUIOverlay \
|
||||
IconPackFilledAndroidOverlay \
|
||||
IconPackFilledLauncherOverlay \
|
||||
IconPackFilledSettingsOverlay \
|
||||
IconPackFilledSystemUIOverlay \
|
||||
IconPackKaiAndroidOverlay \
|
||||
IconPackKaiLauncherOverlay \
|
||||
IconPackKaiSettingsOverlay \
|
||||
IconPackKaiSystemUIOverlay \
|
||||
IconPackRoundedAndroidOverlay \
|
||||
IconPackRoundedLauncherOverlay \
|
||||
IconPackRoundedSettingsOverlay \
|
||||
IconPackRoundedSystemUIOverlay \
|
||||
IconPackSamAndroidOverlay \
|
||||
IconPackSamLauncherOverlay \
|
||||
IconPackSamSettingsOverlay \
|
||||
IconPackSamSystemUIOverlay \
|
||||
IconPackVictorAndroidOverlay \
|
||||
IconPackVictorLauncherOverlay \
|
||||
IconPackVictorSettingsOverlay \
|
||||
IconPackVictorSystemUIOverlay \
|
||||
IconShapePebbleOverlay \
|
||||
IconShapeRoundedRectOverlay \
|
||||
IconShapeSquareOverlay \
|
||||
IconShapeSquircleOverlay \
|
||||
IconShapeTaperedRectOverlay \
|
||||
IconShapeTeardropOverlay \
|
||||
IconShapeVesselOverlay
|
||||
|
||||
# Legal
|
||||
PRODUCT_SYSTEM_PROPERTIES += \
|
||||
ro.lineagelegal.url=https://lineageos.org/legal
|
||||
include vendor/minus/config/aosp_audio.mk
|
||||
|
||||
# Media
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
@@ -108,6 +28,9 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
|
||||
# Themes
|
||||
PRODUCT_PACKAGES += \
|
||||
LineageBlackTheme \
|
||||
ThemePicker \
|
||||
ThemesStub
|
||||
|
||||
# WallpaperPicker
|
||||
PRODUCT_PACKAGES += \
|
||||
WallpaperPicker2
|
@@ -1,5 +1,5 @@
|
||||
# Inherit common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile.mk)
|
||||
# Inherit common Minus stuff
|
||||
$(call inherit-product, vendor/minus/config/common_mobile.mk)
|
||||
|
||||
PRODUCT_SIZE := full
|
||||
|
||||
@@ -9,34 +9,9 @@ $(call inherit-product-if-exists, external/google-fonts/rubik/fonts.mk)
|
||||
|
||||
# Apps
|
||||
PRODUCT_PACKAGES += \
|
||||
Camelot \
|
||||
Etar \
|
||||
Profiles \
|
||||
Recorder \
|
||||
Seedvault \
|
||||
Twelve
|
||||
|
||||
ifneq ($(PRODUCT_NO_CAMERA),true)
|
||||
PRODUCT_PACKAGES += \
|
||||
Aperture
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_EXCLUDES_AUDIOFX),true)
|
||||
PRODUCT_PACKAGES += \
|
||||
AudioFX
|
||||
endif
|
||||
Camelot
|
||||
|
||||
# Extra cmdline tools
|
||||
PRODUCT_PACKAGES += \
|
||||
unrar \
|
||||
zstd
|
||||
|
||||
# Fonts
|
||||
PRODUCT_PACKAGES += \
|
||||
fonts_customization.xml \
|
||||
FontLatoOverlay \
|
||||
FontRubikOverlay
|
||||
|
||||
# Include Lineage LatinIME dictionaries
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/dictionaries
|
||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/dictionaries
|
||||
zstd
|
@@ -1,4 +1,4 @@
|
||||
# Inherit mini common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile.mk)
|
||||
# Inherit mini common Minus stuff
|
||||
$(call inherit-product, vendor/minus/config/common_mobile.mk)
|
||||
|
||||
PRODUCT_SIZE := mini
|
||||
|
@@ -1,19 +0,0 @@
|
||||
# Inherit common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
||||
|
||||
# Include AOSP audio files
|
||||
$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioTv.mk)
|
||||
|
||||
# Inherit Lineage atv device tree
|
||||
$(call inherit-product, device/lineage/atv/lineage_atv.mk)
|
||||
|
||||
# AOSP packages
|
||||
PRODUCT_PACKAGES += \
|
||||
LeanbackIME
|
||||
|
||||
# Lineage packages
|
||||
PRODUCT_PACKAGES += \
|
||||
Catapult \
|
||||
LineageCustomizer
|
||||
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/tv
|
@@ -1,22 +0,0 @@
|
||||
# Permissions for lineage sdk services
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/org.lineageos.globalactions.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.globalactions.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.hardware.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.hardware.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.health.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.health.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.livedisplay.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.livedisplay.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.profiles.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.profiles.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.settings.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.settings.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.trust.xml
|
||||
|
||||
# Lineage Platform Library
|
||||
PRODUCT_PACKAGES += \
|
||||
org.lineageos.platform-res \
|
||||
org.lineageos.platform
|
||||
|
||||
# AOSP has no support of loading framework resources from /system_ext
|
||||
# so the SDK has to stay in /system for now
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/framework/oat/%/org.lineageos.platform.odex \
|
||||
system/framework/oat/%/org.lineageos.platform.vdex \
|
||||
system/framework/org.lineageos.platform-res.apk \
|
||||
system/framework/org.lineageos.platform.jar
|
@@ -1,10 +1,10 @@
|
||||
#
|
||||
# Lineage Audio Files
|
||||
# Minus Audio Files
|
||||
#
|
||||
|
||||
ALARM_PATH := vendor/lineage/prebuilt/common/media/audio/alarms
|
||||
NOTIFICATION_PATH := vendor/lineage/prebuilt/common/media/audio/notifications
|
||||
RINGTONE_PATH := vendor/lineage/prebuilt/common/media/audio/ringtones
|
||||
ALARM_PATH := vendor/minus/prebuilt/common/media/audio/alarms
|
||||
NOTIFICATION_PATH := vendor/minus/prebuilt/common/media/audio/notifications
|
||||
RINGTONE_PATH := vendor/minus/prebuilt/common/media/audio/ringtones
|
||||
|
||||
# Alarms
|
||||
PRODUCT_COPY_FILES += \
|
@@ -1,51 +0,0 @@
|
||||
ifeq ($(WITH_GMS),true)
|
||||
# Special handling for Android TV
|
||||
ifeq ($(PRODUCT_IS_ATV),true)
|
||||
ifneq (,$(wildcard vendor/partner_gms-tv))
|
||||
ifneq ($(GMS_MAKEFILE),)
|
||||
# Specify the GMS makefile you want to use, for example:
|
||||
# - gms.mk - default Android TV GMS
|
||||
# - gms_gtv.mk - default Google TV GMS
|
||||
# - gms_minimal.mk - minimal Android TV GMS
|
||||
$(call inherit-product, vendor/partner_gms-tv/products/$(GMS_MAKEFILE))
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/partner_gms-tv/products/gms.mk)
|
||||
endif
|
||||
$(call inherit-product-if-exists, vendor/partner_gms-tv/products/mainline_modules.mk)
|
||||
endif
|
||||
# Special handling for Android Automotive
|
||||
else ifeq ($(PRODUCT_IS_AUTOMOTIVE),true)
|
||||
ifneq (,$(wildcard vendor/partner_gms-car))
|
||||
ifneq ($(GMS_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_gms-car/products/$(GMS_MAKEFILE))
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/partner_gms-car/products/gms.mk)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifneq (,$(wildcard vendor/partner_gms))
|
||||
# Specify the GMS makefile you want to use, for example:
|
||||
# - fi.mk - Project Fi
|
||||
# - gms.mk - default GMS
|
||||
# - gms_go.mk - low ram devices
|
||||
# - gms_go_2gb.mk - low ram devices (2GB)
|
||||
# - gms_64bit_only.mk - devices supporting 64-bit only
|
||||
# - gms_minimal.mk - minimal GMS
|
||||
ifneq ($(GMS_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_gms/products/$(GMS_MAKEFILE))
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/partner_gms/products/gms.mk)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(wildcard vendor/partner_modules))
|
||||
# Specify the mainline module makefile you want to use, for example:
|
||||
# - mainline_modules.mk - updatable apex
|
||||
# - mainline_modules_flatten_apex.mk - flatten apex
|
||||
# - mainline_modules_low_ram.mk - low ram devices
|
||||
ifneq ($(MAINLINE_MODULES_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_modules/build/$(MAINLINE_MODULES_MAKEFILE))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
@@ -19,7 +19,7 @@
|
||||
<!-- Broadcast actions that are currently exempted from O+ background
|
||||
delivery restrictions. -->
|
||||
<allow-implicit-broadcast action="android.intent.action.CAMERA_BUTTON" />
|
||||
<allow-implicit-broadcast action="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
|
||||
<allow-implicit-broadcast action="lineageos.intent.action.LID_STATE_CHANGED" />
|
||||
<allow-implicit-broadcast action="minusos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
|
||||
<allow-implicit-broadcast action="minusos.intent.action.LID_STATE_CHANGED" />
|
||||
|
||||
</config>
|
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2012 The CyanogenMod Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!-- This feature shows that this is LineageOS -->
|
||||
<permissions>
|
||||
<feature name="org.lineageos.android" />
|
||||
</permissions>
|
||||
|
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<!-- The feature listed here coincides with the GlobalActionsManagerService declared as
|
||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
||||
on the device, the service will not be published as a binder service!
|
||||
-->
|
||||
<feature name="org.lineageos.globalactions" />
|
||||
</permissions>
|
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<permissions>
|
||||
<feature name="org.lineageos.hardware" />
|
||||
</permissions>
|
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2016 The CyanogenMod Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<!-- The feature listed here coincides with the PerformanceManagerService declared as
|
||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
||||
on the device, the service will not be published as a binder service!
|
||||
-->
|
||||
<feature name="org.lineageos.livedisplay" />
|
||||
</permissions>
|
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2016 The CyanogenMod Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<!-- The feature listed here coincides with the ProfileManagerService declared as
|
||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
||||
on the device, the service will not be published as a binder service!
|
||||
-->
|
||||
<feature name="org.lineageos.profiles" />
|
||||
</permissions>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2018 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<feature name="org.lineageos.settings" />
|
||||
</permissions>
|
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2018 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<!-- The feature listed here coincides with the TrustInterfaceService declared as
|
||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
||||
on the device, the service will not be published as a binder service!
|
||||
-->
|
||||
<feature name="org.lineageos.trust" />
|
||||
</permissions>
|
@@ -5,4 +5,4 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.settings.large_screen_opt.enabled=true
|
||||
|
||||
# Tablet-specific overlay
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/tablet
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/minus/overlay/tablet
|
||||
|
@@ -1,45 +1,17 @@
|
||||
PRODUCT_VERSION_MAJOR = 23
|
||||
PRODUCT_VERSION_MINOR = 0
|
||||
MINUS_DATE_YEAR := $(shell date -u +%Y)
|
||||
MINUS_DATE_MONTH := $(shell date -u +%m)
|
||||
MINUS_DATE_DAY := $(shell date -u +%d)
|
||||
MINUS_DATE_HOUR := $(shell date -u +%H)
|
||||
MINUS_DATE_MINUTE := $(shell date -u +%M)
|
||||
MINUS_BUILD_DATE_UTC := $(shell date -d '$(MINUS_DATE_YEAR)-$(MINUS_DATE_MONTH)-$(MINUS_DATE_DAY) $(MINUS_DATE_HOUR):$(MINUS_DATE_MINUTE) UTC' +%s)
|
||||
MINUS_BUILD_DATE := $(MINUS_DATE_YEAR)$(MINUS_DATE_MONTH)$(MINUS_DATE_DAY)-$(MINUS_DATE_HOUR)$(MINUS_DATE_MINUTE)
|
||||
MINUS_PLATFORM_VERSION := 16.0
|
||||
MINUS_VERSION := $(MINUS_BUILD)-$(MINUS_PLATFORM_VERSION)-$(MINUS_BUILD_DATE)
|
||||
MINUS_VERSION_PROP := Balsam
|
||||
|
||||
ifeq ($(LINEAGE_VERSION_APPEND_TIME_OF_DAY),true)
|
||||
LINEAGE_BUILD_DATE := $(shell date -u +%Y%m%d_%H%M%S)
|
||||
else
|
||||
LINEAGE_BUILD_DATE := $(shell date -u +%Y%m%d)
|
||||
endif
|
||||
|
||||
# Set LINEAGE_BUILDTYPE from the env RELEASE_TYPE, for jenkins compat
|
||||
|
||||
ifndef LINEAGE_BUILDTYPE
|
||||
ifdef RELEASE_TYPE
|
||||
# Starting with "LINEAGE_" is optional
|
||||
RELEASE_TYPE := $(shell echo $(RELEASE_TYPE) | sed -e 's|^LINEAGE_||g')
|
||||
LINEAGE_BUILDTYPE := $(RELEASE_TYPE)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Filter out random types, so it'll reset to UNOFFICIAL
|
||||
ifeq ($(filter RELEASE NIGHTLY SNAPSHOT EXPERIMENTAL,$(LINEAGE_BUILDTYPE)),)
|
||||
LINEAGE_BUILDTYPE := UNOFFICIAL
|
||||
LINEAGE_EXTRAVERSION :=
|
||||
endif
|
||||
|
||||
ifeq ($(LINEAGE_BUILDTYPE), UNOFFICIAL)
|
||||
ifneq ($(TARGET_UNOFFICIAL_BUILD_ID),)
|
||||
LINEAGE_EXTRAVERSION := -$(TARGET_UNOFFICIAL_BUILD_ID)
|
||||
endif
|
||||
endif
|
||||
|
||||
LINEAGE_VERSION_SUFFIX := $(LINEAGE_BUILD_DATE)-$(LINEAGE_BUILDTYPE)$(LINEAGE_EXTRAVERSION)-$(LINEAGE_BUILD)
|
||||
|
||||
# Internal version
|
||||
LINEAGE_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)-$(LINEAGE_VERSION_SUFFIX)
|
||||
|
||||
# Display version
|
||||
LINEAGE_DISPLAY_VERSION := $(PRODUCT_VERSION_MAJOR)-$(LINEAGE_VERSION_SUFFIX)
|
||||
|
||||
# LineageOS version properties
|
||||
PRODUCT_SYSTEM_PROPERTIES += \
|
||||
ro.lineage.version=$(LINEAGE_VERSION) \
|
||||
ro.lineage.display.version=$(LINEAGE_DISPLAY_VERSION) \
|
||||
ro.lineage.build.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR) \
|
||||
ro.lineage.releasetype=$(LINEAGE_BUILDTYPE)
|
||||
ro.minus.build.date=$(BUILD_DATE) \
|
||||
ro.minus.fingerprint=$(ROM_FINGERPRINT) \
|
||||
ro.minus.version=$(MINUS_VERSION_PROP) \
|
||||
ro.minus.device=$(MINUS_BUILD) \
|
||||
ro.modversion=$(MINUS_VERSION)
|
@@ -2,4 +2,4 @@
|
||||
PRODUCT_PACKAGES += \
|
||||
EmergencyInfo
|
||||
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/wifionly
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/minus/overlay/wifionly
|
||||
|
Reference in New Issue
Block a user