• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file after the first "rust_*" or "genrule" module
3// because the changes will be overridden on upgrade.
4// Content before the first "rust_*" or "genrule" module is preserved.
5
6package {
7    default_applicable_licenses: ["external_rust_crates_ciborium_license"],
8}
9
10// Added automatically by a large-scale-change
11// See: http://go/android-license-faq
12license {
13    name: "external_rust_crates_ciborium_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-Apache-2.0",
17    ],
18    license_text: [
19        "LICENSE",
20    ],
21}
22
23rust_library {
24    name: "libciborium",
25    host_supported: true,
26    crate_name: "ciborium",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.2.2",
29    crate_root: "src/lib.rs",
30    edition: "2021",
31    features: [
32        "default",
33        "std",
34    ],
35    rustlibs: [
36        "libciborium_io",
37        "libciborium_ll",
38        "libserde",
39    ],
40    apex_available: [
41        "//apex_available:platform",
42        "//apex_available:anyapex",
43    ],
44    product_available: true,
45    vendor_available: true,
46}
47
48rust_library_rlib {
49    name: "libciborium_nostd",
50    crate_name: "ciborium",
51    cargo_env_compat: true,
52    cargo_pkg_version: "0.2.2",
53    crate_root: "src/lib.rs",
54    edition: "2021",
55    rustlibs: [
56        "libciborium_io_nostd",
57        "libciborium_ll_nostd",
58        "libserde_nostd",
59    ],
60    apex_available: [
61        "//apex_available:platform",
62        "//apex_available:anyapex",
63    ],
64    prefer_rlib: true,
65    no_stdlibs: true,
66    stdlibs: [
67        "liballoc.rust_sysroot",
68        "libcompiler_builtins.rust_sysroot",
69        "libcore.rust_sysroot",
70    ],
71    product_available: true,
72    vendor_available: true,
73}
74