blob: b09fb6ba9bf0e03b42c94c5410ef5cda40dfd3d6 [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 += \
Jackeagled6811aa2019-09-24 08:26:40 +02003 vendor/bliss/config/permissions/org.lineageos.audio.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.audio.xml \
4 vendor/bliss/config/permissions/org.lineageos.hardware.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.hardware.xml \
5 vendor/bliss/config/permissions/org.lineageos.livedisplay.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.livedisplay.xml \
6 vendor/bliss/config/permissions/org.lineageos.performance.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.performance.xml \
7 vendor/bliss/config/permissions/org.lineageos.profiles.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.profiles.xml \
8 vendor/bliss/config/permissions/org.lineageos.settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.settings.xml \
Luofan Chen0cf90082023-03-01 23:20:56 +08009 vendor/bliss/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.trust.xml \
10 vendor/bliss/config/permissions/org.lineageos.health.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.health.xml \
Adnan Begovicf3610f52016-03-15 14:17:47 -070011
Sam Mortimer477d8fe2017-10-17 11:48:28 -070012# Lineage Platform Library
Adnan Begovicf3610f52016-03-15 14:17:47 -070013PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070014 org.lineageos.platform-res \
Michael Bestas99612792020-11-23 20:16:19 +020015 org.lineageos.platform
Adnan Begovicf3610f52016-03-15 14:17:47 -070016
Steve Kondik3fe3faa2016-04-23 00:54:50 -070017# JNI Libraries
18PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070019 liblineage-sdk_platform_jni
Steve Kondik3fe3faa2016-04-23 00:54:50 -070020
Michael Bestas95e1a092021-06-14 15:04:40 +030021# AOSP has no support of loading framework resources from /system_ext
22# so the SDK has to stay in /system for now
23PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
24 system/framework/oat/%/org.lineageos.platform.odex \
25 system/framework/oat/%/org.lineageos.platform.vdex \
26 system/framework/org.lineageos.platform-res.apk \
27 system/framework/org.lineageos.platform.jar
28
Sam Mortimer19ce2d32017-09-18 21:05:19 -070029ifndef LINEAGE_PLATFORM_SDK_VERSION
Adnan Begovicf3610f52016-03-15 14:17:47 -070030 # This is the canonical definition of the SDK version, which defines
31 # the set of APIs and functionality available in the platform. It
32 # is a single integer that increases monotonically as updates to
33 # the SDK are released. It should only be incremented when the APIs for
34 # the new release are frozen (so that developers don't write apps against
35 # intermediate builds).
Joey3c8afe42018-03-11 15:13:36 +010036 LINEAGE_PLATFORM_SDK_VERSION := 9
Adnan Begovicf3610f52016-03-15 14:17:47 -070037endif
38
Sam Mortimer19ce2d32017-09-18 21:05:19 -070039ifndef LINEAGE_PLATFORM_REV
Adnan Begovicf3610f52016-03-15 14:17:47 -070040 # For internal SDK revisions that are hotfixed/patched
Sam Mortimer19ce2d32017-09-18 21:05:19 -070041 # Reset after each LINEAGE_PLATFORM_SDK_VERSION release
Adnan Begovicf3610f52016-03-15 14:17:47 -070042 # 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 -070043 LINEAGE_PLATFORM_REV := 0
Adnan Begovicf3610f52016-03-15 14:17:47 -070044endif