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

Commit 344b46a5 authored by Kiyoung Kim's avatar Kiyoung Kim
Browse files

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
parent 8255631f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,4 +29,5 @@ prebuilt_etc {
linker_config {
    name: "system_linker_config",
    src: "etc/linker.config.json",
    installable: false,
}
+0 −43
Original line number Diff line number Diff line
{
  // 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",