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 arch: { 45 arm64: { 46 native_shared_libs: [ 47 "libc_hwasan", 48 "libclang_rt.hwasan", 49 ], 50 }, 51 }, 52 binaries: [ 53 "linkerconfig", 54 ], 55 multilib: { 56 both: { 57 binaries: [ 58 "crash_dump", 59 "linker", 60 ], 61 }, 62 }, 63 key: "com.android.runtime.key", 64 certificate: ":com.android.runtime.certificate", 65 prebuilts: [ 66 "bionic-linker-config", 67 ], 68 updatable: false, 69} 70 71sdk { 72 name: "runtime-module-sdk", 73 defaults: ["linux_bionic_supported"], 74 75 native_header_libs: [ 76 "bionic_libc_platform_headers", 77 "libc_headers", 78 ], 79 native_shared_libs: [ 80 "libc", 81 "libdl", 82 "libdl_android", 83 "libm", 84 ], 85 native_static_libs: [ 86 "libasync_safe", 87 "note_memtag_heap_async", 88 "note_memtag_heap_sync", 89 ], 90 native_objects: [ 91 "crtbegin_dynamic", 92 "crtbegin_so", 93 "crtend_android", 94 "crtend_so", 95 "crt_pad_segment", 96 ], 97} 98 99module_exports { 100 name: "runtime-module-host-exports", 101 host_supported: true, 102 device_supported: false, 103 compile_multilib: "64", 104 105 native_binaries: ["linkerconfig"], 106 target: { 107 linux_bionic: { 108 native_binaries: ["linker"], 109 }, 110 }, 111} 112 113linker_config { 114 name: "bionic-linker-config", 115 src: "linker.config.json", 116 installable: false, 117} 118