1// This file is generated by cargo2android.py --config cargo2android.json. 2// Do not modify this file as changes will be overridden on upgrade. 3 4 5 6package { 7 default_applicable_licenses: [ 8 "external_rust_crates_protobuf-support_license", 9 ], 10} 11 12// Added automatically by a large-scale-change 13// 14// large-scale-change included anything that looked like it might be a license 15// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. 16// 17// Please consider removing redundant or irrelevant files from 'license_text:'. 18// See: http://go/android-license-faq 19license { 20 name: "external_rust_crates_protobuf-support_license", 21 visibility: [":__subpackages__"], 22 license_kinds: [ 23 "SPDX-license-identifier-MIT", 24 ], 25 license_text: [ 26 "LICENSE", 27 "LICENSE.txt", 28 ], 29} 30 31rust_library { 32 name: "libprotobuf_support", 33 host_supported: true, 34 crate_name: "protobuf_support", 35 cargo_env_compat: true, 36 cargo_pkg_version: "3.2.0", 37 srcs: ["src/lib.rs"], 38 edition: "2021", 39 rustlibs: [ 40 "libthiserror", 41 ], 42 apex_available: [ 43 "//apex_available:platform", 44 "//apex_available:anyapex", 45 ], 46 product_available: true, 47 vendor_available: true, 48 min_sdk_version: "29", 49} 50