• 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: "cros_async_test_src_lib",
15    defaults: ["crosvm_defaults"],
16    host_supported: true,
17    crate_name: "cros_async",
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        "libanyhow",
29        "libasync_task",
30        "libaudio_streams",
31        "libbase_rust",
32        "libdata_model",
33        "libfutures",
34        "libfutures_executor",
35        "libfutures_util",
36        "libintrusive_collections",
37        "libio_uring",
38        "liblibc",
39        "libonce_cell",
40        "libpin_utils",
41        "libserde",
42        "libslab",
43        "libsync_rust",
44        "libtempfile",
45        "libthiserror",
46    ],
47    proc_macros: [
48        "libasync_trait",
49        "libpaste",
50        "libremain",
51    ],
52}
53
54rust_library {
55    name: "libcros_async",
56    defaults: ["crosvm_defaults"],
57    host_supported: true,
58    crate_name: "cros_async",
59    cargo_env_compat: true,
60    cargo_pkg_version: "0.1.1",
61    srcs: ["src/lib.rs"],
62    edition: "2021",
63    rustlibs: [
64        "libanyhow",
65        "libasync_task",
66        "libaudio_streams",
67        "libbase_rust",
68        "libdata_model",
69        "libfutures",
70        "libintrusive_collections",
71        "libio_uring",
72        "liblibc",
73        "libonce_cell",
74        "libpin_utils",
75        "libserde",
76        "libslab",
77        "libsync_rust",
78        "libthiserror",
79    ],
80    proc_macros: [
81        "libasync_trait",
82        "libpaste",
83        "libremain",
84    ],
85}
86