package { default_applicable_licenses: ["Android-Apache-2.0"], } apex { name: "com.android.virt", // TODO(jiyong): make it updatable updatable: false, platform_apis: true, manifest: "manifest.json", key: "com.android.virt.key", certificate: ":com.android.virt.certificate", // crosvm and virtualizationservice are only enabled for 64-bit targets on device arch: { arm64: { binaries: [ "crosvm", "virtualizationservice", ], filesystems: [ "microdroid_super", "microdroid_boot-5.10", "microdroid_vendor_boot-5.10", "microdroid_vbmeta", "microdroid_vbmeta_system", ], }, x86_64: { binaries: [ "crosvm", "virtualizationservice", ], filesystems: [ "microdroid_super", "microdroid_boot-5.10", "microdroid_vendor_boot-5.10", "microdroid_vbmeta", "microdroid_vbmeta_system", ], }, }, binaries: [ "fd_server", "vm", ], java_libs: [ "android.system.virtualmachine", ], apps: [ "android.system.virtualmachine.res", ], prebuilts: [ "com.android.virt.init.rc", "microdroid.json", "microdroid_uboot_env", "microdroid_bootloader", "microdroid_bootconfig_debug", ], file_contexts: ":com.android.virt-file_contexts", } 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", } prebuilt_etc { name: "com.android.virt.init.rc", src: "virtualizationservice.rc", filename: "init.rc", }