1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_x509-cert_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_x509-cert_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libx509_cert",
18    host_supported: true,
19    crate_name: "x509_cert",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.2.4",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    rustlibs: [
25        "libconst_oid",
26        "libder",
27        "libspki",
28    ],
29    apex_available: [
30        "//apex_available:platform",
31        "com.android.virt",
32    ],
33    product_available: true,
34    vendor_available: true,
35    visibility: [
36        "//packages/modules/Virtualization:__subpackages__",
37        "//system/keymint:__subpackages__",
38    ],
39}
40
41rust_library_rlib {
42    name: "libx509_cert_nostd",
43    crate_name: "x509_cert",
44    cargo_env_compat: true,
45    cargo_pkg_version: "0.2.4",
46    crate_root: "src/lib.rs",
47    edition: "2021",
48    rustlibs: [
49        "libconst_oid_nostd",
50        "libder_nostd",
51        "libspki_nostd",
52    ],
53    apex_available: [
54        "//apex_available:platform",
55        "com.android.virt",
56    ],
57    prefer_rlib: true,
58    no_stdlibs: true,
59    stdlibs: [
60        "libcompiler_builtins.rust_sysroot",
61        "libcore.rust_sysroot",
62    ],
63    product_available: true,
64    vendor_available: true,
65    visibility: [
66        "//packages/modules/Virtualization:__subpackages__",
67        "//system/keymint:__subpackages__",
68    ],
69}
70
71dirgroup {
72    name: "trusty_dirgroup_external_rust_crates_x509-cert",
73    visibility: ["//trusty/vendor/google/aosp/scripts"],
74    dirs: ["."],
75}
76