From b53c503fee949924d55bc87b16f49f7ad6094015 Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Mon, 27 Apr 2015 16:29:56 -0700 Subject: [PATCH] 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 --- build/core/clear_vars.mk | 4 ++++ config/common.mk | 11 +++++++++++ sepolicy/service_contexts | 1 + 3 files changed, 16 insertions(+) create mode 100644 build/core/clear_vars.mk diff --git a/build/core/clear_vars.mk b/build/core/clear_vars.mk new file mode 100644 index 00000000..5b86d692 --- /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 c3c13a85..a0e3ca08 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 a6b5cc7e..ac16d35b 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