• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --run --device --tests --dependencies --global_defaults=crosvm_defaults.
2
3package {
4    default_applicable_licenses: ["external_libchromeos-rs_license"],
5}
6
7// Added automatically by a large-scale-change
8// See: http://go/android-license-faq
9license {
10    name: "external_libchromeos-rs_license",
11    visibility: [":__subpackages__"],
12    license_kinds: [
13        "SPDX-license-identifier-BSD",
14    ],
15    license_text: [
16        "LICENSE",
17    ],
18}
19
20rust_defaults {
21    name: "libchromeos-rs_defaults",
22    defaults: ["crosvm_defaults"],
23    crate_name: "libchromeos",
24    srcs: ["src/lib.rs"],
25    test_suites: ["general-tests"],
26    auto_gen_config: true,
27    edition: "2018",
28    rustlibs: [
29        "libdata_model",
30        "libfutures",
31        "libfutures_executor",
32        "libfutures_util",
33        "libintrusive_collections",
34        "liblibc",
35        "liblog_rust",
36        "libprotobuf",
37    ],
38}
39
40rust_test_host {
41    name: "libchromeos-rs_host_test_src_lib",
42    defaults: ["libchromeos-rs_defaults"],
43}
44
45rust_test {
46    name: "libchromeos-rs_device_test_src_lib",
47    defaults: ["libchromeos-rs_defaults"],
48}
49
50rust_library {
51    name: "liblibchromeos",
52    defaults: ["crosvm_defaults"],
53    host_supported: true,
54    crate_name: "libchromeos",
55    srcs: ["src/lib.rs"],
56    edition: "2018",
57    rustlibs: [
58        "libdata_model",
59        "libfutures",
60        "libintrusive_collections",
61        "liblibc",
62        "liblog_rust",
63        "libprotobuf",
64    ],
65}
66
67// dependent_library ["feature_list"]
68//   ../crosvm/assertions/src/lib.rs
69//   ../crosvm/data_model/src/lib.rs
70//   autocfg-1.0.1
71//   cfg-if-0.1.10
72//   futures-0.3.9 "alloc,async-await,default,executor,futures-executor,std"
73//   futures-channel-0.3.9 "alloc,futures-sink,sink,std"
74//   futures-core-0.3.9 "alloc,std"
75//   futures-executor-0.3.9 "default,num_cpus,std,thread-pool"
76//   futures-io-0.3.9 "std"
77//   futures-macro-0.3.9
78//   futures-sink-0.3.9 "alloc,std"
79//   futures-task-0.3.9 "alloc,once_cell,std"
80//   futures-util-0.3.9 "alloc,async-await,async-await-macro,channel,default,futures-channel,futures-io,futures-macro,futures-sink,io,memchr,proc-macro-hack,proc-macro-nested,sink,slab,std"
81//   intrusive-collections-0.9.0 "alloc,default"
82//   libc-0.2.82 "default,std"
83//   log-0.4.11
84//   memchr-2.3.4 "default,std"
85//   memoffset-0.5.6 "default"
86//   num_cpus-1.13.0
87//   once_cell-1.5.2 "alloc,std"
88//   pin-project-lite-0.2.1
89//   pin-utils-0.1.0
90//   proc-macro-hack-0.5.19
91//   proc-macro-nested-0.1.6
92//   proc-macro2-1.0.24 "default,proc-macro"
93//   protobuf-2.20.0
94//   quote-1.0.8 "default,proc-macro"
95//   slab-0.4.2
96//   syn-1.0.58 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote"
97//   unicode-xid-0.2.1 "default"
98