1// This file is generated by cargo2android.py --run --device --tests --dependencies --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_library {
14    name: "liblinux_input_sys",
15    defaults: ["crosvm_defaults"],
16    host_supported: true,
17    crate_name: "linux_input_sys",
18    srcs: ["src/lib.rs"],
19    edition: "2018",
20    rustlibs: [
21        "libbase_rust",
22        "libdata_model",
23        "liblibc",
24    ],
25}
26
27rust_defaults {
28    name: "linux_input_sys_defaults",
29    defaults: ["crosvm_defaults"],
30    crate_name: "linux_input_sys",
31    srcs: ["src/lib.rs"],
32    test_suites: ["general-tests"],
33    auto_gen_config: true,
34    edition: "2018",
35    rustlibs: [
36        "libbase_rust",
37        "libdata_model",
38        "liblibc",
39    ],
40}
41
42rust_test_host {
43    name: "linux_input_sys_host_test_src_lib",
44    defaults: ["linux_input_sys_defaults"],
45    test_options: {
46        unit_test: true,
47    },
48}
49
50rust_test {
51    name: "linux_input_sys_device_test_src_lib",
52    defaults: ["linux_input_sys_defaults"],
53}
54
55// dependent_library ["feature_list"]
56//   ../assertions/src/lib.rs
57//   ../base/src/lib.rs
58//   ../cros_async/src/lib.rs
59//   ../data_model/src/lib.rs
60//   ../io_uring/src/lib.rs
61//   ../sync/src/lib.rs
62//   ../sys_util/poll_token_derive/poll_token_derive.rs
63//   ../sys_util/src/lib.rs
64//   ../tempfile/src/lib.rs
65//   async-task-4.0.3 "default,std"
66//   async-trait-0.1.50
67//   autocfg-1.0.1
68//   futures-0.3.14 "alloc"
69//   futures-channel-0.3.14 "alloc,futures-sink,sink"
70//   futures-core-0.3.14 "alloc"
71//   futures-io-0.3.14
72//   futures-sink-0.3.14 "alloc"
73//   futures-task-0.3.14 "alloc"
74//   futures-util-0.3.14 "alloc,futures-sink,sink"
75//   intrusive-collections-0.9.0 "alloc,default"
76//   itoa-0.4.7
77//   libc-0.2.93 "default,std"
78//   memoffset-0.5.6 "default"
79//   paste-1.0.5
80//   pin-project-lite-0.2.6
81//   pin-utils-0.1.0
82//   proc-macro2-1.0.26 "default,proc-macro"
83//   quote-1.0.9 "default,proc-macro"
84//   ryu-1.0.5
85//   serde-1.0.125 "default,derive,serde_derive,std"
86//   serde_derive-1.0.125 "default"
87//   serde_json-1.0.64 "default,std"
88//   slab-0.4.3 "default,std"
89//   smallvec-1.6.1
90//   syn-1.0.70 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit-mut"
91//   thiserror-1.0.24
92//   thiserror-impl-1.0.24
93//   unicode-xid-0.2.1 "default"
94