| # |
| # 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 |
| |
| ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true) |
| ifeq ($(TARGET_HAS_FUSEBLK_SEPOLICY_ON_VENDOR),true) |
| BOARD_SEPOLICY_M4DEFS += board_excludes_fuseblk_sepolicy=true |
| endif |
| endif |
| |
| BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \ |
| device/lineage/sepolicy/common/public |
| |
| BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \ |
| device/lineage/sepolicy/common/private |
| |
| ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true) |
| BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \ |
| 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 |