exynos9610: Use PRODUCT_*_SEPOLICY_DIRS to build product sepolicy.
authorTri Vo <trong@google.com>
Fri, 1 Feb 2019 19:27:25 +0000 (11:27 -0800)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 17 Apr 2022 18:36:55 +0000 (14:36 -0400)
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

BoardConfigCommon.mk

index ab9e3c62deb29707f68865d03f9d2033fc44d685..cf0f36bff60f54955c238cd7969efd1386ccdcac 100644 (file)
@@ -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