• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_vsock_license"],
8}
9
10// Added automatically by a large-scale-change
11// See: http://go/android-license-faq
12license {
13    name: "external_rust_crates_vsock_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-Apache-2.0",
17    ],
18    license_text: [
19        "LICENSE",
20    ],
21}
22
23rust_library {
24    name: "libvsock",
25    host_supported: true,
26    crate_name: "vsock",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.5.0",
29    crate_root: "src/lib.rs",
30    edition: "2021",
31    rustlibs: [
32        "liblibc",
33        "libnix",
34    ],
35    apex_available: [
36        "//apex_available:platform",
37        "com.android.compos",
38        "com.android.virt",
39    ],
40    product_available: true,
41    vendor_available: true,
42}
43