|
|
|
@ -33,41 +33,41 @@ endif
|
|
|
|
|
|
|
|
|
|
# Copy over the changelog to the device
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
|
|
|
|
|
vendor/lineage/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
|
|
|
|
|
|
|
|
|
|
# Backup Tool
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \
|
|
|
|
|
vendor/cm/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
|
|
|
|
vendor/cm/prebuilt/common/bin/50-cm.sh:system/addon.d/50-cm.sh \
|
|
|
|
|
vendor/cm/prebuilt/common/bin/blacklist:system/addon.d/blacklist
|
|
|
|
|
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-cm.sh:system/addon.d/50-cm.sh \
|
|
|
|
|
vendor/lineage/prebuilt/common/bin/blacklist:system/addon.d/blacklist
|
|
|
|
|
|
|
|
|
|
# Backup Services whitelist
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/config/permissions/backup.xml:system/etc/sysconfig/backup.xml
|
|
|
|
|
vendor/lineage/config/permissions/backup.xml:system/etc/sysconfig/backup.xml
|
|
|
|
|
|
|
|
|
|
# Signature compatibility validation
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/prebuilt/common/bin/otasigcheck.sh:install/bin/otasigcheck.sh
|
|
|
|
|
vendor/lineage/prebuilt/common/bin/otasigcheck.sh:install/bin/otasigcheck.sh
|
|
|
|
|
|
|
|
|
|
# init.d support
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
|
|
|
|
|
vendor/cm/prebuilt/common/bin/sysinit:system/bin/sysinit
|
|
|
|
|
vendor/lineage/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
|
|
|
|
|
vendor/lineage/prebuilt/common/bin/sysinit:system/bin/sysinit
|
|
|
|
|
|
|
|
|
|
ifneq ($(TARGET_BUILD_VARIANT),user)
|
|
|
|
|
# userinit support
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/prebuilt/common/etc/init.d/90userinit:system/etc/init.d/90userinit
|
|
|
|
|
vendor/lineage/prebuilt/common/etc/init.d/90userinit:system/etc/init.d/90userinit
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# CM-specific init file
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/prebuilt/common/etc/init.local.rc:root/init.cm.rc
|
|
|
|
|
vendor/lineage/prebuilt/common/etc/init.local.rc:root/init.cm.rc
|
|
|
|
|
|
|
|
|
|
# Copy over added mimetype supported in libcore.net.MimeUtils
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/prebuilt/common/lib/content-types.properties:system/lib/content-types.properties
|
|
|
|
|
vendor/lineage/prebuilt/common/lib/content-types.properties:system/lib/content-types.properties
|
|
|
|
|
|
|
|
|
|
# Enable SIP+VoIP on all targets
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
@ -79,22 +79,22 @@ PRODUCT_COPY_FILES += \
|
|
|
|
|
|
|
|
|
|
# This is CM!
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
vendor/cm/config/permissions/com.cyanogenmod.android.xml:system/etc/permissions/com.cyanogenmod.android.xml
|
|
|
|
|
vendor/lineage/config/permissions/com.cyanogenmod.android.xml:system/etc/permissions/com.cyanogenmod.android.xml
|
|
|
|
|
|
|
|
|
|
# Include CM audio files
|
|
|
|
|
include vendor/cm/config/cm_audio.mk
|
|
|
|
|
include vendor/lineage/config/cm_audio.mk
|
|
|
|
|
|
|
|
|
|
# Theme engine
|
|
|
|
|
include vendor/cm/config/themes_common.mk
|
|
|
|
|
include vendor/lineage/config/themes_common.mk
|
|
|
|
|
|
|
|
|
|
ifneq ($(TARGET_DISABLE_CMSDK), true)
|
|
|
|
|
# CMSDK
|
|
|
|
|
include vendor/cm/config/cmsdk_common.mk
|
|
|
|
|
include vendor/lineage/config/cmsdk_common.mk
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# TWRP
|
|
|
|
|
ifeq ($(WITH_TWRP),true)
|
|
|
|
|
include vendor/cm/config/twrp.mk
|
|
|
|
|
include vendor/lineage/config/twrp.mk
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# Bootanimation
|
|
|
|
@ -235,7 +235,7 @@ PRODUCT_PACKAGES += \
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += vendor/cm/overlay/common
|
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += vendor/lineage/overlay/common
|
|
|
|
|
|
|
|
|
|
PRODUCT_VERSION_MAJOR = 14
|
|
|
|
|
PRODUCT_VERSION_MINOR = 1
|
|
|
|
@ -324,7 +324,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
|
ro.cmlegal.url=https://lineageos.org/legal
|
|
|
|
|
|
|
|
|
|
PRODUCT_EXTRA_RECOVERY_KEYS += \
|
|
|
|
|
vendor/cm/build/target/product/security/lineage
|
|
|
|
|
vendor/lineage/build/target/product/security/lineage
|
|
|
|
|
|
|
|
|
|
-include vendor/cm-priv/keys/keys.mk
|
|
|
|
|
|
|
|
|
@ -357,7 +357,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
|
ro.cm.display.version=$(CM_DISPLAY_VERSION)
|
|
|
|
|
|
|
|
|
|
-include $(WORKSPACE)/build_env/image-auto-bits.mk
|
|
|
|
|
-include vendor/cm/config/partner_gms.mk
|
|
|
|
|
-include vendor/lineage/config/partner_gms.mk
|
|
|
|
|
-include vendor/cyngn/product.mk
|
|
|
|
|
|
|
|
|
|
$(call prepend-product-if-exists, vendor/extra/product.mk)
|
|
|
|
|