1// This file is generated by cargo_embargo. 2// Do not modify this file because the changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_flate2_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_flate2_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "flate2_test_src_lib", 18 crate_name: "flate2", 19 cargo_env_compat: true, 20 cargo_pkg_version: "1.0.35", 21 crate_root: "src/lib.rs", 22 test_suites: ["general-tests"], 23 auto_gen_config: true, 24 test_options: { 25 unit_test: true, 26 }, 27 edition: "2018", 28 features: [ 29 "any_impl", 30 "any_zlib", 31 "libz-sys", 32 "zlib", 33 ], 34 rustlibs: [ 35 "libcrc32fast", 36 "liblibz_sys", 37 "libquickcheck", 38 "librand", 39 ], 40} 41 42rust_test { 43 name: "flate2_test_tests_early-flush", 44 crate_name: "early_flush", 45 cargo_env_compat: true, 46 cargo_pkg_version: "1.0.35", 47 crate_root: "tests/early-flush.rs", 48 test_suites: ["general-tests"], 49 auto_gen_config: true, 50 test_options: { 51 unit_test: true, 52 }, 53 edition: "2018", 54 features: [ 55 "any_impl", 56 "any_zlib", 57 "libz-sys", 58 "zlib", 59 ], 60 rustlibs: [ 61 "libcrc32fast", 62 "libflate2", 63 "liblibz_sys", 64 "libquickcheck", 65 "librand", 66 ], 67} 68 69rust_test { 70 name: "flate2_test_tests_empty-read", 71 crate_name: "empty_read", 72 cargo_env_compat: true, 73 cargo_pkg_version: "1.0.35", 74 crate_root: "tests/empty-read.rs", 75 test_suites: ["general-tests"], 76 auto_gen_config: true, 77 test_options: { 78 unit_test: true, 79 }, 80 edition: "2018", 81 features: [ 82 "any_impl", 83 "any_zlib", 84 "libz-sys", 85 "zlib", 86 ], 87 rustlibs: [ 88 "libcrc32fast", 89 "libflate2", 90 "liblibz_sys", 91 "libquickcheck", 92 "librand", 93 ], 94} 95 96rust_test { 97 name: "flate2_test_tests_gunzip", 98 crate_name: "gunzip", 99 cargo_env_compat: true, 100 cargo_pkg_version: "1.0.35", 101 crate_root: "tests/gunzip.rs", 102 test_suites: ["general-tests"], 103 auto_gen_config: true, 104 test_options: { 105 unit_test: true, 106 }, 107 edition: "2018", 108 features: [ 109 "any_impl", 110 "any_zlib", 111 "libz-sys", 112 "zlib", 113 ], 114 rustlibs: [ 115 "libcrc32fast", 116 "libflate2", 117 "liblibz_sys", 118 "libquickcheck", 119 "librand", 120 ], 121 data: [ 122 "tests/corrupt-gz-file.bin", 123 "tests/good-file.gz", 124 "tests/good-file.txt", 125 "tests/multi.gz", 126 "tests/multi.txt", 127 ], 128} 129 130rust_test { 131 name: "flate2_test_tests_zero-write", 132 crate_name: "zero_write", 133 cargo_env_compat: true, 134 cargo_pkg_version: "1.0.35", 135 crate_root: "tests/zero-write.rs", 136 test_suites: ["general-tests"], 137 auto_gen_config: true, 138 test_options: { 139 unit_test: true, 140 }, 141 edition: "2018", 142 features: [ 143 "any_impl", 144 "any_zlib", 145 "libz-sys", 146 "zlib", 147 ], 148 rustlibs: [ 149 "libcrc32fast", 150 "libflate2", 151 "liblibz_sys", 152 "libquickcheck", 153 "librand", 154 ], 155} 156 157rust_library { 158 name: "libflate2", 159 host_supported: true, 160 crate_name: "flate2", 161 cargo_env_compat: true, 162 cargo_pkg_version: "1.0.35", 163 crate_root: "src/lib.rs", 164 edition: "2018", 165 features: [ 166 "any_impl", 167 "any_zlib", 168 "libz-sys", 169 "zlib", 170 ], 171 rustlibs: [ 172 "libcrc32fast", 173 "liblibz_sys", 174 ], 175 apex_available: [ 176 "//apex_available:platform", 177 "com.android.virt", 178 ], 179 product_available: true, 180 vendor_available: true, 181 min_sdk_version: "29", 182} 183