• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --config cargo2android.json.
2// Do not modify this file as changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_zip_license"],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11    name: "external_rust_crates_zip_license",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-MIT",
15    ],
16    license_text: [
17        "LICENSE",
18    ],
19}
20
21rust_library {
22    name: "libzip",
23    // has rustc warnings
24    host_supported: true,
25    crate_name: "zip",
26    cargo_env_compat: true,
27    cargo_pkg_version: "0.6.4",
28    srcs: ["src/lib.rs"],
29    edition: "2018",
30    features: [
31        "deflate-zlib",
32        "flate2",
33    ],
34    rustlibs: [
35        "libbyteorder",
36        "libcrc32fast",
37        "libflate2",
38    ],
39    apex_available: [
40        "//apex_available:platform",
41        "com.android.virt",
42    ],
43    product_available: true,
44    vendor_available: true,
45    arch: {
46        arm: {
47            rustlibs: ["libcrossbeam_utils"],
48        },
49    },
50}
51