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_vsprintf_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_vsprintf_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libvsprintf",
18    host_supported: true,
19    crate_name: "vsprintf",
20    cargo_env_compat: true,
21    cargo_pkg_version: "2.0.0",
22    crate_root: "src/lib.rs",
23    edition: "2018",
24    rustlibs: ["liblibc"],
25    shared_libs: ["libvsprintf_wrapper"],
26    apex_available: [
27        "//apex_available:platform",
28        "//apex_available:anyapex",
29    ],
30    product_available: true,
31    vendor_available: true,
32    visibility: ["//external/rust/android-crates-io/crates/libbpf-rs"],
33}
34
35cc_library {
36    name: "libvsprintf_wrapper",
37    srcs: ["src/lib.c"],
38    cflags: [
39        "-Wall",
40        "-Werror",
41    ],
42    host_supported: true,
43    product_available: true,
44    vendor_available: true,
45    visibility: ["//external/rust/crates/vsprintf"],
46}
47