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

Commit 0b7b97bf authored by Jiyong Park's avatar Jiyong Park
Browse files

libselinux is LLNDK, not VNDK-core

libselinux has stable C APIs and therefore provides a stub library for
Mainline clients. It is not copied into any Mainline modules and the
only instance of the lib in /system/lib serves all of them.

However for vendors, we still had another copy of libselinux in VNDK
(e.g. in the VNDK APEX that is served via the path /system/lib/vndk).
Since the library is guaranteed to have stable C APIs, there is no
reason to keep the vendor variant of the library in VNDK. Keeping it in
VNDK would be just a waste of storage space.

This change removes libselinux from VNDK and marks it as LLNDK. The
single instance of if in /system/lib serves vendor processes as well as
Mainline modules.

Bug: 151303316
Test: m
Change-Id: I7106ac236770b55b147c8a7f524bc2eddbddedb1
parent 7ee9edff
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@ LLNDK: libm.so
LLNDK: libmediandk.so
LLNDK: libmediandk.so
LLNDK: libnativewindow.so
LLNDK: libnativewindow.so
LLNDK: libneuralnetworks.so
LLNDK: libneuralnetworks.so
LLNDK: libselinux.so
LLNDK: libsync.so
LLNDK: libsync.so
LLNDK: libvndksupport.so
LLNDK: libvndksupport.so
LLNDK: libvulkan.so
LLNDK: libvulkan.so
@@ -253,7 +254,6 @@ VNDK-core: libpng.so
VNDK-core: libpower.so
VNDK-core: libpower.so
VNDK-core: libprocinfo.so
VNDK-core: libprocinfo.so
VNDK-core: libradio_metadata.so
VNDK-core: libradio_metadata.so
VNDK-core: libselinux.so
VNDK-core: libspeexresampler.so
VNDK-core: libspeexresampler.so
VNDK-core: libsqlite.so
VNDK-core: libsqlite.so
VNDK-core: libssl.so
VNDK-core: libssl.so