• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file as changes will be overridden on upgrade.
3
4package {
5    // See: http://go/android-license-faq
6    // A large-scale-change added 'default_applicable_licenses' to import
7    // all of the 'license_kinds' from "external_crosvm_license"
8    // to get the below license kinds:
9    //   SPDX-license-identifier-BSD
10    default_applicable_licenses: ["external_crosvm_license"],
11}
12
13rust_test {
14    name: "fuse_test_src_lib",
15    defaults: ["crosvm_inner_defaults"],
16    host_supported: true,
17    crate_name: "fuse",
18    cargo_env_compat: true,
19    cargo_pkg_version: "0.1.0",
20    srcs: ["src/lib.rs"],
21    test_suites: ["general-tests"],
22    auto_gen_config: true,
23    test_options: {
24        unit_test: true,
25    },
26    edition: "2021",
27    rustlibs: [
28        "libbase_rust",
29        "libbitflags",
30        "libcros_tracing",
31        "libcrossbeam_utils",
32        "libdata_model",
33        "liblibc",
34        "libthiserror",
35        "libzerocopy",
36    ],
37    proc_macros: [
38        "libenumn",
39        "libremain",
40    ],
41}
42
43rust_library {
44    name: "libfuse_rust",
45    defaults: ["crosvm_inner_defaults"],
46    stem: "libfuse",
47    host_supported: true,
48    crate_name: "fuse",
49    cargo_env_compat: true,
50    cargo_pkg_version: "0.1.0",
51    srcs: ["src/lib.rs"],
52    edition: "2021",
53    rustlibs: [
54        "libbase_rust",
55        "libbitflags",
56        "libcros_tracing",
57        "libcrossbeam_utils",
58        "libdata_model",
59        "liblibc",
60        "libthiserror",
61        "libzerocopy",
62    ],
63    proc_macros: [
64        "libenumn",
65        "libremain",
66    ],
67    visibility: [
68        "//packages/modules/Virtualization/authfs",
69        "//packages/modules/Virtualization/zipfuse",
70    ],
71}
72