move mediacodec_samsung build config and sepolicy to gs-common
1. mediacodec_samsung.te is copied from ag/20742869 2. add common settings which will be used by differnt vendor Bug: 263444717 Test: build pass, camera record, youtube Change-Id: I62a4c33ea59d1b3f70990f221b11fe9d905e15f1
This commit is contained in:
parent
80fed77790
commit
1669f9bb60
10 changed files with 70 additions and 0 deletions
4
mediacodec/common/mediacodec_common.mk
Normal file
4
mediacodec/common/mediacodec_common.mk
Normal file
|
@ -0,0 +1,4 @@
|
|||
# mediacodec_common for all build configs and sepolicy shared among different Codec HAL
|
||||
# example 1: shared among multiple HALs on the same device
|
||||
# example 2: shared among different Hals on different devices
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/mediacodec/common/sepolicy
|
1
mediacodec/common/sepolicy/file.te
Normal file
1
mediacodec/common/sepolicy/file.te
Normal file
|
@ -0,0 +1 @@
|
|||
type vendor_media_data_file, file_type, data_file_type;
|
1
mediacodec/common/sepolicy/file_contexts
Normal file
1
mediacodec/common/sepolicy/file_contexts
Normal file
|
@ -0,0 +1 @@
|
|||
/data/vendor/media(/.*)? u:object_r:vendor_media_data_file:s0
|
1
mediacodec/common/sepolicy/vndservice.te
Normal file
1
mediacodec/common/sepolicy/vndservice.te
Normal file
|
@ -0,0 +1 @@
|
|||
type eco_service, vndservice_manager_type;
|
1
mediacodec/common/sepolicy/vndservice_contexts
Normal file
1
mediacodec/common/sepolicy/vndservice_contexts
Normal file
|
@ -0,0 +1 @@
|
|||
media.ecoservice u:object_r:eco_service:s0
|
Loading…
Add table
Add a link
Reference in a new issue