blob: e0a87534c2ef7572cade657e559a01e723eaa3b2 [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 ],
Mathew Inwoodf11ce9a2021-02-16 14:43:39 +000045 updatable: false,
Elliott Hughes470d10c2019-09-30 16:44:58 -070046}
Martin Stjernholm215e1da2020-03-16 15:42:17 +000047
48sdk {
49 name: "runtime-module-sdk",
50 defaults: ["linux_bionic_supported"],
51
52 native_header_libs: [
53 "bionic_libc_platform_headers",
54 "libc_headers",
55 ],
56 native_shared_libs: [
57 "libc",
58 "libdl",
59 "libdl_android",
60 "libm",
61 ],
62 native_static_libs: [
63 "libasync_safe",
Evgenii Stepanovfb139152021-01-07 17:49:13 -080064 "note_memtag_heap_async",
65 "note_memtag_heap_sync",
Martin Stjernholm215e1da2020-03-16 15:42:17 +000066 ],
67 native_objects: [
68 "crtbegin_dynamic",
69 "crtbegin_so",
70 "crtend_android",
71 "crtend_so",
72 ],
73}
Martin Stjernholmb87882d2020-05-28 14:20:31 +010074
75module_exports {
76 name: "runtime-module-host-exports",
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010077 host_supported: true,
Martin Stjernholmb87882d2020-05-28 14:20:31 +010078 device_supported: false,
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010079 compile_multilib: "64",
Martin Stjernholmb87882d2020-05-28 14:20:31 +010080
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010081 native_binaries: ["linkerconfig"],
82 target: {
83 linux_bionic: {
84 native_binaries: ["linker"],
85 },
86 },
Martin Stjernholmb87882d2020-05-28 14:20:31 +010087}
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090088
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090089linker_config {
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090090 name: "bionic-linker-config",
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090091 src: "linker.config.json",
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090092 installable: false,
93}