platform_vendor_tequila/config/lineage_sdk_common.mk
Rashed Abdel-Tawab b6fb3e159a lineage: Move to Google's method of defining system default props
PRODUCT_SYSTEM_DEFAULT_PROPERTIES can now be used to define system default
properties which should be installed in system partition.

Those props are stored in /system/etc/prop.default.

Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b
2018-03-03 00:46:27 +00:00

48 lines
1.9 KiB
Makefile

# Permissions for lineage sdk services
PRODUCT_COPY_FILES += \
vendor/lineage/config/permissions/org.lineageos.audio.xml:system/etc/permissions/org.lineageos.audio.xml \
vendor/lineage/config/permissions/org.lineageos.livedisplay.xml:system/etc/permissions/org.lineageos.livedisplay.xml \
vendor/lineage/config/permissions/org.lineageos.performance.xml:system/etc/permissions/org.lineageos.performance.xml \
vendor/lineage/config/permissions/org.lineageos.profiles.xml:system/etc/permissions/org.lineageos.profiles.xml \
vendor/lineage/config/permissions/org.lineageos.weather.xml:system/etc/permissions/org.lineageos.weather.xml
# Lineage Platform Library
PRODUCT_PACKAGES += \
org.lineageos.platform-res \
org.lineageos.platform \
org.lineageos.platform.xml
# Lineage Hardware Abstraction Framework
PRODUCT_PACKAGES += \
org.lineageos.hardware \
org.lineageos.hardware.xml
# JNI Libraries
PRODUCT_PACKAGES += \
liblineage-sdk_platform_jni
ifndef LINEAGE_PLATFORM_SDK_VERSION
# This is the canonical definition of the SDK version, which defines
# the set of APIs and functionality available in the platform. It
# is a single integer that increases monotonically as updates to
# the SDK are released. It should only be incremented when the APIs for
# the new release are frozen (so that developers don't write apps against
# intermediate builds).
LINEAGE_PLATFORM_SDK_VERSION := 8
endif
ifndef LINEAGE_PLATFORM_REV
# For internal SDK revisions that are hotfixed/patched
# Reset after each LINEAGE_PLATFORM_SDK_VERSION release
# If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
LINEAGE_PLATFORM_REV := 0
endif
# LineageOS Platform SDK Version
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.lineage.build.version.plat.sdk=$(LINEAGE_PLATFORM_SDK_VERSION)
# LineageOS Platform Internal
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV)