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_matches_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_matches_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-MIT"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "libmatches", 18 host_supported: true, 19 crate_name: "matches", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.1.9", 22 crate_root: "lib.rs", 23 edition: "2015", 24 apex_available: [ 25 "//apex_available:platform", 26 "//apex_available:anyapex", 27 ], 28 product_available: true, 29 vendor_available: true, 30 min_sdk_version: "29", 31} 32 33rust_test { 34 name: "matches_test_lib", 35 host_supported: true, 36 crate_name: "matches", 37 cargo_env_compat: true, 38 cargo_pkg_version: "0.1.9", 39 crate_root: "lib.rs", 40 test_suites: ["general-tests"], 41 auto_gen_config: true, 42 test_options: { 43 unit_test: true, 44 }, 45 edition: "2015", 46} 47 48rust_test { 49 name: "matches_test_tests_macro_use_one", 50 host_supported: true, 51 crate_name: "macro_use_one", 52 cargo_env_compat: true, 53 cargo_pkg_version: "0.1.9", 54 crate_root: "tests/macro_use_one.rs", 55 test_suites: ["general-tests"], 56 auto_gen_config: true, 57 test_options: { 58 unit_test: true, 59 }, 60 edition: "2015", 61 rustlibs: ["libmatches"], 62} 63 64rust_test { 65 name: "matches_test_tests_use_star", 66 host_supported: true, 67 crate_name: "use_star", 68 cargo_env_compat: true, 69 cargo_pkg_version: "0.1.9", 70 crate_root: "tests/use_star.rs", 71 test_suites: ["general-tests"], 72 auto_gen_config: true, 73 test_options: { 74 unit_test: true, 75 }, 76 edition: "2015", 77 rustlibs: ["libmatches"], 78} 79