1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 default_applicable_licenses: ["external_rust_crates_uniffi_license"], 8} 9 10// See: http://go/android-license-faq 11license { 12 name: "external_rust_crates_uniffi_license", 13 visibility: [":__subpackages__"], 14 license_kinds: ["SPDX-license-identifier-MPL-2.0"], 15 license_text: ["LICENSE"], 16} 17 18rust_library { 19 name: "libuniffi", 20 host_supported: true, 21 crate_name: "uniffi", 22 cargo_env_compat: true, 23 cargo_pkg_version: "0.27.1", 24 crate_root: "src/lib.rs", 25 edition: "2021", 26 features: ["default"], 27 rustlibs: [ 28 "libanyhow", 29 "libuniffi_core", 30 ], 31 proc_macros: ["libuniffi_macros"], 32 apex_available: [ 33 "//apex_available:platform", 34 "//apex_available:anyapex", 35 ], 36 product_available: true, 37 vendor_available: true, 38} 39