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_jni_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_jni_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "jni_test_src_lib", 18 host_supported: true, 19 crate_name: "jni", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.21.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: "2018", 29 features: ["default"], 30 rustlibs: [ 31 "libcesu8", 32 "libcfg_if", 33 "libcombine", 34 "libjni_sys", 35 "liblazy_static", 36 "liblog_rust", 37 "libthiserror", 38 ], 39} 40 41rust_library { 42 name: "libjni", 43 host_supported: true, 44 crate_name: "jni", 45 cargo_env_compat: true, 46 cargo_pkg_version: "0.21.1", 47 crate_root: "src/lib.rs", 48 edition: "2018", 49 features: ["default"], 50 rustlibs: [ 51 "libcesu8", 52 "libcfg_if", 53 "libcombine", 54 "libjni_sys", 55 "liblog_rust", 56 "libthiserror", 57 ], 58 apex_available: [ 59 "//apex_available:platform", 60 "com.android.uwb", 61 "com.android.virt", 62 ], 63 product_available: true, 64 vendor_available: true, 65 min_sdk_version: "29", 66} 67