Seungjae Yoo | 529d53c | 2024-05-14 14:36:18 +0900 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_binary { |
| 6 | name: "vmnic", |
| 7 | crate_name: "vmnic", |
| 8 | defaults: ["avf_build_flags_rust"], |
| 9 | edition: "2021", |
| 10 | srcs: ["src/main.rs"], |
| 11 | prefer_rlib: true, |
| 12 | rustlibs: [ |
| 13 | "android.system.virtualizationservice_internal-rust", |
| 14 | "libandroid_logger", |
| 15 | "libanyhow", |
| 16 | "libbinder_rs", |
Seungjae Yoo | 0a44266 | 2024-05-20 16:35:49 +0900 | [diff] [blame^] | 17 | "liblibc", |
Seungjae Yoo | 529d53c | 2024-05-14 14:36:18 +0900 | [diff] [blame] | 18 | "liblog_rust", |
Seungjae Yoo | 0a44266 | 2024-05-20 16:35:49 +0900 | [diff] [blame^] | 19 | "libnix", |
Seungjae Yoo | 529d53c | 2024-05-14 14:36:18 +0900 | [diff] [blame] | 20 | ], |
| 21 | apex_available: ["com.android.virt"], |
Seungjae Yoo | 529d53c | 2024-05-14 14:36:18 +0900 | [diff] [blame] | 22 | } |