Add odm_service_contexts module
Bug: 240609481 Test: build and boot Change-Id: I5412b4a190d30490cad1bf2b9de1afd16085eb26
This commit is contained in:
parent
7e707248b2
commit
3bb2033eb1
3 changed files with 21 additions and 3 deletions
|
@ -511,6 +511,8 @@ LOCAL_REQUIRED_MODULES += \
|
|||
odm_seapp_contexts \
|
||||
odm_property_contexts \
|
||||
odm_property_contexts_test \
|
||||
odm_service_contexts \
|
||||
odm_service_contexts_test \
|
||||
odm_hwservice_contexts \
|
||||
odm_hwservice_contexts_test \
|
||||
odm_mac_permissions.xml
|
||||
|
|
|
@ -277,6 +277,15 @@ service_contexts {
|
|||
recovery_available: true,
|
||||
}
|
||||
|
||||
service_contexts {
|
||||
name: "odm_service_contexts",
|
||||
srcs: [
|
||||
":service_contexts_files{.odm}",
|
||||
],
|
||||
device_specific: true,
|
||||
recovery_available: true,
|
||||
}
|
||||
|
||||
keystore2_key_contexts {
|
||||
name: "plat_keystore2_key_contexts",
|
||||
srcs: [":keystore2_key_contexts_files{.plat_private}"],
|
||||
|
@ -515,6 +524,12 @@ service_contexts_test {
|
|||
sepolicy: ":precompiled_sepolicy",
|
||||
}
|
||||
|
||||
service_contexts_test {
|
||||
name: "odm_service_contexts_test",
|
||||
srcs: [":odm_service_contexts"],
|
||||
sepolicy: ":precompiled_sepolicy",
|
||||
}
|
||||
|
||||
vndservice_contexts_test {
|
||||
name: "vndservice_contexts_test",
|
||||
srcs: [":vndservice_contexts"],
|
||||
|
|
|
@ -447,6 +447,7 @@
|
|||
/(odm|vendor/odm)/etc/selinux/odm_file_contexts u:object_r:file_contexts_file:s0
|
||||
/(odm|vendor/odm)/etc/selinux/odm_seapp_contexts u:object_r:seapp_contexts_file:s0
|
||||
/(odm|vendor/odm)/etc/selinux/odm_property_contexts u:object_r:property_contexts_file:s0
|
||||
/(odm|vendor/odm)/etc/selinux/odm_service_contexts u:object_r:vendor_service_contexts_file:s0
|
||||
/(odm|vendor/odm)/etc/selinux/odm_hwservice_contexts u:object_r:hwservice_contexts_file:s0
|
||||
/(odm|vendor/odm)/etc/selinux/odm_keystore2_key_contexts u:object_r:keystore2_key_contexts_file:s0
|
||||
/(odm|vendor/odm)/etc/selinux/odm_mac_permissions\.xml u:object_r:mac_perms_file:s0
|
||||
|
|
Loading…
Reference in a new issue