Andrew Walbran | 0c4d3df | 2021-05-27 14:00:42 +0000 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_library { |
Jooyung Han | fc732f5 | 2021-06-26 02:54:20 +0900 | [diff] [blame] | 6 | name: "libvmconfig", |
| 7 | crate_name: "vmconfig", |
Nikita Ioffe | da1b273 | 2023-09-04 13:46:56 +0100 | [diff] [blame] | 8 | defaults: ["avf_build_flags_rust"], |
Andrew Walbran | 0c4d3df | 2021-05-27 14:00:42 +0000 | [diff] [blame] | 9 | srcs: ["src/lib.rs"], |
Alan Stokes | 6472ccd | 2022-08-31 13:41:28 +0100 | [diff] [blame] | 10 | edition: "2021", |
Andrew Walbran | 0c4d3df | 2021-05-27 14:00:42 +0000 | [diff] [blame] | 11 | rustlibs: [ |
Jooyung Han | fc732f5 | 2021-06-26 02:54:20 +0900 | [diff] [blame] | 12 | "android.system.virtualizationservice-rust", |
| 13 | "libanyhow", |
Jiyong Park | dcf1741 | 2022-02-08 15:07:23 +0900 | [diff] [blame] | 14 | "libsemver", |
Andrew Walbran | 0c4d3df | 2021-05-27 14:00:42 +0000 | [diff] [blame] | 15 | "libserde", |
Jiyong Park | dcf1741 | 2022-02-08 15:07:23 +0900 | [diff] [blame] | 16 | "libserde_json", |
Jiyong Park | 3f9b509 | 2024-07-10 13:38:29 +0900 | [diff] [blame] | 17 | "libuuid", |
Andrew Walbran | 0c4d3df | 2021-05-27 14:00:42 +0000 | [diff] [blame] | 18 | ], |
| 19 | apex_available: [ |
| 20 | "com.android.virt", |
| 21 | ], |
| 22 | } |