blob: f1fb666473def22eb5af688c82ca947c04a4dd92 [file] [log] [blame]
Adnan Begovicf3610f52016-03-15 14:17:47 -07001# Permissions for cmsdk services
2PRODUCT_COPY_FILES += \
Dan Pasanen91f76202017-07-06 08:21:30 -05003 vendor/lineage/config/permissions/org.cyanogenmod.audio.xml:system/etc/permissions/org.cyanogenmod.audio.xml \
4 vendor/lineage/config/permissions/org.cyanogenmod.livedisplay.xml:system/etc/permissions/org.cyanogenmod.livedisplay.xml \
Dan Pasanen91f76202017-07-06 08:21:30 -05005 vendor/lineage/config/permissions/org.cyanogenmod.performance.xml:system/etc/permissions/org.cyanogenmod.performance.xml \
6 vendor/lineage/config/permissions/org.cyanogenmod.profiles.xml:system/etc/permissions/org.cyanogenmod.profiles.xml \
7 vendor/lineage/config/permissions/org.cyanogenmod.statusbar.xml:system/etc/permissions/org.cyanogenmod.statusbar.xml \
8 vendor/lineage/config/permissions/org.cyanogenmod.telephony.xml:system/etc/permissions/org.cyanogenmod.telephony.xml \
Dan Pasanen91f76202017-07-06 08:21:30 -05009 vendor/lineage/config/permissions/org.cyanogenmod.weather.xml:system/etc/permissions/org.cyanogenmod.weather.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070010
11# CM Platform Library
12PRODUCT_PACKAGES += \
13 org.cyanogenmod.platform-res \
14 org.cyanogenmod.platform \
15 org.cyanogenmod.platform.xml
16
17# CM Hardware Abstraction Framework
18PRODUCT_PACKAGES += \
19 org.cyanogenmod.hardware \
20 org.cyanogenmod.hardware.xml
21
Steve Kondik3fe3faa2016-04-23 00:54:50 -070022# JNI Libraries
23PRODUCT_PACKAGES += \
24 libcmsdk_platform_jni
25
Adnan Begovicf3610f52016-03-15 14:17:47 -070026ifndef CM_PLATFORM_SDK_VERSION
27 # This is the canonical definition of the SDK version, which defines
28 # the set of APIs and functionality available in the platform. It
29 # is a single integer that increases monotonically as updates to
30 # the SDK are released. It should only be incremented when the APIs for
31 # the new release are frozen (so that developers don't write apps against
32 # intermediate builds).
Steve Kondik52ffa562016-09-04 04:40:06 -070033 CM_PLATFORM_SDK_VERSION := 7
Adnan Begovicf3610f52016-03-15 14:17:47 -070034endif
35
36ifndef CM_PLATFORM_REV
37 # For internal SDK revisions that are hotfixed/patched
38 # Reset after each CM_PLATFORM_SDK_VERSION release
39 # If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
40 CM_PLATFORM_REV := 0
41endif
42
43# CyanogenMod Platform SDK Version
44PRODUCT_PROPERTY_OVERRIDES += \
45 ro.cm.build.version.plat.sdk=$(CM_PLATFORM_SDK_VERSION)
46
47# CyanogenMod Platform Internal
48PRODUCT_PROPERTY_OVERRIDES += \
49 ro.cm.build.version.plat.rev=$(CM_PLATFORM_REV)
50