diff --git a/SEPolicy.mk b/SEPolicy.mk index 7107f652..ca38bd81 100644 --- a/SEPolicy.mk +++ b/SEPolicy.mk @@ -1,34 +1,6 @@ # Board specific SELinux policy variable definitions ifeq ($(call is-vendor-board-platform,QCOM),true) -SEPOLICY_PATH:= device/qcom/sepolicy -BOARD_PLAT_PUBLIC_SEPOLICY_DIR := \ - $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR) \ - $(SEPOLICY_PATH)/generic/public - -BOARD_PLAT_PRIVATE_SEPOLICY_DIR := \ - $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR) \ - $(SEPOLICY_PATH)/generic/private - -BOARD_PLAT_PUBLIC_SEPOLICY_DIR := \ - $(BOARD_PLAT_PUBLIC_SEPOLICY_DIR) \ - $(SEPOLICY_PATH)/qva/public - -BOARD_PLAT_PRIVATE_SEPOLICY_DIR := \ - $(BOARD_PLAT_PRIVATE_SEPOLICY_DIR) \ - $(SEPOLICY_PATH)/qva/private - -#once all the services are moved to Product /ODM above lines will be removed. -# sepolicy rules for product images -PRODUCT_PUBLIC_SEPOLICY_DIRS := \ - $(PRODUCT_PUBLIC_SEPOLICY_DIRS) \ - $(SEPOLICY_PATH)/generic/product/public \ - $(SEPOLICY_PATH)/qva/product/public - -PRODUCT_PRIVATE_SEPOLICY_DIRS := \ - $(PRODUCT_PRIVATE_SEPOLICY_DIRS) \ - $(SEPOLICY_PATH)/generic/product/private \ - $(SEPOLICY_PATH)/qva/product/private - +SEPOLICY_PATH:= device/qcom/sepolicy_vndr ifeq (,$(filter sdm845 sdm710, $(TARGET_BOARD_PLATFORM))) BOARD_SEPOLICY_DIRS := \ $(BOARD_SEPOLICY_DIRS) \