sepolicy: Switch to SYSTEM_EXT_{PUBLIC,PRIVATE}_SEPOLICY_DIRS
authorMichael Bestas <mkbestas@lineageos.org>
Thu, 7 Oct 2021 19:04:41 +0000 (22:04 +0300)
committerFrancescodario Cuzzocrea <bosconovic@gmail.com>
Mon, 3 Jan 2022 09:58:54 +0000 (10:58 +0100)
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
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
sepolicy.mk

index 361a46ba58f5cc89ec1151fcfba04a15b1f36c6f..ec8b8ec735dd87bf8837528419774ae678650eba 100644 (file)
@@ -2,17 +2,17 @@
 # This policy configuration will be used by samsung products
 #
 
-BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
+SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/common/public
 
-BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/common/private
 
 BOARD_VENDOR_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/common/vendor
 
 ifeq ($(BOARD_SEPOLICY_TEE_FLAVOR),teegris)
-BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
+SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/tee/teegris/public
 
 BOARD_VENDOR_SEPOLICY_DIRS += \