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_zerocopy-0.7.35_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_zerocopy-0.7.35_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "libzerocopy-0.7.35", 18 host_supported: true, 19 crate_name: "zerocopy", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.7.35", 22 crate_root: "src/lib.rs", 23 edition: "2018", 24 features: [ 25 "byteorder", 26 "derive", 27 "simd", 28 "zerocopy-derive", 29 ], 30 rustlibs: ["libbyteorder"], 31 proc_macros: ["libzerocopy_derive-0.7.35"], 32 apex_available: [ 33 "//apex_available:platform", 34 "//apex_available:anyapex", 35 ], 36 product_available: true, 37 vendor_available: true, 38 min_sdk_version: "29", 39} 40 41rust_library_rlib { 42 name: "libzerocopy-0.7.35_nostd", 43 crate_name: "zerocopy", 44 cargo_env_compat: true, 45 cargo_pkg_version: "0.7.35", 46 crate_root: "src/lib.rs", 47 edition: "2018", 48 features: [ 49 "alloc", 50 "byteorder", 51 "derive", 52 "simd", 53 "zerocopy-derive", 54 ], 55 rustlibs: ["libbyteorder_nostd"], 56 proc_macros: ["libzerocopy_derive-0.7.35"], 57 apex_available: [ 58 "//apex_available:platform", 59 "//apex_available:anyapex", 60 ], 61 prefer_rlib: true, 62 no_stdlibs: true, 63 stdlibs: [ 64 "liballoc.rust_sysroot", 65 "libcompiler_builtins.rust_sysroot", 66 "libcore.rust_sysroot", 67 ], 68 product_available: true, 69 vendor_available: true, 70 min_sdk_version: "29", 71} 72 73rust_library_rlib { 74 name: "libzerocopy-0.7.35_nostd_noalloc", 75 crate_name: "zerocopy", 76 cargo_env_compat: true, 77 cargo_pkg_version: "0.7.35", 78 crate_root: "src/lib.rs", 79 edition: "2018", 80 features: [ 81 "byteorder", 82 "derive", 83 "simd", 84 "zerocopy-derive", 85 ], 86 rustlibs: ["libbyteorder_nostd"], 87 proc_macros: ["libzerocopy_derive-0.7.35"], 88 apex_available: [ 89 "//apex_available:platform", 90 "//apex_available:anyapex", 91 ], 92 prefer_rlib: true, 93 no_stdlibs: true, 94 stdlibs: [ 95 "libcompiler_builtins.rust_sysroot", 96 "libcore.rust_sysroot", 97 ], 98 product_available: true, 99 vendor_available: true, 100 min_sdk_version: "29", 101} 102 103dirgroup { 104 name: "trusty_dirgroup_external_rust_crates_zerocopy", 105 visibility: ["//trusty/vendor/google/aosp/scripts"], 106 dirs: ["."], 107} 108