blob: f38b6df36b0431115e3194e16ad3b4fb8bebe569 [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 \
9 vendor/bliss/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.trust.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 \
Michael Bestas99612792020-11-23 20:16:19 +020014 org.lineageos.platform
Adnan Begovicf3610f52016-03-15 14:17:47 -070015
Steve Kondik3fe3faa2016-04-23 00:54:50 -070016# JNI Libraries
17PRODUCT_PACKAGES += \
Sam Mortimer19ce2d32017-09-18 21:05:19 -070018 liblineage-sdk_platform_jni
Steve Kondik3fe3faa2016-04-23 00:54:50 -070019
Michael Bestas95e1a092021-06-14 15:04:40 +030020# AOSP has no support of loading framework resources from /system_ext
21# so the SDK has to stay in /system for now
22PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
23 system/framework/oat/%/org.lineageos.platform.odex \
24 system/framework/oat/%/org.lineageos.platform.vdex \
25 system/framework/org.lineageos.platform-res.apk \
26 system/framework/org.lineageos.platform.jar
27
Sam Mortimer19ce2d32017-09-18 21:05:19 -070028ifndef LINEAGE_PLATFORM_SDK_VERSION
Adnan Begovicf3610f52016-03-15 14:17:47 -070029 # This is the canonical definition of the SDK version, which defines
30 # the set of APIs and functionality available in the platform. It
31 # is a single integer that increases monotonically as updates to
32 # the SDK are released. It should only be incremented when the APIs for
33 # the new release are frozen (so that developers don't write apps against
34 # intermediate builds).
Joey3c8afe42018-03-11 15:13:36 +010035 LINEAGE_PLATFORM_SDK_VERSION := 9
Adnan Begovicf3610f52016-03-15 14:17:47 -070036endif
37
Sam Mortimer19ce2d32017-09-18 21:05:19 -070038ifndef LINEAGE_PLATFORM_REV
Adnan Begovicf3610f52016-03-15 14:17:47 -070039 # For internal SDK revisions that are hotfixed/patched
Sam Mortimer19ce2d32017-09-18 21:05:19 -070040 # Reset after each LINEAGE_PLATFORM_SDK_VERSION release
Adnan Begovicf3610f52016-03-15 14:17:47 -070041 # 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 -070042 LINEAGE_PLATFORM_REV := 0
Adnan Begovicf3610f52016-03-15 14:17:47 -070043endif