aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiƩbaud Weksteen <tweek@google.com>2021-05-23 00:29:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-23 00:29:00 +0000
commitbcb848d2a86950ff2943c62b29a74a019caf16ef (patch)
treeef34c15fdec9b0fe81745d51d78e536c9c74a3e9
parent710beab0532ccece1055fb39c39509c17e68f6f3 (diff)
parentfb28744d4473b3c86a5017ca7044dd20bf1750a0 (diff)
downloadzip-android12L-dev.tar.gz
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/zip/+/14683433 Change-Id: I543ecda05d387c9d4bc598f3e815064cc1e97422
-rw-r--r--Android.bp17
-rw-r--r--TEST_MAPPING8
2 files changed, 22 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 4644343..e5b607d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies --features=.
+// 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 {
@@ -24,20 +24,31 @@ rust_library {
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.68 "clone-impls,default,derive,parsing,printing,proc-macro,quote"
+// 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.1 "default"
+// unicode-xid-0.2.2 "default"
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..d115d6f
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,8 @@
+// Generated by update_crate_tests.py for tests that depend on this crate.
+{
+ "presubmit": [
+ {
+ "name": "ZipFuseTest"
+ }
+ ]
+}