Add vndservicemanager to default builds.

vndservicemanager will be used for AIDL/binder
communication between processes running from
the /vendor partition. While technically only
required on full-treble devices, it is useful
to have on Android devices by default, since it
allows vendors to distribute a single binary talking
to vndservicemanager, instead of having to maintain
two versions that talk to different servicemanagers.

On devices that don't have a new kernel prebuilt with
/dev/vndbinder yet, vndservicemanager will simply
block indefinitely.

Also add new vndservice_contexts target, that
defines the service contexts for vendor services.

Bug: 36052864
Test: Marlin boots with and without /dev/vndbinder
Change-Id: I7334b5cb357dc6d4c5de8632e835dd892cd2f174
This commit is contained in:
Martijn Coenen 2017-04-04 14:01:26 -07:00
parent ef8716c93a
commit ca1fd78190
1 changed files with 3 additions and 1 deletions

View File

@ -84,6 +84,7 @@ PRODUCT_PACKAGES += \
toolbox \
toybox \
tzdatacheck \
vndservicemanager \
# SELinux packages
PRODUCT_PACKAGES += \
@ -95,7 +96,8 @@ PRODUCT_PACKAGES += \
plat_property_contexts \
plat_seapp_contexts \
plat_service_contexts \
selinux_policy
selinux_policy \
vndservice_contexts
# AID Generation for
# <pwd.h> and <grp.h>