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_defaults { 14 name: "io_uring_defaults", 15 defaults: ["crosvm_defaults"], 16 crate_name: "io_uring", 17 srcs: ["src/lib.rs"], 18 test_suites: ["general-tests"], 19 auto_gen_config: true, 20 edition: "2018", 21 rustlibs: [ 22 "libdata_model", 23 "liblibc", 24 "libsync_rust", 25 "libsys_util", 26 "libtempfile", 27 ], 28} 29 30rust_test_host { 31 name: "io_uring_host_test_src_lib", 32 defaults: ["io_uring_defaults"], 33 test_options: { 34 unit_test: true, 35 }, 36} 37 38rust_test { 39 name: "io_uring_device_test_src_lib", 40 defaults: ["io_uring_defaults"], 41} 42 43rust_library { 44 name: "libio_uring", 45 defaults: ["crosvm_defaults"], 46 host_supported: true, 47 crate_name: "io_uring", 48 srcs: ["src/lib.rs"], 49 edition: "2018", 50 rustlibs: [ 51 "libdata_model", 52 "liblibc", 53 "libsync_rust", 54 "libsys_util", 55 ], 56} 57 58// dependent_library ["feature_list"] 59// ../assertions/src/lib.rs 60// ../data_model/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// itoa-0.4.7 66// libc-0.2.93 "default,std" 67// proc-macro2-1.0.26 "default,proc-macro" 68// quote-1.0.9 "default,proc-macro" 69// ryu-1.0.5 70// serde-1.0.125 "default,derive,serde_derive,std" 71// serde_derive-1.0.125 "default" 72// serde_json-1.0.64 "default,std" 73// syn-1.0.70 "clone-impls,default,derive,parsing,printing,proc-macro,quote" 74// unicode-xid-0.2.1 "default" 75