2019-10-01 01:44:58 +02:00
|
|
|
// Runtime (Bionic) APEX module
|
|
|
|
//
|
|
|
|
// In Q this contained Bionic, ART and Libcore.
|
|
|
|
// It keeps the name /apex/com.android.runtime for app compat reasons.
|
|
|
|
|
2021-02-13 02:51:24 +01:00
|
|
|
package {
|
|
|
|
// See: http://go/android-license-faq
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
// all of the 'license_kinds' from "bionic_license"
|
|
|
|
// to get the below license kinds:
|
|
|
|
// legacy_notice
|
|
|
|
default_applicable_licenses: ["bionic_license"],
|
|
|
|
}
|
|
|
|
|
2019-10-01 01:44:58 +02:00
|
|
|
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",
|
|
|
|
}
|
|
|
|
|
|
|
|
apex {
|
|
|
|
name: "com.android.runtime",
|
|
|
|
compile_multilib: "both",
|
|
|
|
manifest: "manifest.json",
|
|
|
|
native_shared_libs: [
|
|
|
|
"libc",
|
|
|
|
"libm",
|
|
|
|
"libdl",
|
2019-11-11 16:33:22 +01:00
|
|
|
"libdl_android",
|
2019-10-01 01:44:58 +02:00
|
|
|
"libc_malloc_debug",
|
|
|
|
"libc_malloc_hooks",
|
|
|
|
],
|
2020-11-30 06:56:52 +01:00
|
|
|
binaries: [
|
|
|
|
"linkerconfig",
|
|
|
|
],
|
2019-10-01 01:44:58 +02:00
|
|
|
multilib: {
|
|
|
|
both: {
|
2020-03-17 20:32:34 +01:00
|
|
|
binaries: [
|
|
|
|
"crash_dump",
|
|
|
|
"linker",
|
|
|
|
],
|
2019-10-01 01:44:58 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
key: "com.android.runtime.key",
|
|
|
|
certificate: ":com.android.runtime.certificate",
|
2020-09-07 10:31:57 +02:00
|
|
|
prebuilts: [
|
|
|
|
"bionic-linker-config",
|
|
|
|
],
|
2019-10-01 01:44:58 +02:00
|
|
|
}
|
2020-03-16 16:42:17 +01:00
|
|
|
|
|
|
|
sdk {
|
|
|
|
name: "runtime-module-sdk",
|
|
|
|
defaults: ["linux_bionic_supported"],
|
|
|
|
|
|
|
|
native_header_libs: [
|
|
|
|
"bionic_libc_platform_headers",
|
|
|
|
"libc_headers",
|
|
|
|
],
|
|
|
|
native_shared_libs: [
|
|
|
|
"libc",
|
|
|
|
"libdl",
|
|
|
|
"libdl_android",
|
|
|
|
"libm",
|
|
|
|
],
|
|
|
|
native_static_libs: [
|
|
|
|
"libasync_safe",
|
2021-01-08 02:49:13 +01:00
|
|
|
"note_memtag_heap_async",
|
|
|
|
"note_memtag_heap_sync",
|
2020-03-16 16:42:17 +01:00
|
|
|
],
|
|
|
|
native_objects: [
|
|
|
|
"crtbegin_dynamic",
|
|
|
|
"crtbegin_so",
|
|
|
|
"crtend_android",
|
|
|
|
"crtend_so",
|
|
|
|
],
|
|
|
|
}
|
2020-05-28 15:20:31 +02:00
|
|
|
|
|
|
|
module_exports {
|
|
|
|
name: "runtime-module-host-exports",
|
2020-08-05 23:26:26 +02:00
|
|
|
host_supported: true,
|
2020-05-28 15:20:31 +02:00
|
|
|
device_supported: false,
|
2020-08-05 23:26:26 +02:00
|
|
|
compile_multilib: "64",
|
2020-05-28 15:20:31 +02:00
|
|
|
|
2020-08-05 23:26:26 +02:00
|
|
|
native_binaries: ["linkerconfig"],
|
|
|
|
target: {
|
|
|
|
linux_bionic: {
|
|
|
|
native_binaries: ["linker"],
|
|
|
|
},
|
|
|
|
},
|
2020-05-28 15:20:31 +02:00
|
|
|
}
|
2020-09-07 10:31:57 +02:00
|
|
|
|
2020-10-06 10:26:13 +02:00
|
|
|
linker_config {
|
2020-09-07 10:31:57 +02:00
|
|
|
name: "bionic-linker-config",
|
2020-10-06 10:26:13 +02:00
|
|
|
src: "linker.config.json",
|
2020-09-07 10:31:57 +02:00
|
|
|
installable: false,
|
|
|
|
}
|