aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: e5b607d3f48dbd61395b1dc22e34563e47626e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// This file is generated by cargo2android.py --run --device --dependencies --features=deflate-zlib.
// Do not modify this file as changes will be overridden on upgrade.

package {
    default_applicable_licenses: ["external_rust_crates_zip_license"],
}

// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
    name: "external_rust_crates_zip_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-MIT",
    ],
    license_text: [
        "LICENSE",
    ],
}

rust_library {
    name: "libzip",
    host_supported: true,
    crate_name: "zip",
    srcs: ["src/lib.rs"],
    edition: "2018",
    features: [
        "deflate-zlib",
        "flate2",
    ],
    rustlibs: [
        "libbyteorder",
        "libcrc32fast",
        "libflate2",
        "libthiserror",
    ],
}

// dependent_library ["feature_list"]
//   byteorder-1.4.3 "default,std"
//   cc-1.0.67
//   cfg-if-0.1.10
//   cfg-if-1.0.0
//   crc32fast-1.2.1 "default,std"
//   flate2-1.0.14 "any_zlib,libz-sys,zlib"
//   libc-0.2.94 "default,std"
//   libz-sys-1.1.3 "default,libc,stock-zlib"
//   pkg-config-0.3.19
//   proc-macro2-1.0.26 "default,proc-macro"
//   quote-1.0.9 "default,proc-macro"
//   syn-1.0.72 "clone-impls,default,derive,parsing,printing,proc-macro,quote"
//   thiserror-1.0.24
//   thiserror-impl-1.0.24
//   unicode-xid-0.2.2 "default"