blob: 21c15bd24e753c3c1864009d0d3206959fb68fda [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 \
7 vendor/lineage/config/permissions/org.lineageos.statusbar.xml:system/etc/permissions/org.lineageos.statusbar.xml \
8 vendor/lineage/config/permissions/org.lineageos.telephony.xml:system/etc/permissions/org.lineageos.telephony.xml \
9 vendor/lineage/config/permissions/org.lineageos.weather.xml:system/etc/permissions/org.lineageos.weather.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070010
Sam Mortimer477d8fe2017-10-17 11:48:28 -070011# Lineage Platform Library
Adnan Begovicf3610f52016-03-15 14:17:47 -070012PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070013 org.lineageos.platform-res \
14 org.lineageos.platform \
15 org.lineageos.platform.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070016
Sam Mortimer477d8fe2017-10-17 11:48:28 -070017# Lineage Hardware Abstraction Framework
Adnan Begovicf3610f52016-03-15 14:17:47 -070018PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070019 org.lineageos.hardware \
20 org.lineageos.hardware.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070021
Steve Kondik3fe3faa2016-04-23 00:54:50 -070022# JNI Libraries
23PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070024 liblineage-sdk_platform_jni
Steve Kondik3fe3faa2016-04-23 00:54:50 -070025
Sam Mortimer19ce2d32017-09-18 21:05:19 -070026ifndef LINEAGE_PLATFORM_SDK_VERSION
Adnan Begovicf3610f52016-03-15 14:17:47 -070027 # This is the canonical definition of the SDK version, which defines
28 # the set of APIs and functionality available in the platform. It
29 # is a single integer that increases monotonically as updates to
30 # the SDK are released. It should only be incremented when the APIs for
31 # the new release are frozen (so that developers don't write apps against
32 # intermediate builds).
Sam Mortimer19ce2d32017-09-18 21:05:19 -070033 LINEAGE_PLATFORM_SDK_VERSION := 7
Adnan Begovicf3610f52016-03-15 14:17:47 -070034endif
35
Sam Mortimer19ce2d32017-09-18 21:05:19 -070036ifndef LINEAGE_PLATFORM_REV
Adnan Begovicf3610f52016-03-15 14:17:47 -070037 # For internal SDK revisions that are hotfixed/patched
Sam Mortimer19ce2d32017-09-18 21:05:19 -070038 # Reset after each LINEAGE_PLATFORM_SDK_VERSION release
Adnan Begovicf3610f52016-03-15 14:17:47 -070039 # 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 -070040 LINEAGE_PLATFORM_REV := 0
Adnan Begovicf3610f52016-03-15 14:17:47 -070041endif
42
Sam Mortimer477d8fe2017-10-17 11:48:28 -070043# LineageOS Platform SDK Version
Adnan Begovicf3610f52016-03-15 14:17:47 -070044PRODUCT_PROPERTY_OVERRIDES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070045 ro.lineage.build.version.plat.sdk=$(LINEAGE_PLATFORM_SDK_VERSION)
Adnan Begovicf3610f52016-03-15 14:17:47 -070046
Sam Mortimer477d8fe2017-10-17 11:48:28 -070047# LineageOS Platform Internal
Adnan Begovicf3610f52016-03-15 14:17:47 -070048PRODUCT_PROPERTY_OVERRIDES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070049 ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV)
Adnan Begovicf3610f52016-03-15 14:17:47 -070050