Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca1fd781 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

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
parent ef8716c9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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>