• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6package {
7    default_applicable_licenses: ["bionic_apex_license"],
8}
9
10license {
11    name: "bionic_apex_license",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-Apache-2.0",
15    ],
16    license_text: [
17        "NOTICE",
18    ],
19}
20
21android_app_certificate {
22    name: "com.android.runtime.certificate",
23    certificate: "com.android.runtime",
24}
25
26apex_key {
27    name: "com.android.runtime.key",
28    public_key: "com.android.runtime.avbpubkey",
29    private_key: "com.android.runtime.pem",
30}
31
32apex {
33    name: "com.android.runtime",
34    compile_multilib: "both",
35    manifest: "manifest.json",
36    native_shared_libs: [
37        "libc",
38        "libm",
39        "libdl",
40        "libdl_android",
41        "libc_malloc_debug",
42        "libc_malloc_hooks",
43    ],
44    binaries: [
45        "linkerconfig",
46    ],
47    multilib: {
48        both: {
49            binaries: [
50                "crash_dump",
51                "linker",
52            ],
53        },
54    },
55    key: "com.android.runtime.key",
56    certificate: ":com.android.runtime.certificate",
57    prebuilts: [
58        "bionic-linker-config",
59    ],
60    updatable: false,
61}
62
63sdk {
64    name: "runtime-module-sdk",
65    defaults: ["linux_bionic_supported"],
66
67    native_header_libs: [
68        "bionic_libc_platform_headers",
69        "libc_headers",
70    ],
71    native_shared_libs: [
72        "libc",
73        "libdl",
74        "libdl_android",
75        "libm",
76    ],
77    native_static_libs: [
78        "libasync_safe",
79        "note_memtag_heap_async",
80        "note_memtag_heap_sync",
81    ],
82    native_objects: [
83        "crtbegin_dynamic",
84        "crtbegin_so",
85        "crtend_android",
86        "crtend_so",
87    ],
88}
89
90module_exports {
91    name: "runtime-module-host-exports",
92    host_supported: true,
93    device_supported: false,
94    compile_multilib: "64",
95
96    native_binaries: ["linkerconfig"],
97    target: {
98        linux_bionic: {
99            native_binaries: ["linker"],
100        },
101    },
102}
103
104linker_config {
105    name: "bionic-linker-config",
106    src: "linker.config.json",
107    installable: false,
108}
109