1// 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
17apex {
18    name: "com.android.runtime",
19    compile_multilib: "both",
20    manifest: "manifest.json",
21    native_shared_libs: [
22        "libc",
23        "libm",
24        "libdl",
25        "libdl_android",
26        "libc_malloc_debug",
27        "libc_malloc_hooks",
28    ],
29    multilib: {
30        both: {
31            binaries: [
32                "crash_dump",
33                "linker",
34            ],
35        },
36    },
37    key: "com.android.runtime.key",
38    certificate: ":com.android.runtime.certificate",
39}
40
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}
65
66module_exports {
67    name: "runtime-module-host-exports",
68    defaults: ["linux_bionic_supported"],
69    device_supported: false,
70
71    native_binaries: [
72        "linker",
73    ],
74}
75