blob: 4aad98291bef19ccdd9f1282c09537e0cda25b31 [file] [log] [blame]
Adnan Begovicf3610f52016-03-15 14:17:47 -07001# Permissions for cmsdk services
2PRODUCT_COPY_FILES += \
3 vendor/cm/config/permissions/org.cyanogenmod.theme.xml:system/etc/permissions/org.cyanogenmod.theme.xml \
4 vendor/cm/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml
5
6# CM Platform Library
7PRODUCT_PACKAGES += \
8 org.cyanogenmod.platform-res \
9 org.cyanogenmod.platform \
10 org.cyanogenmod.platform.xml
11
12# CM Hardware Abstraction Framework
13PRODUCT_PACKAGES += \
14 org.cyanogenmod.hardware \
15 org.cyanogenmod.hardware.xml
16
17ifndef CM_PLATFORM_SDK_VERSION
18 # This is the canonical definition of the SDK version, which defines
19 # the set of APIs and functionality available in the platform. It
20 # is a single integer that increases monotonically as updates to
21 # the SDK are released. It should only be incremented when the APIs for
22 # the new release are frozen (so that developers don't write apps against
23 # intermediate builds).
24 CM_PLATFORM_SDK_VERSION := 5
25endif
26
27ifndef CM_PLATFORM_REV
28 # For internal SDK revisions that are hotfixed/patched
29 # Reset after each CM_PLATFORM_SDK_VERSION release
30 # If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
31 CM_PLATFORM_REV := 0
32endif
33
34# CyanogenMod Platform SDK Version
35PRODUCT_PROPERTY_OVERRIDES += \
36 ro.cm.build.version.plat.sdk=$(CM_PLATFORM_SDK_VERSION)
37
38# CyanogenMod Platform Internal
39PRODUCT_PROPERTY_OVERRIDES += \
40 ro.cm.build.version.plat.rev=$(CM_PLATFORM_REV)
41