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