Add libdl_android to the Runtime APEX.

Before this it ended up in /system.

Test: build & boot
Test: adb shell find system apex -name libdl_android.so | xargs adb shell ls -l
  =>
  apex/com.android.runtime/lib/bionic/libdl_android.so
  apex/com.android.runtime/lib64/bionic/libdl_android.so
  apex/com.android.runtime@1/lib/bionic/libdl_android.so
  apex/com.android.runtime@1/lib64/bionic/libdl_android.so
  system/lib/bootstrap/libdl_android.so
  system/lib/libdl_android.so -> /apex/com.android.runtime/lib/bionic/libdl_android.so
  system/lib64/bootstrap/libdl_android.so
  system/lib64/libdl_android.so -> /apex/com.android.runtime/lib64/bionic/libdl_android.so
Bug: 135753770
Change-Id: Ibabb5714e8cc0454c77ae5d42d9650c345ff1b89
This commit is contained in:
Martin Stjernholm 2019-11-06 00:13:19 +00:00
parent 590bdbe6e9
commit a3b0eab32f
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,7 @@ apex {
"libc",
"libm",
"libdl",
"libdl_android",
"libc_malloc_debug",
"libc_malloc_hooks",
],

View File

@ -185,6 +185,11 @@ cc_library {
symbol_file: "libdl_android.map.txt",
versions: ["10000"],
},
apex_available: [
"//apex_available:platform",
"com.android.runtime",
],
}
ndk_library {