diff --git a/config/common.mk b/config/common.mk index 22be0b7d..36584f21 100644 --- a/config/common.mk +++ b/config/common.mk @@ -259,5 +259,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..e91c6f41 --- /dev/null +++ b/sepolicy/mac_permissions.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + 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