blob: c6c4cbf095cff9915bc3b3a258bad87a19b38eae [file] [log] [blame]
Elliott Hughes470d10c2019-09-30 16:44:58 -07001// Runtime (Bionic) APEX module
2//
3// In Q this contained Bionic, ART and Libcore.
4// It keeps the name /apex/com.android.runtime for app compat reasons.
5
6android_app_certificate {
7 name: "com.android.runtime.certificate",
8 certificate: "com.android.runtime",
9}
10
11apex_key {
12 name: "com.android.runtime.key",
13 public_key: "com.android.runtime.avbpubkey",
14 private_key: "com.android.runtime.pem",
15}
16
Elliott Hughes470d10c2019-09-30 16:44:58 -070017apex {
18 name: "com.android.runtime",
19 compile_multilib: "both",
20 manifest: "manifest.json",
21 native_shared_libs: [
22 "libc",
23 "libm",
24 "libdl",
Martin Stjernholm3274cc42019-11-11 15:33:22 +000025 "libdl_android",
Elliott Hughes470d10c2019-09-30 16:44:58 -070026 "libc_malloc_debug",
27 "libc_malloc_hooks",
28 ],
29 multilib: {
30 both: {
Peter Collingbourneea06b0d2020-03-17 12:32:34 -070031 binaries: [
32 "crash_dump",
33 "linker",
34 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070035 },
36 },
Elliott Hughes470d10c2019-09-30 16:44:58 -070037 key: "com.android.runtime.key",
38 certificate: ":com.android.runtime.certificate",
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090039 prebuilts: [
40 "bionic-linker-config",
41 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070042}
Martin Stjernholm215e1da2020-03-16 15:42:17 +000043
44sdk {
45 name: "runtime-module-sdk",
46 defaults: ["linux_bionic_supported"],
47
48 native_header_libs: [
49 "bionic_libc_platform_headers",
50 "libc_headers",
51 ],
52 native_shared_libs: [
53 "libc",
54 "libdl",
55 "libdl_android",
56 "libm",
57 ],
58 native_static_libs: [
59 "libasync_safe",
60 ],
61 native_objects: [
62 "crtbegin_dynamic",
63 "crtbegin_so",
64 "crtend_android",
65 "crtend_so",
66 ],
67}
Martin Stjernholmb87882d2020-05-28 14:20:31 +010068
69module_exports {
70 name: "runtime-module-host-exports",
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010071 host_supported: true,
Martin Stjernholmb87882d2020-05-28 14:20:31 +010072 device_supported: false,
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010073 compile_multilib: "64",
Martin Stjernholmb87882d2020-05-28 14:20:31 +010074
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010075 native_binaries: ["linkerconfig"],
76 target: {
77 linux_bionic: {
78 native_binaries: ["linker"],
79 },
80 },
Martin Stjernholmb87882d2020-05-28 14:20:31 +010081}
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090082
83prebuilt_etc {
84 name: "bionic-linker-config",
85 src: "linker.config.txt",
86 filename: "linker.config.txt",
87 installable: false,
88}