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_protobuf-2.27.1_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_protobuf-2.27.1_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-MIT"], 13 license_text: ["LICENSE"], 14} 15 16genrule { 17 name: "copy_protobuf_deprecated_build_out", 18 srcs: ["out/*"], 19 cmd: "cp $(in) $(genDir)", 20 out: ["version.rs"], 21} 22 23rust_library { 24 name: "libprotobuf_deprecated", 25 host_supported: true, 26 crate_name: "protobuf", 27 cargo_env_compat: true, 28 cargo_pkg_version: "2.27.1", 29 crate_root: "src/lib.rs", 30 srcs: [":copy_protobuf_deprecated_build_out"], 31 edition: "2018", 32 features: ["bytes"], 33 rustlibs: ["libbytes"], 34 apex_available: [ 35 "//apex_available:platform", 36 "com.android.btservices", 37 "com.android.compos", 38 "com.android.virt", 39 ], 40 product_available: true, 41 vendor_available: true, 42 min_sdk_version: "29", 43} 44 45dirgroup { 46 name: "trusty_dirgroup_external_rust_crates_protobuf", 47 visibility: ["//trusty/vendor/google/aosp/scripts"], 48 dirs: ["."], 49} 50