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