blob: 100430da4a4a79bbaa7c5a170eb35f3ab711309e [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",
39}
Martin Stjernholm215e1da2020-03-16 15:42:17 +000040
41sdk {
42 name: "runtime-module-sdk",
43 defaults: ["linux_bionic_supported"],
44
45 native_header_libs: [
46 "bionic_libc_platform_headers",
47 "libc_headers",
48 ],
49 native_shared_libs: [
50 "libc",
51 "libdl",
52 "libdl_android",
53 "libm",
54 ],
55 native_static_libs: [
56 "libasync_safe",
57 ],
58 native_objects: [
59 "crtbegin_dynamic",
60 "crtbegin_so",
61 "crtend_android",
62 "crtend_so",
63 ],
64}
Martin Stjernholmb87882d2020-05-28 14:20:31 +010065
66module_exports {
67 name: "runtime-module-host-exports",
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010068 host_supported: true,
Martin Stjernholmb87882d2020-05-28 14:20:31 +010069 device_supported: false,
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010070 compile_multilib: "64",
Martin Stjernholmb87882d2020-05-28 14:20:31 +010071
Martin Stjernholmd6e35f12020-08-05 22:26:26 +010072 native_binaries: ["linkerconfig"],
73 target: {
74 linux_bionic: {
75 native_binaries: ["linker"],
76 },
77 },
Martin Stjernholmb87882d2020-05-28 14:20:31 +010078}