• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --run --device --tests --global_defaults=crosvm_defaults --add_workspace.
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_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        "libcrossbeam_utils",
31        "libdata_model",
32        "liblibc",
33        "libthiserror",
34    ],
35    proc_macros: [
36        "libenumn",
37        "libremain",
38    ],
39}
40
41rust_library {
42    name: "libfuse_rust",
43    defaults: ["crosvm_defaults"],
44    stem: "libfuse",
45    host_supported: true,
46    crate_name: "fuse",
47    cargo_env_compat: true,
48    cargo_pkg_version: "0.1.0",
49    srcs: ["src/lib.rs"],
50    edition: "2021",
51    rustlibs: [
52        "libbase_rust",
53        "libbitflags",
54        "libcrossbeam_utils",
55        "libdata_model",
56        "liblibc",
57        "libthiserror",
58    ],
59    proc_macros: [
60        "libenumn",
61        "libremain",
62    ],
63}
64