blob: 8aec64a4907a11755ea01993e9fa8bee1667268a [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 ],
Kiyoung Kimd1d53442020-11-30 14:56:52 +090029 binaries: [
30 "linkerconfig",
31 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070032 multilib: {
33 both: {
Peter Collingbourneea06b0d2020-03-17 12:32:34 -070034 binaries: [
35 "crash_dump",
36 "linker",
37 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070038 },
39 },
Elliott Hughes470d10c2019-09-30 16:44:58 -070040 key: "com.android.runtime.key",
41 certificate: ":com.android.runtime.certificate",
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090042 prebuilts: [
43 "bionic-linker-config",
44 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070045}
Martin Stjernholm215e1da2020-03-16 15:42:17 +000046
47sdk {
48 name: "runtime-module-sdk",
49 defaults: ["linux_bionic_supported"],
50
51 native_header_libs: [
52 "bionic_libc_platform_headers",
53 "libc_headers",
54 ],
55 native_shared_libs: [
56 "libc",
57 "libdl",
58 "libdl_android",
59 "libm",
60 ],
61 native_static_libs: [
62 "libasync_safe",
Evgenii Stepanovfb139152021-01-07 17:49:13 -080063 "note_memtag_heap_async",
64 "note_memtag_heap_sync",
Martin Stjernholm215e1da2020-03-16 15:42:17 +000065 ],
66 native_objects: [
67 "crtbegin_dynamic",
68 "crtbegin_so",
69 "crtend_android",
70 "crtend_so",
71 ],
72}
Martin Stjernholmb87882d2020-05-28 14:20:31 +010073
74module_exports {
75 name: "runtime-module-host-exports",
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010076 host_supported: true,
Martin Stjernholmb87882d2020-05-28 14:20:31 +010077 device_supported: false,
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010078 compile_multilib: "64",
Martin Stjernholmb87882d2020-05-28 14:20:31 +010079
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010080 native_binaries: ["linkerconfig"],
81 target: {
82 linux_bionic: {
83 native_binaries: ["linker"],
84 },
85 },
Martin Stjernholmb87882d2020-05-28 14:20:31 +010086}
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090087
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090088linker_config {
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090089 name: "bionic-linker-config",
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090090 src: "linker.config.json",
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090091 installable: false,
92}