blob: 16422f801189683b460f79e5e7f85853d68db8ed [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
Bob Badour48d43032021-02-12 17:51:24 -08006package {
7 // See: http://go/android-license-faq
8 // A large-scale-change added 'default_applicable_licenses' to import
9 // all of the 'license_kinds' from "bionic_license"
10 // to get the below license kinds:
11 // legacy_notice
12 default_applicable_licenses: ["bionic_license"],
13}
14
Elliott Hughes470d10c2019-09-30 16:44:58 -070015android_app_certificate {
16 name: "com.android.runtime.certificate",
17 certificate: "com.android.runtime",
18}
19
20apex_key {
21 name: "com.android.runtime.key",
22 public_key: "com.android.runtime.avbpubkey",
23 private_key: "com.android.runtime.pem",
24}
25
Elliott Hughes470d10c2019-09-30 16:44:58 -070026apex {
27 name: "com.android.runtime",
28 compile_multilib: "both",
29 manifest: "manifest.json",
30 native_shared_libs: [
31 "libc",
32 "libm",
33 "libdl",
Martin Stjernholm3274cc42019-11-11 15:33:22 +000034 "libdl_android",
Elliott Hughes470d10c2019-09-30 16:44:58 -070035 "libc_malloc_debug",
36 "libc_malloc_hooks",
37 ],
Kiyoung Kimd1d53442020-11-30 14:56:52 +090038 binaries: [
39 "linkerconfig",
40 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070041 multilib: {
42 both: {
Peter Collingbourneea06b0d2020-03-17 12:32:34 -070043 binaries: [
44 "crash_dump",
45 "linker",
46 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070047 },
48 },
Elliott Hughes470d10c2019-09-30 16:44:58 -070049 key: "com.android.runtime.key",
50 certificate: ":com.android.runtime.certificate",
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090051 prebuilts: [
52 "bionic-linker-config",
53 ],
Elliott Hughes470d10c2019-09-30 16:44:58 -070054}
Martin Stjernholm215e1da2020-03-16 15:42:17 +000055
56sdk {
57 name: "runtime-module-sdk",
58 defaults: ["linux_bionic_supported"],
59
60 native_header_libs: [
61 "bionic_libc_platform_headers",
62 "libc_headers",
63 ],
64 native_shared_libs: [
65 "libc",
66 "libdl",
67 "libdl_android",
68 "libm",
69 ],
70 native_static_libs: [
71 "libasync_safe",
Evgenii Stepanovfb139152021-01-07 17:49:13 -080072 "note_memtag_heap_async",
73 "note_memtag_heap_sync",
Martin Stjernholm215e1da2020-03-16 15:42:17 +000074 ],
75 native_objects: [
76 "crtbegin_dynamic",
77 "crtbegin_so",
78 "crtend_android",
79 "crtend_so",
80 ],
81}
Martin Stjernholmb87882d2020-05-28 14:20:31 +010082
83module_exports {
84 name: "runtime-module-host-exports",
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010085 host_supported: true,
Martin Stjernholmb87882d2020-05-28 14:20:31 +010086 device_supported: false,
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010087 compile_multilib: "64",
Martin Stjernholmb87882d2020-05-28 14:20:31 +010088
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010089 native_binaries: ["linkerconfig"],
90 target: {
91 linux_bionic: {
92 native_binaries: ["linker"],
93 },
94 },
Martin Stjernholmb87882d2020-05-28 14:20:31 +010095}
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090096
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090097linker_config {
Kiyoung Kim5a8189f2020-09-07 17:31:57 +090098 name: "bionic-linker-config",
Kiyoung Kim2d4bbf22020-10-06 17:26:13 +090099 src: "linker.config.json",
Kiyoung Kim5a8189f2020-09-07 17:31:57 +0900100 installable: false,
101}