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

View File

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