blob: 4d841795a825665b22ff5adb2d3fb090149909ff [file] [log] [blame]
#
# This policy configuration will be used by all qcom 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
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/qcom/private
ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/lineage/sepolicy/qcom/dynamic \
device/lineage/sepolicy/qcom/system
else
BOARD_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/dynamic \
device/lineage/sepolicy/qcom/vendor
endif