blob: 7921124c109d994811552dda5555c92e4f3a87b6 [file] [log] [blame]
// 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_pkcs1_license"],
default_team: "trendy_team_android_rust",
}
license {
name: "external_rust_crates_pkcs1_license",
visibility: [":__subpackages__"],
license_kinds: ["SPDX-license-identifier-Apache-2.0"],
license_text: ["LICENSE"],
}
rust_library {
name: "libpkcs1",
host_supported: true,
crate_name: "pkcs1",
cargo_env_compat: true,
cargo_pkg_version: "0.7.5",
crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",
"zeroize",
],
rustlibs: [
"libder",
"libspki",
],
apex_available: [
"//apex_available:platform",
"com.android.virt",
],
product_available: true,
vendor_available: true,
visibility: [
"//packages/modules/Virtualization:__subpackages__",
"//system/keymint:__subpackages__",
],
}
rust_library_rlib {
name: "libpkcs1_nostd",
crate_name: "pkcs1",
cargo_env_compat: true,
cargo_pkg_version: "0.7.5",
crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",
"zeroize",
],
rustlibs: [
"libder_nostd",
"libspki_nostd",
],
apex_available: [
"//apex_available:platform",
"com.android.virt",
],
prefer_rlib: true,
no_stdlibs: true,
stdlibs: [
"libcompiler_builtins.rust_sysroot",
"libcore.rust_sysroot",
],
product_available: true,
vendor_available: true,
visibility: [
"//packages/modules/Virtualization:__subpackages__",
"//system/keymint:__subpackages__",
],
}
dirgroup {
name: "trusty_dirgroup_external_rust_crates_pkcs1",
visibility: ["//trusty/vendor/google/aosp/scripts"],
dirs: ["."],
}