forked from B--B/android_device_qcom_sepolicy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sepolicy.mk
113 lines (108 loc) · 2.61 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Board specific SELinux policy variable definitions
BOARD_SEPOLICY_DIRS += \
device/qcom/sepolicy \
device/qcom/sepolicy/common \
device/qcom/sepolicy/test \
device/qcom/sepolicy/$(TARGET_BOARD_PLATFORM)
# compile CSVT policies only if BoardConfig file specifies
ifeq ($(TARGET_USES_CSVT),true)
BOARD_SEPOLICY_DIRS += device/qcom/sepolicy/common/csvt
endif
BOARD_SEPOLICY_UNION += \
genfs_contexts \
file_contexts \
service_contexts \
property_contexts \
te_macros \
device.te \
ueventd.te \
file.te \
property.te \
untrusted_app.te \
drmserver.te \
adbd.te \
app.te \
cnd.te \
system_server.te \
mediaserver.te \
msm_irqbalanced.te \
qmuxd.te \
netmgrd.te \
port-bridge.te \
atfwd.te \
radio.te \
smd_test.te \
qmi_ping.te \
qmi_test_service.te \
irsc_util.te \
netd.te \
rild.te \
diag.te \
diag_test.te \
audiod.te \
service.te \
thermal-engine.te \
vm_bms.te \
system_app.te \
bluetooth.te \
init_shell.te \
mpdecision.te \
perfd.te \
mm-qcamerad.te \
domain.te \
init.te \
time_daemon.te \
rmt_storage.te \
rfs_access.te \
hvdcp.te \
qti.te \
qseecomd.te \
mcStarter.te \
keystore.te \
ims.te \
imscm.te \
healthd.te \
charger_monitor.te \
surfaceflinger.te \
mm-pp-daemon.te \
wpa.te \
bootanim.te \
zygote.te \
mdm_helper.te \
peripheral_manager.te \
qcomsysd.te \
usb_uicc_daemon.te \
adsprpcd.te \
qlogd.te \
ipacm.te \
dpmd.te \
ssr_setup.te \
subsystem_ramdump.te \
ssr_diag.te \
sectest.te \
location.te \
location_app.te \
seapp_contexts \
logd.te \
installd.te \
wcnss_service.te \
mmi.te \
dhcp.te \
mediaserver_test.te \
energyawareness.te \
hbtp.te \
platform_app.te \
dtsconfigurator.te \
vold.te
-include device/qcom/sepolicy/$(TARGET_BOARD_PLATFORM)/Android.mk
# Compile sensor policy only for SSC targets
SSC_TARGET_LIST := apq8084
SSC_TARGET_LIST += msm8226
SSC_TARGET_LIST += msm8610
SSC_TARGET_LIST += msm8960
SSC_TARGET_LIST += msm8974
SSC_TARGET_LIST += msm8994
#ifeq ($(call is-board-platform-in-list,$(SSC_TARGET_LIST)),true)
BOARD_SEPOLICY_UNION += sensors.te
BOARD_SEPOLICY_UNION += sensors_test.te
#endif