-
Notifications
You must be signed in to change notification settings - Fork 1
/
SEPolicy.mk
37 lines (29 loc) · 1.51 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
32
33
34
35
36
# Board specific SELinux policy variable definitions
SEPOLICY_PATH:= device/qcom/sepolicy
LOCAL_PATH := $(call my-dir)
BOARD_SYSTEM_EXT_PREBUILT_DIR := device/qcom/sepolicy/generic
BOARD_PRODUCT_PREBUILT_DIR := device/qcom/sepolicy/generic/product
BOARD_PLAT_PUB_VERSIONED_POLICY := device/qcom/sepolicy
#$(shell $(SEPOLICY_PATH)/append.sh)
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS := \
$(SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS) \
$(SEPOLICY_PATH)/generic/public
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS := \
$(SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS) \
$(SEPOLICY_PATH)/generic/private
#once all the services are moved to Product /ODM above lines will be removed.
# sepolicy rules for product images
PRODUCT_PUBLIC_SEPOLICY_DIRS := \
$(PRODUCT_PUBLIC_SEPOLICY_DIRS) \
$(SEPOLICY_PATH)/generic/product/public
PRODUCT_PRIVATE_SEPOLICY_DIRS := \
$(PRODUCT_PRIVATE_SEPOLICY_DIRS) \
$(SEPOLICY_PATH)/generic/product/private
#SEPOLICY_FREEZE_TEST_EXTRA_DIRS := $(SEPOLICY_PATH)/generic/public \
$(SEPOLICY_PATH)/generic/private \
$(SEPOLICY_PATH)/generic/product/public \
$(SEPOLICY_PATH)/generic/product/private
#SEPOLICY_FREEZE_TEST_EXTRA_PREBUILT_DIRS := $(SEPOLICY_PATH)/generic/prebuilts/api/202404/public \
$(SEPOLICY_PATH)/generic/prebuilts/api/202404/private \
$(SEPOLICY_PATH)/generic/product/prebuilts/api/202404/public \
$(SEPOLICY_PATH)/generic/product/prebuilts/api/202404/private