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 \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 7 | 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] | 8 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 9 | # Lineage Platform Library |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 10 | PRODUCT_PACKAGES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 11 | org.lineageos.platform-res \ |
| 12 | org.lineageos.platform \ |
| 13 | org.lineageos.platform.xml |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 14 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 15 | # Lineage Hardware Abstraction Framework |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 16 | PRODUCT_PACKAGES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 17 | org.lineageos.hardware \ |
| 18 | org.lineageos.hardware.xml |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 19 | |
Steve Kondik | 3fe3faa | 2016-04-23 00:54:50 -0700 | [diff] [blame] | 20 | # JNI Libraries |
| 21 | PRODUCT_PACKAGES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 22 | liblineage-sdk_platform_jni |
Steve Kondik | 3fe3faa | 2016-04-23 00:54:50 -0700 | [diff] [blame] | 23 | |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 24 | ifndef LINEAGE_PLATFORM_SDK_VERSION |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 25 | # This is the canonical definition of the SDK version, which defines |
| 26 | # the set of APIs and functionality available in the platform. It |
| 27 | # is a single integer that increases monotonically as updates to |
| 28 | # the SDK are released. It should only be incremented when the APIs for |
| 29 | # the new release are frozen (so that developers don't write apps against |
| 30 | # intermediate builds). |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 31 | LINEAGE_PLATFORM_SDK_VERSION := 7 |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 32 | endif |
| 33 | |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 34 | ifndef LINEAGE_PLATFORM_REV |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 35 | # For internal SDK revisions that are hotfixed/patched |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 36 | # Reset after each LINEAGE_PLATFORM_SDK_VERSION release |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 37 | # 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] | 38 | LINEAGE_PLATFORM_REV := 0 |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 39 | endif |
| 40 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 41 | # LineageOS Platform SDK Version |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 42 | PRODUCT_PROPERTY_OVERRIDES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 43 | ro.lineage.build.version.plat.sdk=$(LINEAGE_PLATFORM_SDK_VERSION) |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 44 | |
Sam Mortimer | 477d8fe | 2017-10-17 11:48:28 -0700 | [diff] [blame] | 45 | # LineageOS Platform Internal |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 46 | PRODUCT_PROPERTY_OVERRIDES += \ |
Sam Mortimer | 19ce2d3 | 2017-09-18 21:05:19 -0700 | [diff] [blame] | 47 | ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV) |
Adnan Begovic | f3610f5 | 2016-03-15 14:17:47 -0700 | [diff] [blame] | 48 | |