| Elliott Hughes | 470d10c | 2019-09-30 16:44:58 -0700 | [diff] [blame] | 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 |  | 
 | 6 | android_app_certificate { | 
 | 7 |     name: "com.android.runtime.certificate", | 
 | 8 |     certificate: "com.android.runtime", | 
 | 9 | } | 
 | 10 |  | 
 | 11 | apex_key { | 
 | 12 |     name: "com.android.runtime.key", | 
 | 13 |     public_key: "com.android.runtime.avbpubkey", | 
 | 14 |     private_key: "com.android.runtime.pem", | 
 | 15 | } | 
 | 16 |  | 
| Elliott Hughes | 470d10c | 2019-09-30 16:44:58 -0700 | [diff] [blame] | 17 | apex { | 
 | 18 |     name: "com.android.runtime", | 
 | 19 |     compile_multilib: "both", | 
 | 20 |     manifest: "manifest.json", | 
 | 21 |     native_shared_libs: [ | 
 | 22 |         "libc", | 
 | 23 |         "libm", | 
 | 24 |         "libdl", | 
| Martin Stjernholm | 3274cc4 | 2019-11-11 15:33:22 +0000 | [diff] [blame] | 25 |         "libdl_android", | 
| Elliott Hughes | 470d10c | 2019-09-30 16:44:58 -0700 | [diff] [blame] | 26 |         "libc_malloc_debug", | 
 | 27 |         "libc_malloc_hooks", | 
 | 28 |     ], | 
 | 29 |     multilib: { | 
 | 30 |         both: { | 
| Peter Collingbourne | ea06b0d | 2020-03-17 12:32:34 -0700 | [diff] [blame] | 31 |             binaries: [ | 
 | 32 |                 "crash_dump", | 
 | 33 |                 "linker", | 
 | 34 |             ], | 
| Elliott Hughes | 470d10c | 2019-09-30 16:44:58 -0700 | [diff] [blame] | 35 |         }, | 
 | 36 |     }, | 
| Elliott Hughes | 470d10c | 2019-09-30 16:44:58 -0700 | [diff] [blame] | 37 |     key: "com.android.runtime.key", | 
 | 38 |     certificate: ":com.android.runtime.certificate", | 
 | 39 | } | 
| Martin Stjernholm | 215e1da | 2020-03-16 15:42:17 +0000 | [diff] [blame] | 40 |  | 
 | 41 | sdk { | 
 | 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 Stjernholm | b87882d | 2020-05-28 14:20:31 +0100 | [diff] [blame] | 65 |  | 
 | 66 | module_exports { | 
 | 67 |     name: "runtime-module-host-exports", | 
 | 68 |     defaults: ["linux_bionic_supported"], | 
 | 69 |     device_supported: false, | 
 | 70 |  | 
 | 71 |     native_binaries: [ | 
 | 72 |         "linker", | 
 | 73 |     ], | 
 | 74 | } |