1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_vmm-sys-util_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_vmm-sys-util_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-BSD-3-Clause"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libvmm_sys_util",
18    host_supported: true,
19    crate_name: "vmm_sys_util",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.12.1",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    rustlibs: [
25        "libbitflags-1.3.2",
26        "liblibc",
27    ],
28    apex_available: [
29        "//apex_available:platform",
30        "//apex_available:anyapex",
31    ],
32    product_available: true,
33    vendor_available: true,
34}
35
36rust_test {
37    name: "vmm-sys-util_test_src_lib",
38    host_supported: true,
39    crate_name: "vmm_sys_util",
40    cargo_env_compat: true,
41    cargo_pkg_version: "0.12.1",
42    crate_root: "src/lib.rs",
43    test_suites: ["general-tests"],
44    auto_gen_config: true,
45    test_options: {
46        unit_test: true,
47    },
48    edition: "2021",
49    rustlibs: [
50        "libbincode",
51        "libbitflags-1.3.2",
52        "liblibc",
53        "libserde_json",
54    ],
55}
56