Bob Badour | bd1037f | 2021-02-12 15:54:17 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
David Brazdil | 3f0f1e8 | 2023-01-12 16:18:43 +0000 | [diff] [blame] | 5 | rust_binary { |
| 6 | name: "virtualizationservice", |
Andrew Walbran | f6bf686 | 2021-05-21 12:41:13 +0000 | [diff] [blame] | 7 | crate_name: "virtualizationservice", |
Alan Stokes | 6472ccd | 2022-08-31 13:41:28 +0100 | [diff] [blame] | 8 | edition: "2021", |
David Brazdil | 3f0f1e8 | 2023-01-12 16:18:43 +0000 | [diff] [blame] | 9 | srcs: ["src/main.rs"], |
Andrew Walbran | dfc953d | 2021-06-10 13:59:56 +0000 | [diff] [blame] | 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 | }, |
Jiyong Park | 26bdf44 | 2021-04-05 16:04:49 +0900 | [diff] [blame] | 21 | prefer_rlib: true, |
Andrew Walbran | b12a43e | 2020-11-10 14:22:42 +0000 | [diff] [blame] | 22 | rustlibs: [ |
Alan Stokes | 2bead0d | 2022-09-05 16:58:34 +0100 | [diff] [blame] | 23 | "android.system.virtualizationcommon-rust", |
Andrew Walbran | f6bf686 | 2021-05-21 12:41:13 +0000 | [diff] [blame] | 24 | "android.system.virtualizationservice-rust", |
David Brazdil | 528e047 | 2022-10-10 15:06:02 +0100 | [diff] [blame] | 25 | "android.system.virtualizationservice_internal-rust", |
Inseob Kim | 1b95f2e | 2021-08-19 13:17:40 +0900 | [diff] [blame] | 26 | "android.system.virtualmachineservice-rust", |
Jiyong Park | 753553b | 2021-07-12 21:21:09 +0900 | [diff] [blame] | 27 | "android.os.permissions_aidl-rust", |
Andrew Walbran | bf1fb04 | 2021-03-15 16:54:09 +0000 | [diff] [blame] | 28 | "libandroid_logger", |
Andrew Walbran | b12a43e | 2020-11-10 14:22:42 +0000 | [diff] [blame] | 29 | "libanyhow", |
Jiyong Park | d7bd2f2 | 2023-08-10 20:41:19 +0900 | [diff] [blame] | 30 | "libavflog", |
Inseob Kim | 1b95f2e | 2021-08-19 13:17:40 +0900 | [diff] [blame] | 31 | "libbinder_rs", |
David Brazdil | a07a179 | 2022-10-25 13:37:57 +0100 | [diff] [blame] | 32 | "liblibc", |
Andrew Walbran | 3a5a921 | 2021-05-04 17:09:08 +0000 | [diff] [blame] | 33 | "liblog_rust", |
Andrew Walbran | b27681f | 2022-02-23 15:11:52 +0000 | [diff] [blame] | 34 | "libnix", |
Jiyong Park | d50a024 | 2021-09-16 21:00:14 +0900 | [diff] [blame] | 35 | "librustutils", |
Jiyong Park | f4883fc | 2023-08-10 14:37:46 +0900 | [diff] [blame] | 36 | "libvmclient", |
Treehugger Robot | 3ffa832 | 2021-11-22 12:06:47 +0000 | [diff] [blame] | 37 | "libstatslog_virtualization_rust", |
Shikha Panwar | 7afc139 | 2022-03-24 08:54:43 +0000 | [diff] [blame] | 38 | "libtombstoned_client_rust", |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 39 | "libvsock", |
David Brazdil | 1f53070 | 2022-10-03 12:18:10 +0100 | [diff] [blame] | 40 | ], |
Jiyong Park | 8d1eb7e | 2021-02-16 13:23:00 +0900 | [diff] [blame] | 41 | apex_available: ["com.android.virt"], |
Andrew Walbran | b12a43e | 2020-11-10 14:22:42 +0000 | [diff] [blame] | 42 | } |