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} 63 64rust_library_rlib { 65 name: "libcoset_nostd", 66 crate_name: "coset", 67 cargo_env_compat: true, 68 cargo_pkg_version: "0.3.8", 69 crate_root: "src/lib.rs", 70 edition: "2018", 71 rustlibs: [ 72 "libciborium_io_nostd", 73 "libciborium_nostd", 74 ], 75 apex_available: [ 76 "//apex_available:platform", 77 "//apex_available:anyapex", 78 ], 79 prefer_rlib: true, 80 no_stdlibs: true, 81 stdlibs: [ 82 "liballoc.rust_sysroot", 83 "libcompiler_builtins.rust_sysroot", 84 "libcore.rust_sysroot", 85 ], 86 product_available: true, 87 vendor_available: true, 88} 89 90dirgroup { 91 name: "trusty_dirgroup_external_rust_crates_coset", 92 visibility: ["//trusty/vendor/google/aosp/scripts"], 93 dirs: ["."], 94} 95