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", |
Kiyoung Kim | 5a8189f | 2020-09-07 17:31:57 +0900 | [diff] [blame] | 39 | prebuilts: [ |
| 40 | "bionic-linker-config", |
| 41 | ], |
Elliott Hughes | 470d10c | 2019-09-30 16:44:58 -0700 | [diff] [blame] | 42 | } |
Martin Stjernholm | 215e1da | 2020-03-16 15:42:17 +0000 | [diff] [blame] | 43 | |
| 44 | sdk { |
| 45 | name: "runtime-module-sdk", |
| 46 | defaults: ["linux_bionic_supported"], |
| 47 | |
| 48 | native_header_libs: [ |
| 49 | "bionic_libc_platform_headers", |
| 50 | "libc_headers", |
| 51 | ], |
| 52 | native_shared_libs: [ |
| 53 | "libc", |
| 54 | "libdl", |
| 55 | "libdl_android", |
| 56 | "libm", |
| 57 | ], |
| 58 | native_static_libs: [ |
| 59 | "libasync_safe", |
| 60 | ], |
| 61 | native_objects: [ |
| 62 | "crtbegin_dynamic", |
| 63 | "crtbegin_so", |
| 64 | "crtend_android", |
| 65 | "crtend_so", |
| 66 | ], |
| 67 | } |
Martin Stjernholm | b87882d | 2020-05-28 14:20:31 +0100 | [diff] [blame] | 68 | |
| 69 | module_exports { |
| 70 | name: "runtime-module-host-exports", |
Martin Stjernholm | d6e35f1 | 2020-08-05 22:26:26 +0100 | [diff] [blame] | 71 | host_supported: true, |
Martin Stjernholm | b87882d | 2020-05-28 14:20:31 +0100 | [diff] [blame] | 72 | device_supported: false, |
Martin Stjernholm | d6e35f1 | 2020-08-05 22:26:26 +0100 | [diff] [blame] | 73 | compile_multilib: "64", |
Martin Stjernholm | b87882d | 2020-05-28 14:20:31 +0100 | [diff] [blame] | 74 | |
Martin Stjernholm | d6e35f1 | 2020-08-05 22:26:26 +0100 | [diff] [blame] | 75 | native_binaries: ["linkerconfig"], |
| 76 | target: { |
| 77 | linux_bionic: { |
| 78 | native_binaries: ["linker"], |
| 79 | }, |
| 80 | }, |
Martin Stjernholm | b87882d | 2020-05-28 14:20:31 +0100 | [diff] [blame] | 81 | } |
Kiyoung Kim | 5a8189f | 2020-09-07 17:31:57 +0900 | [diff] [blame] | 82 | |
Kiyoung Kim | 2d4bbf2 | 2020-10-06 17:26:13 +0900 | [diff] [blame^] | 83 | linker_config { |
Kiyoung Kim | 5a8189f | 2020-09-07 17:31:57 +0900 | [diff] [blame] | 84 | name: "bionic-linker-config", |
Kiyoung Kim | 2d4bbf2 | 2020-10-06 17:26:13 +0900 | [diff] [blame^] | 85 | src: "linker.config.json", |
Kiyoung Kim | 5a8189f | 2020-09-07 17:31:57 +0900 | [diff] [blame] | 86 | installable: false, |
| 87 | } |