Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 1 | # Permissions for lineage sdk services |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 2 | PRODUCT_COPY_FILES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 3 | 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 \ |
Joey | 6cf7640 | 2018-02-22 14:11:48 +0100 | [diff] [blame^] | 7 | vendor/lineage/config/permissions/org.lineageos.style.xml:system/etc/permissions/org.lineageos.style.xml \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 8 | vendor/lineage/config/permissions/org.lineageos.weather.xml:system/etc/permissions/org.lineageos.weather.xml |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 9 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 10 | # Lineage Platform Library |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 11 | PRODUCT_PACKAGES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 12 | org.lineageos.platform-res \ |
| 13 | org.lineageos.platform \ |
| 14 | org.lineageos.platform.xml |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 15 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 16 | # Lineage Hardware Abstraction Framework |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 17 | PRODUCT_PACKAGES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 18 | org.lineageos.hardware \ |
| 19 | org.lineageos.hardware.xml |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 20 | |
Steve Kondik | 3fe3faa | 2016-04-23 00:54:50 -0700 | [diff] [blame] | 21 | # JNI Libraries |
| 22 | PRODUCT_PACKAGES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 23 | liblineage-sdk_platform_jni |
Steve Kondik | 3fe3faa | 2016-04-23 00:54:50 -0700 | [diff] [blame] | 24 | |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 25 | ifndef LINEAGE_PLATFORM_SDK_VERSION |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 26 | # 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 Bestas | 57c0e7a | 2018-01-01 18:23:32 +0200 | [diff] [blame] | 32 | LINEAGE_PLATFORM_SDK_VERSION := 8 |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 33 | endif |
| 34 | |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 35 | ifndef LINEAGE_PLATFORM_REV |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 36 | # For internal SDK revisions that are hotfixed/patched |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 37 | # Reset after each LINEAGE_PLATFORM_SDK_VERSION release |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 38 | # If you are doing a release and this is NOT 0, you are almost certainly doing it wrong |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 39 | LINEAGE_PLATFORM_REV := 0 |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 40 | endif |
| 41 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 42 | # LineageOS Platform SDK Version |
Rashed Abdel-Tawab | b6fb3e1 | 2018-03-02 10:21:37 -0500 | [diff] [blame] | 43 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 44 | ro.lineage.build.version.plat.sdk=$(LINEAGE_PLATFORM_SDK_VERSION) |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 45 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 46 | # LineageOS Platform Internal |
Rashed Abdel-Tawab | b6fb3e1 | 2018-03-02 10:21:37 -0500 | [diff] [blame] | 47 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 48 | ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV) |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 49 | |