blob: 6fed34c96bfcdb133b11bebcb058e61292243d6e [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 \
Sam Mortimer19ce2d32017-09-18 21:05:19 -07007 vendor/lineage/config/permissions/org.lineageos.weather.xml:system/etc/permissions/org.lineageos.weather.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -07008
Sam Mortimer477d8fe2017-10-17 11:48:28 -07009# Lineage Platform Library
Adnan Begovicf3610f52016-03-15 14:17:47 -070010PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070011 org.lineageos.platform-res \
12 org.lineageos.platform \
13 org.lineageos.platform.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070014
Sam Mortimer477d8fe2017-10-17 11:48:28 -070015# Lineage Hardware Abstraction Framework
Adnan Begovicf3610f52016-03-15 14:17:47 -070016PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070017 org.lineageos.hardware \
18 org.lineageos.hardware.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070019
Steve Kondik3fe3faa2016-04-23 00:54:50 -070020# JNI Libraries
21PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070022 liblineage-sdk_platform_jni
Steve Kondik3fe3faa2016-04-23 00:54:50 -070023
Sam Mortimer19ce2d32017-09-18 21:05:19 -070024ifndef LINEAGE_PLATFORM_SDK_VERSION
Adnan Begovicf3610f52016-03-15 14:17:47 -070025 # 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 Mortimer19ce2d32017-09-18 21:05:19 -070031 LINEAGE_PLATFORM_SDK_VERSION := 7
Adnan Begovicf3610f52016-03-15 14:17:47 -070032endif
33
Sam Mortimer19ce2d32017-09-18 21:05:19 -070034ifndef LINEAGE_PLATFORM_REV
Adnan Begovicf3610f52016-03-15 14:17:47 -070035 # For internal SDK revisions that are hotfixed/patched
Sam Mortimer19ce2d32017-09-18 21:05:19 -070036 # Reset after each LINEAGE_PLATFORM_SDK_VERSION release
Adnan Begovicf3610f52016-03-15 14:17:47 -070037 # 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 -070038 LINEAGE_PLATFORM_REV := 0
Adnan Begovicf3610f52016-03-15 14:17:47 -070039endif
40
Sam Mortimer477d8fe2017-10-17 11:48:28 -070041# LineageOS Platform SDK Version
Adnan Begovicf3610f52016-03-15 14:17:47 -070042PRODUCT_PROPERTY_OVERRIDES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070043 ro.lineage.build.version.plat.sdk=$(LINEAGE_PLATFORM_SDK_VERSION)
Adnan Begovicf3610f52016-03-15 14:17:47 -070044
Sam Mortimer477d8fe2017-10-17 11:48:28 -070045# LineageOS Platform Internal
Adnan Begovicf3610f52016-03-15 14:17:47 -070046PRODUCT_PROPERTY_OVERRIDES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070047 ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV)
Adnan Begovicf3610f52016-03-15 14:17:47 -070048