-
Notifications
You must be signed in to change notification settings - Fork 0
/
SEPolicy.mk
30 lines (26 loc) · 1.07 KB
/
SEPolicy.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Board specific SELinux policy variable definitions
MTK_SEPOLICY_PATH := device/mediatek/sepolicy_vndr
# Build with broken namespaces
# Userspace blobs are still dependent older props that
# do not pass the VTS test cases.
ifeq ($(strip $(TARGET_USING_LEGACY_SELINUX)), true)
BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
BOARD_SEPOLICY_DIRS += \
$(MTK_SEPOLICY_PATH)/legacy/non_plat
endif
BOARD_SEPOLICY_DIRS += \
$(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 += \
$(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 += \
$(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