Install bootstrap variant of bionic libs

Bionic libs are moved to the runtime APEX and thus are available via the
path /apex/com.android.runtime/lib[64]. However, for processes that are
started before the APEX is ready, a copy of the bionic libs should be left
under /system/lib[64]. This change ensures that the bootstrap bionic
libs are always installed to the system partition.

Note that, at runtime, the bionic libs in the runtime APEX are
bind-mounted to /system/lib/<libname>.so which essentially hides the
bootstrap bionic libs to the processes after the activation of the
runtime APEX.

Bug: 120266448
Test: m and check that libc, libdl, libm are under
/system/lib[64]

Change-Id: I9d5e8e718aa020c012f312a70ed54652130048dd
This commit is contained in:
Jiyong Park 2018-12-26 17:32:56 +09:00
parent bdf0ec03b6
commit 2a0ed36bd9
1 changed files with 3 additions and 3 deletions

View File

@ -118,14 +118,14 @@ PRODUCT_PACKAGES += \
libaudioutils \
libbinder \
libbinder_ndk \
libc \
libc.bootstrap \
libcamera2ndk \
libcamera_client \
libcameraservice \
libc_malloc_debug \
libc_malloc_hooks \
libcutils \
libdl \
libdl.bootstrap \
libdrmframework \
libdrmframework_jni \
libEGL \
@ -145,7 +145,7 @@ PRODUCT_PACKAGES += \
libjnigraphics \
libjpeg \
liblog \
libm \
libm.bootstrap \
libmdnssd \
libmedia \
libmedia_jni \