blob: eb9b8f9f5f8c11dbd910bc3d07c1b1df0c8794d2 [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: ["system_cros-codecs_license"],
// TODO(b/374841646): This is a temporary assignment.
default_team: "trendy_team_arc_next",
}
license {
name: "system_cros-codecs_license",
visibility: [":__subpackages__"],
license_kinds: ["SPDX-license-identifier-BSD-3-Clause"],
license_text: ["LICENSE"],
}
rust_library {
name: "libcros_codecs",
crate_name: "cros_codecs",
cargo_env_compat: true,
cargo_pkg_version: "0.0.5",
crate_root: "src/lib.rs",
edition: "2021",
rustlibs: ["liblog_rust"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
// TODO(b/382119688): Remove this.
lints: "none",
product_available: true,
vendor_available: true,
aliases: ["cros_libva:libva"],
arch: {
x86_64: {
features: ["vaapi"],
rustlibs: [
"libanyhow",
"libbyteorder",
"libthiserror",
"libcrc32fast",
"libnix",
"libcros_libva",
],
},
arm64: {
rustlibs: [
"libanyhow",
"libbyteorder",
"libthiserror",
"libcrc32fast",
"libnix",
"libv4l2r",
],
features: ["v4l2"],
},
},
}