sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
authorFelix <google@ix5.org>
Tue, 28 May 2019 12:05:51 +0000 (14:05 +0200)
committerSamarV-121 <samarvispute121@gmail.com>
Fri, 16 Jul 2021 11:10:23 +0000 (16:40 +0530)
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
sepolicy.mk

index 09305d685dd99c7efc65ec317668faae1003843e..361a46ba58f5cc89ec1151fcfba04a15b1f36c6f 100644 (file)
@@ -8,14 +8,14 @@ BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
 BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
     device/samsung_slsi/sepolicy/common/private
 
-BOARD_SEPOLICY_DIRS += \
+BOARD_VENDOR_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/common/vendor
 
 ifeq ($(BOARD_SEPOLICY_TEE_FLAVOR),teegris)
 BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
     device/samsung_slsi/sepolicy/tee/teegris/public
 
-BOARD_SEPOLICY_DIRS += \
+BOARD_VENDOR_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/tee/teegris/vendor
 else ifeq ($(BOARD_SEPOLICY_TEE_FLAVOR),mobicore)
 POLICY_TYPE := legacy
@@ -28,9 +28,9 @@ else ifneq ($(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),26),)
 POLICY_TYPE := treble
 endif
 
-BOARD_SEPOLICY_DIRS += \
+BOARD_VENDOR_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/tee/mobicore/$(POLICY_TYPE)
 
-BOARD_SEPOLICY_DIRS += \
+BOARD_VENDOR_SEPOLICY_DIRS += \
     device/samsung_slsi/sepolicy/tee/mobicore/common
 endif