2021-02-04 02:36:27 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2020-12-07 06:58:23 +00:00
|
|
|
apex {
|
|
|
|
name: "com.android.virt",
|
|
|
|
|
|
|
|
// TODO(jiyong): make it updatable
|
2021-02-16 14:43:40 +00:00
|
|
|
updatable: false,
|
2021-06-22 11:24:56 +00:00
|
|
|
platform_apis: true,
|
2020-12-07 06:58:23 +00:00
|
|
|
|
|
|
|
manifest: "manifest.json",
|
|
|
|
|
|
|
|
key: "com.android.virt.key",
|
|
|
|
certificate: ":com.android.virt.certificate",
|
|
|
|
|
2021-06-10 13:59:56 +00:00
|
|
|
// crosvm and virtualizationservice are only enabled for 64-bit targets on device
|
2020-12-07 06:58:47 +00:00
|
|
|
arch: {
|
|
|
|
arm64: {
|
|
|
|
binaries: [
|
2021-01-05 14:14:46 +00:00
|
|
|
"crosvm",
|
2021-06-10 13:59:56 +00:00
|
|
|
"virtualizationservice",
|
2021-01-05 14:14:46 +00:00
|
|
|
],
|
2021-04-12 05:48:42 +00:00
|
|
|
filesystems: [
|
|
|
|
"microdroid_super",
|
|
|
|
"microdroid_boot-5.10",
|
|
|
|
"microdroid_vendor_boot-5.10",
|
|
|
|
"microdroid_vbmeta",
|
|
|
|
"microdroid_vbmeta_system",
|
|
|
|
],
|
2021-01-05 14:14:46 +00:00
|
|
|
},
|
|
|
|
x86_64: {
|
|
|
|
binaries: [
|
2020-12-07 06:58:47 +00:00
|
|
|
"crosvm",
|
2021-06-10 13:59:56 +00:00
|
|
|
"virtualizationservice",
|
2020-12-07 06:58:47 +00:00
|
|
|
],
|
2021-04-12 05:48:42 +00:00
|
|
|
filesystems: [
|
|
|
|
"microdroid_super",
|
|
|
|
"microdroid_boot-5.10",
|
|
|
|
"microdroid_vendor_boot-5.10",
|
|
|
|
"microdroid_vbmeta",
|
|
|
|
"microdroid_vbmeta_system",
|
|
|
|
],
|
2020-12-07 06:58:47 +00:00
|
|
|
},
|
|
|
|
},
|
2021-02-16 04:23:00 +00:00
|
|
|
binaries: [
|
2021-03-11 22:19:18 +00:00
|
|
|
"fd_server",
|
2021-03-04 16:11:12 +00:00
|
|
|
"vm",
|
2021-02-16 04:23:00 +00:00
|
|
|
],
|
2021-06-28 09:37:26 +00:00
|
|
|
java_libs: [
|
|
|
|
"android.system.virtualmachine",
|
|
|
|
],
|
2021-07-12 12:21:09 +00:00
|
|
|
apps: [
|
|
|
|
"android.system.virtualmachine.res",
|
|
|
|
],
|
2021-04-12 05:48:42 +00:00
|
|
|
prebuilts: [
|
|
|
|
"com.android.virt.init.rc",
|
2021-06-21 05:39:12 +00:00
|
|
|
"microdroid.json",
|
2021-04-12 05:48:42 +00:00
|
|
|
"microdroid_uboot_env",
|
|
|
|
"microdroid_bootloader",
|
2021-07-05 04:05:48 +00:00
|
|
|
"microdroid_bootconfig_debug",
|
2021-04-12 05:48:42 +00:00
|
|
|
],
|
2021-03-25 21:18:53 +00:00
|
|
|
file_contexts: ":com.android.virt-file_contexts",
|
2020-12-07 06:58:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
apex_key {
|
|
|
|
name: "com.android.virt.key",
|
|
|
|
public_key: "com.android.virt.avbpubkey",
|
|
|
|
private_key: "com.android.virt.pem",
|
|
|
|
}
|
|
|
|
|
|
|
|
android_app_certificate {
|
|
|
|
name: "com.android.virt.certificate",
|
|
|
|
certificate: "com.android.virt",
|
|
|
|
}
|
2021-03-25 21:18:53 +00:00
|
|
|
|
|
|
|
prebuilt_etc {
|
|
|
|
name: "com.android.virt.init.rc",
|
2021-05-21 12:41:13 +00:00
|
|
|
src: "virtualizationservice.rc",
|
2021-03-25 21:18:53 +00:00
|
|
|
filename: "init.rc",
|
|
|
|
}
|