• 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_zip_license"],
8}
9
10// Added automatically by a large-scale-change
11// See: http://go/android-license-faq
12license {
13    name: "external_rust_crates_zip_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-MIT",
17    ],
18    license_text: [
19        "LICENSE",
20    ],
21}
22
23rust_library {
24    name: "libzip",
25    host_supported: true,
26    crate_name: "zip",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.6.6",
29    crate_root: "src/lib.rs",
30    edition: "2021",
31    features: [
32        "deflate-zlib",
33        "flate2",
34    ],
35    rustlibs: [
36        "libbyteorder",
37        "libcrc32fast",
38        "libflate2",
39    ],
40    apex_available: [
41        "//apex_available:platform",
42        "com.android.virt",
43    ],
44    product_available: true,
45    vendor_available: true,
46    arch: {
47        arm: {
48            rustlibs: ["libcrossbeam_utils"],
49        },
50    },
51}
52