sepolicy: Rename mtk sepolicy repo for vendor use
* Its only used for vendor builds.
Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org>
Change-Id: I834827bf29e96f3e86455413fa5ef8181db18c92
diff --git a/SEPolicy.mk b/SEPolicy.mk
index 9a7a514..84d7434 100644
--- a/SEPolicy.mk
+++ b/SEPolicy.mk
@@ -1,18 +1,21 @@
+# Board specific SELinux policy variable definitions
+MTK_SEPOLICY_PATH := device/mediatek/sepolicy_vndr
+
BOARD_SEPOLICY_DIRS += \
- device/mediatek/sepolicy/basic/non_plat \
- device/mediatek/sepolicy/basic/debug/non_plat \
- device/mediatek/sepolicy/bsp/non_plat \
- device/mediatek/sepolicy/bsp/debug/non_plat \
- device/mediatek/sepolicy/modem
+ $(MTK_SEPOLICY_PATH)/basic/non_plat \
+ $(MTK_SEPOLICY_PATH)/basic/debug/non_plat \
+ $(MTK_SEPOLICY_PATH)/bsp/non_plat \
+ $(MTK_SEPOLICY_PATH)/bsp/debug/non_plat \
+ $(MTK_SEPOLICY_PATH)/modem
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
- device/mediatek/sepolicy/basic/plat_private \
- device/mediatek/sepolicy/basic/debug/plat_private \
- device/mediatek/sepolicy/bsp/plat_private \
- device/mediatek/sepolicy/bsp/debug/plat_private
+ $(MTK_SEPOLICY_PATH)/basic/plat_private \
+ $(MTK_SEPOLICY_PATH)/basic/debug/plat_private \
+ $(MTK_SEPOLICY_PATH)/bsp/plat_private \
+ $(MTK_SEPOLICY_PATH)/bsp/debug/plat_private
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
- device/mediatek/sepolicy/basic/plat_public \
- device/mediatek/sepolicy/basic/debug/plat_public \
- device/mediatek/sepolicy/bsp/plat_public \
- device/mediatek/sepolicy/bsp/debug/plat_public
+ $(MTK_SEPOLICY_PATH)/basic/plat_public \
+ $(MTK_SEPOLICY_PATH)/basic/debug/plat_public \
+ $(MTK_SEPOLICY_PATH)/bsp/plat_public \
+ $(MTK_SEPOLICY_PATH)/bsp/debug/plat_public