• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --config cargo2android.json.
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: "io_uring_test_src_lib",
15    defaults: ["crosvm_defaults"],
16    host_supported: true,
17    crate_name: "io_uring",
18    cargo_env_compat: true,
19    cargo_pkg_version: "0.1.1",
20    srcs: ["src/lib.rs"],
21    test_suites: ["general-tests"],
22    auto_gen_config: true,
23    test_options: {
24        unit_test: false,
25    },
26    edition: "2021",
27    rustlibs: [
28        "libbase_rust",
29        "libdata_model",
30        "liblibc",
31        "libsync_rust",
32        "libtempfile",
33        "libthiserror",
34    ],
35    proc_macros: ["libremain"],
36}
37
38rust_library {
39    name: "libio_uring",
40    defaults: ["crosvm_defaults"],
41    host_supported: true,
42    crate_name: "io_uring",
43    cargo_env_compat: true,
44    cargo_pkg_version: "0.1.1",
45    srcs: ["src/lib.rs"],
46    edition: "2021",
47    rustlibs: [
48        "libbase_rust",
49        "libdata_model",
50        "liblibc",
51        "libsync_rust",
52        "libthiserror",
53    ],
54    proc_macros: ["libremain"],
55}
56