diff --git a/config/common.mk b/config/common.mk index 4445eccc..06b0912d 100644 --- a/config/common.mk +++ b/config/common.mk @@ -247,5 +247,5 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.cm.version=$(CM_VERSION) \ ro.modversion=$(CM_VERSION) - +-include vendor/cm/sepolicy/sepolicy.mk -include $(WORKSPACE)/hudson/image-auto-bits.mk diff --git a/sepolicy/mac_permissions.xml b/sepolicy/mac_permissions.xml new file mode 100644 index 00000000..8a42118d --- /dev/null +++ b/sepolicy/mac_permissions.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk new file mode 100644 index 00000000..2defe789 --- /dev/null +++ b/sepolicy/sepolicy.mk @@ -0,0 +1,10 @@ +# +# This policy configuration will be used by all products that +# inherit from CM +# + +BOARD_SEPOLICY_DIRS := \ + vendor/cm/sepolicy + +BOARD_SEPOLICY_UNION := \ + mac_permissions.xml