-
Notifications
You must be signed in to change notification settings - Fork 1
/
sepolicy.mk
31 lines (25 loc) · 1.04 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
31
# Board specific SELinux policy variable definitions
BOARD_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy-um/vendor/common \
device/qcom/sepolicy-legacy-um/vendor/ssg \
device/qcom/sepolicy-legacy-um/timeservice \
device/qcom/sepolicy-legacy-um/vendor/common/sysmonapp
ifeq ($(TARGET_SEPOLICY_DIR),)
BOARD_SEPOLICY_DIRS += device/qcom/sepolicy-legacy-um/vendor/$(TARGET_BOARD_PLATFORM)
else
BOARD_SEPOLICY_DIRS += device/qcom/sepolicy-legacy-um/vendor/$(TARGET_SEPOLICY_DIR)
endif
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
BOARD_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy-um/vendor/test
endif
ifneq (,$(filter 24 25 26 27, $(PRODUCT_SHIPPING_API_LEVEL)))
BOARD_SEPOLICY_DIRS += \
device/qcom/sepolicy-legacy-um/vendor/ota/$(TARGET_BOARD_PLATFORM)
endif
BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
device/qcom/sepolicy-legacy-um/public
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
device/qcom/sepolicy-legacy-um/private
-include device/komodo/sepolicy/qcom/sepolicy.mk
-include device/komodo/sepolicy/common/sepolicy.mk