Remove provide libs from file

Remove provide libs of system image from file, and generate it at build
time instead

Bug: 172889962
Test: Build cuttlefish and confirmed list is generated in
/system/etc/linker.config.pb

Change-Id: I365252dcb2e8735fd8f6345c9ec2c985b0489d64
This commit is contained in:
Kiyoung Kim 2020-11-16 10:49:24 +09:00
parent 8255631fa9
commit 344b46a5b3
2 changed files with 1 additions and 43 deletions

View File

@ -29,4 +29,5 @@ prebuilt_etc {
linker_config {
name: "system_linker_config",
src: "etc/linker.config.json",
installable: false,
}

View File

@ -1,47 +1,4 @@
{
// These are list of libraries which has stub interface and installed
// in system image so other partition and APEX modules can link to it.
// TODO(b/147210213) : Generate this list on build and read from the file
"provideLibs": [
// LLNDK libraries
"libEGL.so",
"libGLESv1_CM.so",
"libGLESv2.so",
"libGLESv3.so",
"libRS.so",
"libandroid_net.so",
"libbinder_ndk.so",
"libc.so",
"libcgrouprc.so",
"libclang_rt.asan-arm-android.so",
"libclang_rt.asan-i686-android.so",
"libclang_rt.asan-x86_64-android.so",
"libdl.so",
"libft2.so",
"liblog.so",
"libm.so",
"libmediandk.so",
"libnativewindow.so",
"libsync.so",
"libvndksupport.so",
"libvulkan.so",
// NDK libraries
"libaaudio.so",
"libandroid.so",
// adb
"libadbd_auth.so",
"libadbd_fs.so",
// bionic
"libdl_android.so",
// statsd
"libincident.so",
// media
"libmediametrics.so",
// nn
"libneuralnetworks_packageinfo.so",
// SELinux
"libselinux.so"
],
"requireLibs": [
// Keep in sync with the "platform" namespace in art/build/apex/ld.config.txt.
"libdexfile_external.so",