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