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_v4l2r_license"],
6}
7
8rust_library {
9    name: "libv4l2r_utils",
10    host_supported: true,
11    crate_name: "v4l2r_utils",
12    cargo_env_compat: true,
13    cargo_pkg_version: "0.0.1",
14    crate_root: "src/lib.rs",
15    edition: "2021",
16    rustlibs: [
17        "libanyhow",
18        "liblog_rust",
19        "libnix",
20        "libthiserror",
21        "libv4l2r",
22    ],
23    apex_available: [
24        "//apex_available:platform",
25        "//apex_available:anyapex",
26    ],
27    product_available: true,
28    vendor_available: true,
29}
30
31rust_test {
32    name: "v4l2r-utils_test_src_lib",
33    host_supported: true,
34    crate_name: "v4l2r_utils",
35    cargo_env_compat: true,
36    cargo_pkg_version: "0.0.1",
37    crate_root: "src/lib.rs",
38    test_suites: ["general-tests"],
39    auto_gen_config: true,
40    test_options: {
41        unit_test: true,
42    },
43    edition: "2021",
44    rustlibs: [
45        "libanyhow",
46        "liblog_rust",
47        "libnix",
48        "libthiserror",
49        "libv4l2r",
50    ],
51}
52