platform_bionic/apex/Android.bp
Martin Stjernholm 3274cc4692 Reland "Add libdl_android to the Runtime (aka Bionic) 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
Test: atest CtsBionicTestCases
Test: Repro in b/144343305#comment8 together with ag/9754153
Bug: 135753770
Bug: 144343305
Change-Id: I9ccd10b711223ca474e91741711b7b8efd521b2d
2019-11-21 16:15:20 +00:00

44 lines
1 KiB
Text

// Runtime (Bionic) APEX module
//
// In Q this contained Bionic, ART and Libcore.
// It keeps the name /apex/com.android.runtime for app compat reasons.
android_app_certificate {
name: "com.android.runtime.certificate",
certificate: "com.android.runtime",
}
apex_key {
name: "com.android.runtime.key",
public_key: "com.android.runtime.avbpubkey",
private_key: "com.android.runtime.pem",
}
prebuilt_etc {
name: "com.android.runtime.ld.config.txt",
src: "ld.config.txt",
filename: "ld.config.txt",
installable: false,
}
apex {
name: "com.android.runtime",
compile_multilib: "both",
manifest: "manifest.json",
native_shared_libs: [
"libc",
"libm",
"libdl",
"libdl_android",
"libc_malloc_debug",
"libc_malloc_hooks",
],
multilib: {
both: {
binaries: ["linker"],
},
},
prebuilts: ["com.android.runtime.ld.config.txt"],
key: "com.android.runtime.key",
certificate: ":com.android.runtime.certificate",
}