aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patches/Android.bp.patch96
1 files changed, 84 insertions, 12 deletions
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch
index 03e8060..7bf2239 100644
--- a/patches/Android.bp.patch
+++ b/patches/Android.bp.patch
@@ -1,42 +1,114 @@
---- Android.bp 2023-11-10 17:11:23.235848680 +0000
-+++ Android.bp.new 2023-11-10 17:11:11.483678524 +0000
-@@ -39,7 +39,6 @@
+diff --git a/Android.bp b/Android.bp
+index 0c440d4..72a7bfe 100644
+--- a/Android.bp
++++ b/Android.bp
+@@ -34,21 +34,20 @@ license {
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE-APACHE",
+ "LICENSE-MIT",
+ ],
+ }
rust_test {
name: "flate2_test_src_lib",
- host_supported: true,
crate_name: "flate2",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.25",
-@@ -65,7 +64,6 @@
+ cargo_pkg_version: "1.0.28",
+ crate_root: "src/lib.rs",
+ test_suites: ["general-tests"],
+ auto_gen_config: true,
+ test_options: {
+ unit_test: true,
+ },
+ edition: "2018",
+@@ -61,21 +60,20 @@ rust_test {
+ rustlibs: [
+ "libcrc32fast",
+ "liblibz_sys",
+ "libquickcheck",
+ "librand",
+ ],
+ }
rust_test {
name: "flate2_test_tests_early-flush",
- host_supported: true,
crate_name: "early_flush",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.25",
-@@ -92,7 +90,6 @@
+ cargo_pkg_version: "1.0.28",
+ crate_root: "tests/early-flush.rs",
+ test_suites: ["general-tests"],
+ auto_gen_config: true,
+ test_options: {
+ unit_test: true,
+ },
+ edition: "2018",
+@@ -89,21 +87,20 @@ rust_test {
+ "libcrc32fast",
+ "libflate2",
+ "liblibz_sys",
+ "libquickcheck",
+ "librand",
+ ],
+ }
rust_test {
name: "flate2_test_tests_empty-read",
- host_supported: true,
crate_name: "empty_read",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.25",
-@@ -119,7 +116,6 @@
+ cargo_pkg_version: "1.0.28",
+ crate_root: "tests/empty-read.rs",
+ test_suites: ["general-tests"],
+ auto_gen_config: true,
+ test_options: {
+ unit_test: true,
+ },
+ edition: "2018",
+@@ -117,21 +114,20 @@ rust_test {
+ "libcrc32fast",
+ "libflate2",
+ "liblibz_sys",
+ "libquickcheck",
+ "librand",
+ ],
+ }
rust_test {
name: "flate2_test_tests_gunzip",
- host_supported: true,
crate_name: "gunzip",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.25",
-@@ -153,7 +149,6 @@
+ cargo_pkg_version: "1.0.28",
+ crate_root: "tests/gunzip.rs",
+ test_suites: ["general-tests"],
+ auto_gen_config: true,
+ test_options: {
+ unit_test: true,
+ },
+ edition: "2018",
+@@ -152,21 +148,20 @@ rust_test {
+ "tests/corrupt-gz-file.bin",
+ "tests/good-file.gz",
+ "tests/good-file.txt",
+ "tests/multi.gz",
+ "tests/multi.txt",
+ ],
+ }
rust_test {
name: "flate2_test_tests_zero-write",
- host_supported: true,
crate_name: "zero_write",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.25",
+ cargo_pkg_version: "1.0.28",
+ crate_root: "tests/zero-write.rs",
+ test_suites: ["general-tests"],
+ auto_gen_config: true,
+ test_options: {
+ unit_test: true,
+ },
+ edition: "2018",