# Board specific SELinux policy variable definitions ifeq ($(call is-vendor-board-platform,QCOM),true) LOCAL_PATH:= $(call my-dir) BOARD_PLAT_PUBLIC_SEPOLICY_DIR := \ $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR) \ $(LOCAL_PATH)/generic/public BOARD_PLAT_PRIVATE_SEPOLICY_DIR := \ $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR) \ $(LOCAL_PATH)/generic/private BOARD_PLAT_PUBLIC_SEPOLICY_DIR := \ $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR) \ $(LOCAL_PATH)/qva/public BOARD_PLAT_PRIVATE_SEPOLICY_DIR := \ $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR) \ $(LOCAL_PATH)/qva/private ifeq (,$(filter sdm845 sdm710, $(TARGET_BOARD_PLATFORM))) BOARD_SEPOLICY_DIRS := \ $(BOARD_SEPOLICY_DIRS) \ $(LOCAL_PATH) \ $(LOCAL_PATH)/generic/vendor/common \ $(LOCAL_PATH)/generic/vendor/$(TARGET_BOARD_PLATFORM) \ $(LOCAL_PATH)/qva/vendor/common/sysmonapp \ $(LOCAL_PATH)/qva/vendor/$(TARGET_BOARD_PLATFORM) \ $(LOCAL_PATH)/qva/vendor/ssg \ $(LOCAL_PATH)/qva/vendor/common ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) BOARD_SEPOLICY_DIRS += $(LOCAL_PATH)/generic/vendor/test endif endif ifneq (,$(filter sdm845 sdm710, $(TARGET_BOARD_PLATFORM))) BOARD_SEPOLICY_DIRS := \ $(BOARD_SEPOLICY_DIRS) \ $(LOCAL_PATH) \ $(LOCAL_PATH)/legacy/vendor/common/sysmonapp \ $(LOCAL_PATH)/legacy/vendor/$(TARGET_BOARD_PLATFORM) \ $(LOCAL_PATH)/legacy/vendor/ssg \ $(LOCAL_PATH)/legacy/vendor/common ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) BOARD_SEPOLICY_DIRS += $(LOCAL_PATH)/legacy/vendor/test endif endif endif