blob: efbb7b551fd65fa8934e43806509cb62fd32a7e6 [file] [log] [blame]
Inseob Kimbdca0472023-07-28 19:20:56 +09001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_binary {
6 name: "vfio_handler",
7 crate_name: "vfio_handler",
8 edition: "2021",
9 srcs: ["src/main.rs"],
10 // Only build on targets which crosvm builds on.
11 enabled: false,
12 target: {
13 android64: {
14 compile_multilib: "64",
15 enabled: true,
16 },
17 linux_bionic_arm64: {
18 enabled: true,
19 },
20 },
21 prefer_rlib: true,
22 rustlibs: [
23 "android.system.virtualizationservice_internal-rust",
24 "libandroid_logger",
25 "libbinder_rs",
26 "liblog_rust",
27 "libnix",
28 "liblazy_static",
29 ],
30 apex_available: ["com.android.virt"],
31}