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