1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 // See: http://go/android-license-faq 8 // A large-scale-change added 'default_applicable_licenses' to import 9 // all of the 'license_kinds' from "external_crosvm_license" 10 // to get the below license kinds: 11 // SPDX-license-identifier-BSD 12 default_applicable_licenses: ["external_crosvm_license"], 13} 14 15rust_ffi_shared { 16 name: "libcrosvm_control_shared", 17 defaults: ["crosvm_defaults"], 18 host_supported: true, 19 crate_name: "crosvm_control", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.1.0", 22 crate_root: "src/lib.rs", 23 edition: "2021", 24 features: ["audio"], 25 rustlibs: [ 26 "libballoon_control", 27 "libbase_rust", 28 "liblibc", 29 "libswap", 30 "libvm_control", 31 ], 32 // The build.rs file compiles the generated C header just as a test, which 33 // tricks cargo_embargo into thinking there is a library dependency that 34 // doesn't actually exist. 35 // 36 // static_libs: ["libcrosvm_control_test"], 37 apex_available: ["com.android.virt"], 38} 39 40rust_ffi_static { 41 name: "libcrosvm_control_static", 42 defaults: ["crosvm_defaults"], 43 host_supported: true, 44 crate_name: "crosvm_control", 45 cargo_env_compat: true, 46 cargo_pkg_version: "0.1.0", 47 crate_root: "src/lib.rs", 48 edition: "2021", 49 features: ["audio"], 50 rustlibs: [ 51 "libballoon_control", 52 "libbase_rust", 53 "liblibc", 54 "libswap", 55 "libvm_control", 56 ], 57 // The build.rs file compiles the generated C header just as a test, which 58 // tricks cargo_embargo into thinking there is a library dependency that 59 // doesn't actually exist. 60 // 61 // static_libs: ["libcrosvm_control_test"], 62 apex_available: ["com.android.virt"], 63 visibility: ["//packages/modules/Virtualization/android/virtmgr"], 64} 65