You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
3.0 KiB

// This file is generated by cargo2android.py --run --device --tests --dependencies --global_defaults=crosvm_defaults --add_workspace.
// Do not modify this file as changes will be overridden on upgrade.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_crosvm_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
default_applicable_licenses: ["external_crosvm_license"],
}
rust_defaults {
name: "kernel_loader_defaults",
defaults: ["crosvm_defaults"],
crate_name: "kernel_loader",
srcs: ["src/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2018",
rustlibs: [
"libbase_rust",
"liblibc",
"libtempfile",
"libvm_memory",
],
}
rust_test_host {
name: "kernel_loader_host_test_src_lib",
defaults: ["kernel_loader_defaults"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "kernel_loader_device_test_src_lib",
defaults: ["kernel_loader_defaults"],
}
rust_library {
name: "libkernel_loader",
defaults: ["crosvm_defaults"],
host_supported: true,
crate_name: "kernel_loader",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
"libbase_rust",
"liblibc",
"libtempfile",
"libvm_memory",
],
}
// dependent_library ["feature_list"]
// ../assertions/src/lib.rs
// ../base/src/lib.rs
// ../cros_async/src/lib.rs
// ../data_model/src/lib.rs
// ../io_uring/src/lib.rs
// ../sync/src/lib.rs
// ../sys_util/poll_token_derive/poll_token_derive.rs
// ../sys_util/src/lib.rs
// ../tempfile/src/lib.rs
// ../vm_memory/src/lib.rs
// async-task-4.0.3 "default,std"
// async-trait-0.1.50
// autocfg-1.0.1
// bitflags-1.2.1 "default"
// cfg-if-1.0.0
// futures-0.3.14 "alloc"
// futures-channel-0.3.14 "alloc,futures-sink,sink"
// futures-core-0.3.14 "alloc"
// futures-io-0.3.14
// futures-sink-0.3.14 "alloc"
// futures-task-0.3.14 "alloc"
// futures-util-0.3.14 "alloc,futures-sink,sink"
// getrandom-0.2.2 "std"
// intrusive-collections-0.9.0 "alloc,default"
// itoa-0.4.7
// libc-0.2.93 "default,std"
// memoffset-0.5.6 "default"
// paste-1.0.5
// pin-project-lite-0.2.6
// pin-utils-0.1.0
// ppv-lite86-0.2.10 "simd,std"
// proc-macro2-1.0.26 "default,proc-macro"
// quote-1.0.9 "default,proc-macro"
// rand-0.8.3 "alloc,default,getrandom,libc,rand_chacha,rand_hc,std,std_rng"
// rand_chacha-0.3.0 "std"
// rand_core-0.6.2 "alloc,getrandom,std"
// remove_dir_all-0.5.3
// ryu-1.0.5
// serde-1.0.125 "default,derive,serde_derive,std"
// serde_derive-1.0.125 "default"
// serde_json-1.0.64 "default,std"
// slab-0.4.3 "default,std"
// smallvec-1.6.1
// syn-1.0.70 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit-mut"
// tempfile-3.2.0
// thiserror-1.0.24
// thiserror-impl-1.0.24
// unicode-xid-0.2.1 "default"