blob: 19b63a430e61ea3bc627aa24776f4286d5a136ac [file] [log] [blame]
Sam Mortimer19ce2d32017-09-18 21:05:19 -07001# Permissions for lineage sdk services
Adnan Begovicf3610f52016-03-15 14:17:47 -07002PRODUCT_COPY_FILES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -07003 vendor/lineage/config/permissions/org.lineageos.audio.xml:system/etc/permissions/org.lineageos.audio.xml \
4 vendor/lineage/config/permissions/org.lineageos.livedisplay.xml:system/etc/permissions/org.lineageos.livedisplay.xml \
5 vendor/lineage/config/permissions/org.lineageos.performance.xml:system/etc/permissions/org.lineageos.performance.xml \
6 vendor/lineage/config/permissions/org.lineageos.profiles.xml:system/etc/permissions/org.lineageos.profiles.xml \
Joey6cf76402018-02-22 14:11:48 +01007 vendor/lineage/config/permissions/org.lineageos.style.xml:system/etc/permissions/org.lineageos.style.xml \
Sam Mortimer19ce2d32017-09-18 21:05:19 -07008 vendor/lineage/config/permissions/org.lineageos.weather.xml:system/etc/permissions/org.lineageos.weather.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -07009
Sam Mortimer477d8fe2017-10-17 11:48:28 -070010# Lineage Platform Library
Adnan Begovicf3610f52016-03-15 14:17:47 -070011PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070012 org.lineageos.platform-res \
13 org.lineageos.platform \
14 org.lineageos.platform.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070015
Sam Mortimer477d8fe2017-10-17 11:48:28 -070016# Lineage Hardware Abstraction Framework
Adnan Begovicf3610f52016-03-15 14:17:47 -070017PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070018 org.lineageos.hardware \
19 org.lineageos.hardware.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070020
Steve Kondik3fe3faa2016-04-23 00:54:50 -070021# JNI Libraries
22PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070023 liblineage-sdk_platform_jni
Steve Kondik3fe3faa2016-04-23 00:54:50 -070024
Sam Mortimer19ce2d32017-09-18 21:05:19 -070025ifndef LINEAGE_PLATFORM_SDK_VERSION
Adnan Begovicf3610f52016-03-15 14:17:47 -070026 # This is the canonical definition of the SDK version, which defines
27 # the set of APIs and functionality available in the platform. It
28 # is a single integer that increases monotonically as updates to
29 # the SDK are released. It should only be incremented when the APIs for
30 # the new release are frozen (so that developers don't write apps against
31 # intermediate builds).
Michael Bestas57c0e7a2018-01-01 18:23:32 +020032 LINEAGE_PLATFORM_SDK_VERSION := 8
Adnan Begovicf3610f52016-03-15 14:17:47 -070033endif
34
Sam Mortimer19ce2d32017-09-18 21:05:19 -070035ifndef LINEAGE_PLATFORM_REV
Adnan Begovicf3610f52016-03-15 14:17:47 -070036 # For internal SDK revisions that are hotfixed/patched
Sam Mortimer19ce2d32017-09-18 21:05:19 -070037 # Reset after each LINEAGE_PLATFORM_SDK_VERSION release
Adnan Begovicf3610f52016-03-15 14:17:47 -070038 # If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
Sam Mortimer19ce2d32017-09-18 21:05:19 -070039 LINEAGE_PLATFORM_REV := 0
Adnan Begovicf3610f52016-03-15 14:17:47 -070040endif
41
Sam Mortimer477d8fe2017-10-17 11:48:28 -070042# LineageOS Platform SDK Version
Rashed Abdel-Tawabb6fb3e12018-03-02 10:21:37 -050043PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070044 ro.lineage.build.version.plat.sdk=$(LINEAGE_PLATFORM_SDK_VERSION)
Adnan Begovicf3610f52016-03-15 14:17:47 -070045
Sam Mortimer477d8fe2017-10-17 11:48:28 -070046# LineageOS Platform Internal
Rashed Abdel-Tawabb6fb3e12018-03-02 10:21:37 -050047PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070048 ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV)
Adnan Begovicf3610f52016-03-15 14:17:47 -070049