sepolicy: 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
diff --git a/common/sepolicy.mk b/common/sepolicy.mk
index 46cf113..f0340cb 100644
--- a/common/sepolicy.mk
+++ b/common/sepolicy.mk
@@ -15,14 +15,14 @@
endif
endif
-BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
+SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/public
-BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/private
ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
-BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/dynamic \
device/lineage/sepolicy/common/system
else
diff --git a/exynos/sepolicy.mk b/exynos/sepolicy.mk
index c34274e..fd25f4e 100644
--- a/exynos/sepolicy.mk
+++ b/exynos/sepolicy.mk
@@ -9,11 +9,11 @@
endif
endif
-BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/exynos/private
ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
-BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/exynos/dynamic \
device/lineage/sepolicy/exynos/system
else
diff --git a/legacy-common/sepolicy.mk b/legacy-common/sepolicy.mk
index 4d15896..8624753 100644
--- a/legacy-common/sepolicy.mk
+++ b/legacy-common/sepolicy.mk
@@ -4,6 +4,6 @@
#
ifeq ($(TARGET_HAS_LEGACY_CAMERA_HAL1), true)
-BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
+SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
device/lineage/sepolicy/legacy-common/public/legacy-camera-hal1
endif
diff --git a/qcom/sepolicy.mk b/qcom/sepolicy.mk
index c75888c..ecb48f9 100644
--- a/qcom/sepolicy.mk
+++ b/qcom/sepolicy.mk
@@ -9,11 +9,11 @@
endif
endif
-BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/private
ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
-BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/dynamic \
device/lineage/sepolicy/qcom/system
else