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_crc_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_crc_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "crc_test_src_lib", 18 host_supported: true, 19 crate_name: "crc", 20 cargo_env_compat: true, 21 cargo_pkg_version: "3.2.1", 22 crate_root: "src/lib.rs", 23 test_suites: ["general-tests"], 24 auto_gen_config: true, 25 test_options: { 26 unit_test: true, 27 }, 28 edition: "2021", 29 rustlibs: [ 30 "libcrc_catalog", 31 "libcriterion", 32 ], 33} 34 35rust_test { 36 name: "crc_test_tests_crc", 37 host_supported: true, 38 crate_name: "crc", 39 cargo_env_compat: true, 40 cargo_pkg_version: "3.2.1", 41 crate_root: "tests/crc.rs", 42 test_suites: ["general-tests"], 43 auto_gen_config: true, 44 test_options: { 45 unit_test: true, 46 }, 47 edition: "2021", 48 rustlibs: [ 49 "libcrc", 50 "libcrc_catalog", 51 "libcriterion", 52 ], 53} 54 55rust_library { 56 name: "libcrc", 57 host_supported: true, 58 crate_name: "crc", 59 cargo_env_compat: true, 60 cargo_pkg_version: "3.2.1", 61 crate_root: "src/lib.rs", 62 edition: "2021", 63 rustlibs: ["libcrc_catalog"], 64 apex_available: [ 65 "//apex_available:platform", 66 "//apex_available:anyapex", 67 ], 68 product_available: true, 69 vendor_available: true, 70 min_sdk_version: "29", 71} 72