blob: 9c9e068a1c7d4fc7528dacfe2d7daf0fac746ee4 [file] [log] [blame] [edit]
// This file is generated by cargo_embargo.
// Do not modify this file because the changes will be overridden on upgrade.
package {
default_applicable_licenses: ["external_rust_crates_v4l2r_license"],
}
rust_library {
name: "libv4l2r_ffi",
host_supported: true,
crate_name: "v4l2r_ffi",
cargo_env_compat: true,
cargo_pkg_version: "0.0.1",
crate_root: "src/lib.rs",
edition: "2021",
features: [
"default",
"env_logger",
"linux",
],
rustlibs: [
"libanyhow",
"libenv_logger",
"liblog_rust",
"libnix",
"libv4l2r",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
product_available: true,
vendor_available: true,
}
rust_ffi_static {
name: "libv4l2r_ffi_static",
host_supported: true,
crate_name: "v4l2r_ffi",
cargo_env_compat: true,
cargo_pkg_version: "0.0.1",
crate_root: "src/lib.rs",
edition: "2021",
features: [
"default",
"env_logger",
"linux",
],
rustlibs: [
"libanyhow",
"libenv_logger",
"liblog_rust",
"libnix",
"libv4l2r",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
product_available: true,
vendor_available: true,
}
rust_test {
name: "v4l2r-ffi_test_src_lib",
host_supported: true,
crate_name: "v4l2r_ffi",
cargo_env_compat: true,
cargo_pkg_version: "0.0.1",
crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
unit_test: true,
},
edition: "2021",
features: [
"default",
"env_logger",
"linux",
],
rustlibs: [
"libanyhow",
"libenv_logger",
"liblog_rust",
"libnix",
"libv4l2r",
],
}