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_virtio-drivers_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_virtio-drivers_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_library_rlib {
17    name: "libvirtio_drivers",
18    crate_name: "virtio_drivers",
19    cargo_env_compat: true,
20    cargo_pkg_version: "0.7.4",
21    crate_root: "src/lib.rs",
22    edition: "2018",
23    features: ["alloc"],
24    rustlibs: [
25        "libbitflags",
26        "liblog_rust_nostd",
27        "libzerocopy_nostd",
28    ],
29    apex_available: [
30        "//apex_available:platform",
31        "//apex_available:anyapex",
32    ],
33    prefer_rlib: true,
34    no_stdlibs: true,
35    stdlibs: [
36        "libcompiler_builtins.rust_sysroot",
37        "libcore.rust_sysroot",
38    ],
39}
40
41rust_test {
42    name: "virtio-drivers_test_src_lib",
43    crate_name: "virtio_drivers",
44    cargo_env_compat: true,
45    cargo_pkg_version: "0.7.4",
46    crate_root: "src/lib.rs",
47    test_suites: ["general-tests"],
48    auto_gen_config: true,
49    edition: "2018",
50    features: ["alloc"],
51    rustlibs: [
52        "libbitflags",
53        "liblog_rust",
54        "libzerocopy_nostd",
55    ],
56}
57
58dirgroup {
59    name: "trusty_dirgroup_external_rust_crates_virtio-drivers",
60    visibility: ["//trusty/vendor/google/aosp/scripts"],
61    dirs: ["."],
62}
63