Alice Wang | 0547e86 | 2023-04-18 09:32:26 +0000 | [diff] [blame^] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_library { |
| 6 | name: "libvsutil", |
| 7 | crate_name: "vsutil", |
| 8 | srcs: ["src/lib.rs"], |
| 9 | // Only build on targets which crosvm builds on. |
| 10 | enabled: false, |
| 11 | target: { |
| 12 | android64: { |
| 13 | compile_multilib: "64", |
| 14 | enabled: true, |
| 15 | }, |
| 16 | linux_bionic_arm64: { |
| 17 | enabled: true, |
| 18 | }, |
| 19 | }, |
| 20 | rustlibs: [ |
| 21 | "android.system.virtualizationservice-rust", |
| 22 | "libbinder_rs", |
| 23 | "libdisk", |
| 24 | ], |
| 25 | apex_available: ["com.android.virt"], |
| 26 | } |