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_coset_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_coset_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "coset_test_src_lib", 18 host_supported: true, 19 crate_name: "coset", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.3.8", 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: [ 30 "default", 31 "std", 32 ], 33 rustlibs: [ 34 "libciborium", 35 "libciborium_io", 36 "libhex", 37 ], 38} 39 40rust_library { 41 name: "libcoset", 42 host_supported: true, 43 crate_name: "coset", 44 cargo_env_compat: true, 45 cargo_pkg_version: "0.3.8", 46 crate_root: "src/lib.rs", 47 edition: "2018", 48 features: [ 49 "default", 50 "std", 51 ], 52 rustlibs: [ 53 "libciborium", 54 "libciborium_io", 55 ], 56 apex_available: [ 57 "//apex_available:platform", 58 "//apex_available:anyapex", 59 ], 60 product_available: true, 61 vendor_available: true, 62 min_sdk_version: "29", 63} 64 65rust_library_rlib { 66 name: "libcoset_nostd", 67 crate_name: "coset", 68 cargo_env_compat: true, 69 cargo_pkg_version: "0.3.8", 70 crate_root: "src/lib.rs", 71 edition: "2018", 72 rustlibs: [ 73 "libciborium_io_nostd", 74 "libciborium_nostd", 75 ], 76 apex_available: [ 77 "//apex_available:platform", 78 "//apex_available:anyapex", 79 ], 80 prefer_rlib: true, 81 no_stdlibs: true, 82 stdlibs: [ 83 "liballoc.rust_sysroot", 84 "libcompiler_builtins.rust_sysroot", 85 "libcore.rust_sysroot", 86 ], 87 product_available: true, 88 vendor_available: true, 89 min_sdk_version: "29", 90} 91 92dirgroup { 93 name: "trusty_dirgroup_external_rust_crates_coset", 94 visibility: ["//trusty/vendor/google/aosp/scripts"], 95 dirs: ["."], 96} 97