blob: b1fa533d31b2eabf4b1210c6b13b2db42c13608a [file] [log] [blame]
Adnan Begovicf3610f52016-03-15 14:17:47 -07001# Permissions for cmsdk services
2PRODUCT_COPY_FILES += \
Adnan Begovic0edc6412016-03-24 17:35:48 -07003 vendor/cm/config/permissions/org.cyanogenmod.appsuggest.xml:system/etc/permissions/org.cyanogenmod.appsuggest.xml \
Steve Kondik512d4282016-03-31 11:24:53 -07004 vendor/cm/config/permissions/org.cyanogenmod.livedisplay.xml:system/etc/permissions/org.cyanogenmod.livedisplay.xml \
5 vendor/cm/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml \
Luis Vidal6d61d302016-03-21 10:18:29 -07006 vendor/cm/config/permissions/org.cyanogenmod.partner.xml:system/etc/permissions/org.cyanogenmod.partner.xml \
Steve Kondik512d4282016-03-31 11:24:53 -07007 vendor/cm/config/permissions/org.cyanogenmod.performance.xml:system/etc/permissions/org.cyanogenmod.performance.xml \
8 vendor/cm/config/permissions/org.cyanogenmod.profiles.xml:system/etc/permissions/org.cyanogenmod.profiles.xml \
9 vendor/cm/config/permissions/org.cyanogenmod.statusbar.xml:system/etc/permissions/org.cyanogenmod.statusbar.xml \
10 vendor/cm/config/permissions/org.cyanogenmod.telephony.xml:system/etc/permissions/org.cyanogenmod.telephony.xml \
11 vendor/cm/config/permissions/org.cyanogenmod.theme.xml:system/etc/permissions/org.cyanogenmod.theme.xml \
Luis Vidal6d61d302016-03-21 10:18:29 -070012 vendor/cm/config/permissions/org.cyanogenmod.weather.xml:system/etc/permissions/org.cyanogenmod.weather.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070013
14# CM Platform Library
15PRODUCT_PACKAGES += \
16 org.cyanogenmod.platform-res \
17 org.cyanogenmod.platform \
18 org.cyanogenmod.platform.xml
19
20# CM Hardware Abstraction Framework
21PRODUCT_PACKAGES += \
22 org.cyanogenmod.hardware \
23 org.cyanogenmod.hardware.xml
24
25ifndef CM_PLATFORM_SDK_VERSION
26 # This is the canonical definition of the SDK version, which defines
27 # the set of APIs and functionality available in the platform. It
28 # is a single integer that increases monotonically as updates to
29 # the SDK are released. It should only be incremented when the APIs for
30 # the new release are frozen (so that developers don't write apps against
31 # intermediate builds).
Adnan Begovic7ae471d2016-04-01 15:38:57 -070032 CM_PLATFORM_SDK_VERSION := 6
Adnan Begovicf3610f52016-03-15 14:17:47 -070033endif
34
35ifndef CM_PLATFORM_REV
36 # For internal SDK revisions that are hotfixed/patched
37 # Reset after each CM_PLATFORM_SDK_VERSION release
38 # If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
39 CM_PLATFORM_REV := 0
40endif
41
42# CyanogenMod Platform SDK Version
43PRODUCT_PROPERTY_OVERRIDES += \
44 ro.cm.build.version.plat.sdk=$(CM_PLATFORM_SDK_VERSION)
45
46# CyanogenMod Platform Internal
47PRODUCT_PROPERTY_OVERRIDES += \
48 ro.cm.build.version.plat.rev=$(CM_PLATFORM_REV)
49