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_ciborium-ll_license"], 8} 9 10// Added automatically by a large-scale-change 11// See: http://go/android-license-faq 12license { 13 name: "external_rust_crates_ciborium-ll_license", 14 visibility: [":__subpackages__"], 15 license_kinds: [ 16 "SPDX-license-identifier-Apache-2.0", 17 ], 18 license_text: [ 19 "LICENSE", 20 ], 21} 22 23rust_test { 24 name: "ciborium-ll_test_src_lib", 25 host_supported: true, 26 crate_name: "ciborium_ll", 27 cargo_env_compat: true, 28 cargo_pkg_version: "0.2.2", 29 crate_root: "src/lib.rs", 30 test_suites: ["general-tests"], 31 auto_gen_config: true, 32 test_options: { 33 unit_test: true, 34 }, 35 edition: "2021", 36 rustlibs: [ 37 "libciborium_io", 38 "libhalf", 39 "libhex", 40 ], 41} 42 43rust_library { 44 name: "libciborium_ll", 45 host_supported: true, 46 crate_name: "ciborium_ll", 47 cargo_env_compat: true, 48 cargo_pkg_version: "0.2.2", 49 crate_root: "src/lib.rs", 50 edition: "2021", 51 rustlibs: [ 52 "libciborium_io", 53 "libhalf", 54 ], 55 apex_available: [ 56 "//apex_available:platform", 57 "//apex_available:anyapex", 58 ], 59 product_available: true, 60 vendor_available: true, 61} 62 63rust_library_rlib { 64 name: "libciborium_ll_nostd", 65 crate_name: "ciborium_ll", 66 cargo_env_compat: true, 67 cargo_pkg_version: "0.2.2", 68 crate_root: "src/lib.rs", 69 edition: "2021", 70 rustlibs: [ 71 "libciborium_io_nostd", 72 "libhalf_nostd", 73 ], 74 apex_available: [ 75 "//apex_available:platform", 76 "//apex_available:anyapex", 77 ], 78 prefer_rlib: true, 79 no_stdlibs: true, 80 stdlibs: [ 81 "liballoc.rust_sysroot", 82 "libcompiler_builtins.rust_sysroot", 83 "libcore.rust_sysroot", 84 ], 85 product_available: true, 86 vendor_available: true, 87} 88