| # |
| # This policy configuration will be used by all products that |
| # inherit from Lineage |
| # |
| |
| ifeq ($(TARGET_COPY_OUT_VENDOR), vendor) |
| ifeq ($(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE),) |
| TARGET_USES_PREBUILT_VENDOR_SEPOLICY ?= true |
| endif |
| endif |
| |
| SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \ |
| device/lineage/sepolicy/common/public |
| |
| SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \ |
| device/lineage/sepolicy/common/private |
| |
| ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true) |
| SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \ |
| device/lineage/sepolicy/common/dynamic \ |
| device/lineage/sepolicy/common/system |
| else |
| BOARD_VENDOR_SEPOLICY_DIRS += \ |
| device/lineage/sepolicy/common/dynamic \ |
| device/lineage/sepolicy/common/vendor |
| endif |
| |
| # Selectively include legacy rules defined by the products |
| -include device/lineage/sepolicy/legacy-common/sepolicy.mk |
| |
| # Include atv rules on atv product |
| ifeq ($(PRODUCT_IS_ATV), true) |
| include device/lineage/sepolicy/atv/sepolicy.mk |
| endif |