forked from LineageOS/android_device_qcom_sepolicy-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sepolicy.mk
27 lines (20 loc) · 850 Bytes
/
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
# Board specific SELinux policy variable definitions
BOARD_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy/common \
device/qcom/sepolicy-legacy/ssg \
device/qcom/sepolicy-legacy/$(TARGET_BOARD_PLATFORM)
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
BOARD_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy/test
SELINUX_IGNORE_NEVERALLOWS := true
endif
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy/public
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy/private
# Board specific SELinux policy variable definitions for legacy devices
BOARD_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy/legacy-common
# Add sepolicy version to support OS upgrade and backward compatibility
BOARD_SEPOLICY_VERS := $(PLATFORM_SDK_VERSION).0
-include device/lineage/sepolicy/qcom/sepolicy.mk