diff --git a/SEPolicy.mk b/SEPolicy.mk index 79af5e63..e57123ec 100644 --- a/SEPolicy.mk +++ b/SEPolicy.mk @@ -35,8 +35,8 @@ PRODUCT_PRIVATE_SEPOLICY_DIRS := \ $(QSSI_SEPOLICY_PATH)/qva/product/private ifeq (,$(filter sdm845 sdm710, $(TARGET_BOARD_PLATFORM))) - BOARD_SEPOLICY_DIRS := \ - $(BOARD_SEPOLICY_DIRS) \ + BOARD_VENDOR_SEPOLICY_DIRS := \ + $(BOARD_VENDOR_SEPOLICY_DIRS) \ $(SEPOLICY_PATH) \ $(SEPOLICY_PATH)/generic/vendor/common \ $(SEPOLICY_PATH)/generic/vendor/common/attribute \ @@ -44,16 +44,16 @@ ifeq (,$(filter sdm845 sdm710, $(TARGET_BOARD_PLATFORM))) $(SEPOLICY_PATH)/qva/vendor/common ifeq ($(TARGET_SEPOLICY_DIR),) - BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_BOARD_PLATFORM) - BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_BOARD_PLATFORM) + BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_BOARD_PLATFORM) + BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_BOARD_PLATFORM) else - BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_SEPOLICY_DIR) - BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_SEPOLICY_DIR) + BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/$(TARGET_SEPOLICY_DIR) + BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/$(TARGET_SEPOLICY_DIR) endif ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) - BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/test - BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test - BOARD_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test/sysmonapp + BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/generic/vendor/test + BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test + BOARD_VENDOR_SEPOLICY_DIRS += $(SEPOLICY_PATH)/qva/vendor/test/sysmonapp endif endif