summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2015-04-27 16:29:56 -0700
committerAdnan Begovic <adnan@cyngn.com>2015-05-12 17:45:07 -0700
commitb53c503fee949924d55bc87b16f49f7ad6094015 (patch)
tree04e6e0a9bfcbee7534f83db8b6f83cb3fb6cf52c
parent4f810fe94a3d7eca80ff01beb2f9cef53b9f24da (diff)
downloadvendor_replicant-b53c503fee949924d55bc87b16f49f7ad6094015.zip
vendor_replicant-b53c503fee949924d55bc87b16f49f7ad6094015.tar.gz
vendor_replicant-b53c503fee949924d55bc87b16f49f7ad6094015.tar.bz2
Build CM Platform Library
Change-Id: If62e6b1d2ac41730ff2a8d562173abd2cb768f93 Add cmstatusbar service to system server services context Change-Id: I77c5de75722cc5f36a5326e3da57ab661b89d189 Build Platform resource package. Change-Id: Id60f66b6db23989db1472a19bcb079b0083f7393 vendor/cm: Lock cm platform library/cmsdk to non-release builds. Change-Id: I01c1c3fe559d438e28339ce426d7ba7e42724002
-rw-r--r--build/core/clear_vars.mk4
-rw-r--r--config/common.mk11
-rw-r--r--sepolicy/service_contexts1
3 files changed, 16 insertions, 0 deletions
diff --git a/build/core/clear_vars.mk b/build/core/clear_vars.mk
new file mode 100644
index 0000000..5b86d69
--- /dev/null
+++ b/build/core/clear_vars.mk
@@ -0,0 +1,4 @@
+#
+#CM-specific variable clears
+#
+LOCAL_IGNORE_SUBDIR :=
diff --git a/config/common.mk b/config/common.mk
index c3c13a8..a0e3ca0 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -151,6 +151,17 @@ PRODUCT_PACKAGES += \
CMHome \
CyanogenSetupWizard
+ifeq ($(filter NIGHTLY SNAPSHOT EXPERIMENTAL,$(CM_BUILDTYPE)),)
+# CM Platform Library Resource Package
+PRODUCT_PACKAGES += \
+ org.cyanogenmod.platform-res
+
+# CM Platform Library
+PRODUCT_PACKAGES += \
+ org.cyanogenmod.platform \
+ org.cyanogenmod.platform.xml
+endif
+
# CM Hardware Abstraction Framework
PRODUCT_PACKAGES += \
org.cyanogenmod.hardware \
diff --git a/sepolicy/service_contexts b/sepolicy/service_contexts
index a6b5cc7..ac16d35 100644
--- a/sepolicy/service_contexts
+++ b/sepolicy/service_contexts
@@ -3,3 +3,4 @@ edgegestureservice u:object_r:system_server_service:s0
themes u:object_r:system_server_service:s0
torch u:object_r:system_server_service:s0
killswitch u:object_r:system_server_service:s0
+cmstatusbar u:object_r:system_server_service:s0