blob: 5c9a83695acf58756302c5a686870734739aa713 [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 Kondik3fe3faa2016-04-23 00:54:50 -07004 vendor/cm/config/permissions/org.cyanogenmod.audio.xml:system/etc/permissions/org.cyanogenmod.audio.xml \
Steve Kondik512d4282016-03-31 11:24:53 -07005 vendor/cm/config/permissions/org.cyanogenmod.livedisplay.xml:system/etc/permissions/org.cyanogenmod.livedisplay.xml \
6 vendor/cm/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml \
Luis Vidal6d61d302016-03-21 10:18:29 -07007 vendor/cm/config/permissions/org.cyanogenmod.partner.xml:system/etc/permissions/org.cyanogenmod.partner.xml \
Steve Kondik512d4282016-03-31 11:24:53 -07008 vendor/cm/config/permissions/org.cyanogenmod.performance.xml:system/etc/permissions/org.cyanogenmod.performance.xml \
9 vendor/cm/config/permissions/org.cyanogenmod.profiles.xml:system/etc/permissions/org.cyanogenmod.profiles.xml \
10 vendor/cm/config/permissions/org.cyanogenmod.statusbar.xml:system/etc/permissions/org.cyanogenmod.statusbar.xml \
11 vendor/cm/config/permissions/org.cyanogenmod.telephony.xml:system/etc/permissions/org.cyanogenmod.telephony.xml \
12 vendor/cm/config/permissions/org.cyanogenmod.theme.xml:system/etc/permissions/org.cyanogenmod.theme.xml \
Luis Vidal6d61d302016-03-21 10:18:29 -070013 vendor/cm/config/permissions/org.cyanogenmod.weather.xml:system/etc/permissions/org.cyanogenmod.weather.xml
Adnan Begovicf3610f52016-03-15 14:17:47 -070014
15# CM Platform Library
16PRODUCT_PACKAGES += \
17 org.cyanogenmod.platform-res \
18 org.cyanogenmod.platform \
19 org.cyanogenmod.platform.xml
20
21# CM Hardware Abstraction Framework
22PRODUCT_PACKAGES += \
23 org.cyanogenmod.hardware \
24 org.cyanogenmod.hardware.xml
25
Steve Kondik3fe3faa2016-04-23 00:54:50 -070026# JNI Libraries
27PRODUCT_PACKAGES += \
28 libcmsdk_platform_jni
29
Adnan Begovicf3610f52016-03-15 14:17:47 -070030ifndef CM_PLATFORM_SDK_VERSION
31 # This is the canonical definition of the SDK version, which defines
32 # the set of APIs and functionality available in the platform. It
33 # is a single integer that increases monotonically as updates to
34 # the SDK are released. It should only be incremented when the APIs for
35 # the new release are frozen (so that developers don't write apps against
36 # intermediate builds).
Steve Kondik52ffa562016-09-04 04:40:06 -070037 CM_PLATFORM_SDK_VERSION := 7
Adnan Begovicf3610f52016-03-15 14:17:47 -070038endif
39
40ifndef CM_PLATFORM_REV
41 # For internal SDK revisions that are hotfixed/patched
42 # Reset after each CM_PLATFORM_SDK_VERSION release
43 # If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
44 CM_PLATFORM_REV := 0
45endif
46
47# CyanogenMod Platform SDK Version
48PRODUCT_PROPERTY_OVERRIDES += \
49 ro.cm.build.version.plat.sdk=$(CM_PLATFORM_SDK_VERSION)
50
51# CyanogenMod Platform Internal
52PRODUCT_PROPERTY_OVERRIDES += \
53 ro.cm.build.version.plat.rev=$(CM_PLATFORM_REV)
54