blob: c97eb15d328c382c0735e6655f0a7223737f15c6 [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",
63 ],
64 native_objects: [
65 "crtbegin_dynamic",
66 "crtbegin_so",
67 "crtend_android",
68 "crtend_so",
69 ],
70}
Martin Stjernholmb87882d2020-05-28 14:20:31 +010071
72module_exports {
73 name: "runtime-module-host-exports",
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010074 host_supported: true,
Martin Stjernholmb87882d2020-05-28 14:20:31 +010075 device_supported: false,
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010076 compile_multilib: "64",
Martin Stjernholmb87882d2020-05-28 14:20:31 +010077
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010078 native_binaries: ["linkerconfig"],
79 target: {
80 linux_bionic: {
81 native_binaries: ["linker"],
82 },
83 },
Martin Stjernholmb87882d2020-05-28 14:20:31 +010084}
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090085
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090086linker_config {
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090087 name: "bionic-linker-config",
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090088 src: "linker.config.json",
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090089 installable: false,
90}