From: Tri Vo Date: Fri, 1 Feb 2019 19:27:25 +0000 (-0800) Subject: exynos9610: Use PRODUCT_*_SEPOLICY_DIRS to build product sepolicy. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c24619e56f672781a663ab69045a5afbe9cccdd;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610: Use PRODUCT_*_SEPOLICY_DIRS to build product sepolicy. We are restoring the old behavior of BOARD_PLAT_*_SEPOLICY_DIR that extends system sepolicy. To that end, we use another make variable to specify product sepolicy. Bug: 119305624 Test: m selinux_policy Change-Id: I67636b7aaff2bd5ae5309981f9fa2f8ce51edf6f --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index ab9e3c6..cf0f36b 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -135,7 +135,7 @@ BOARD_SEPOLICY_TEE_FLAVOR := mobicore include device/lineage/sepolicy/exynos/sepolicy.mk include device/samsung_slsi/sepolicy/sepolicy.mk -BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(COMMON_PATH)/sepolicy/private +PRODUCT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor ## Soong Namespace