From 23b3c716f03aa6709307c9ce19b9573918f1d5c3 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 7 Oct 2021 22:04:41 +0300 Subject: [PATCH] sepolicy_vndr: Switch to SYSTEM_EXT_{PUBLIC,PRIVATE}_SEPOLICY_DIRS Fixes: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead. warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead. Change-Id: I752602079de8ff4c5370fe3ec861b8746838d878 --- SEPolicy.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SEPolicy.mk b/SEPolicy.mk index e57123ec..09e579eb 100644 --- a/SEPolicy.mk +++ b/SEPolicy.mk @@ -4,22 +4,22 @@ QSSI_SEPOLICY_PATH:= device/qcom/sepolicy BOARD_SYSTEM_EXT_PREBUILT_DIR := device/qcom/sepolicy/generic BOARD_PRODUCT_PREBUILT_DIR := device/qcom/sepolicy/generic/product SYS_ATTR_PROJECT_PATH := $(TOP)/device/qcom/sepolicy/generic/public/attribute -BOARD_PLAT_PUBLIC_SEPOLICY_DIR := \ - $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR) \ +SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS := \ + $(SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS) \ $(QSSI_SEPOLICY_PATH)/generic/public \ $(QSSI_SEPOLICY_PATH)/generic/public/attribute -BOARD_PLAT_PRIVATE_SEPOLICY_DIR := \ - $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR) \ +SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS := \ + $(SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS) \ $(QSSI_SEPOLICY_PATH)/generic/private -BOARD_PLAT_PUBLIC_SEPOLICY_DIR := \ - $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR) \ +SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS := \ + $(SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS) \ $(QSSI_SEPOLICY_PATH)/qva/public \ $(QSSI_SEPOLICY_PATH)/qva/public/attribute -BOARD_PLAT_PRIVATE_SEPOLICY_DIR := \ - $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR) \ +SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS := \ + $(SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS) \ $(QSSI_SEPOLICY_PATH)/qva/private #once all the services are moved to Product /ODM above lines will be removed.