// This file is generated by cargo2android.py --run --device --tests --dependencies --global_defaults=crosvm_defaults. package { default_applicable_licenses: ["external_vm_tools_p9_license"], } // Added automatically by a large-scale-change // See: http://go/android-license-faq license { name: "external_vm_tools_p9_license", visibility: [":__subpackages__"], license_kinds: [ "SPDX-license-identifier-BSD", ], license_text: [ "LICENSE", ], } rust_library { name: "libp9", defaults: ["crosvm_defaults"], host_supported: true, crate_name: "p9", srcs: ["src/lib.rs"], edition: "2018", rustlibs: [ "liblibc", "liblibchromeos", ], proc_macros: ["libwire_format_derive"], } rust_defaults { name: "p9_defaults", defaults: ["crosvm_defaults"], crate_name: "p9", srcs: ["src/lib.rs"], test_suites: ["general-tests"], auto_gen_config: true, edition: "2018", rustlibs: [ "liblibc", "liblibchromeos", ], proc_macros: ["libwire_format_derive"], } rust_test_host { name: "p9_host_test_src_lib", defaults: ["p9_defaults"], } rust_test { name: "p9_device_test_src_lib", defaults: ["p9_defaults"], } // dependent_library ["feature_list"] // ../../crosvm/assertions/src/lib.rs // ../../crosvm/data_model/src/lib.rs // ../../libchromeos-rs/src/lib.rs // autocfg-1.0.1 // cfg-if-0.1.10 // futures-0.3.9 "alloc" // futures-channel-0.3.9 "alloc,futures-sink,sink" // futures-core-0.3.9 "alloc" // futures-io-0.3.9 // futures-sink-0.3.9 "alloc" // futures-task-0.3.9 "alloc" // futures-util-0.3.9 "alloc,futures-sink,sink" // intrusive-collections-0.9.0 "alloc,default" // libc-0.2.82 "default,std" // log-0.4.11 // memoffset-0.5.6 "default" // pin-project-lite-0.2.1 // pin-utils-0.1.0 // proc-macro2-1.0.24 "default,proc-macro" // protobuf-2.20.0 // quote-1.0.8 "default,proc-macro" // syn-1.0.58 "clone-impls,default,derive,parsing,printing,proc-macro,quote" // unicode-xid-0.2.1 "default"