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_nix_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_nix_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libnix",
18    host_supported: true,
19    crate_name: "nix",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.28.0",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    features: [
25        "event",
26        "feature",
27        "fs",
28        "inotify",
29        "ioctl",
30        "memoffset",
31        "mman",
32        "mount",
33        "net",
34        "poll",
35        "process",
36        "sched",
37        "signal",
38        "socket",
39        "term",
40        "time",
41        "uio",
42        "user",
43    ],
44    rustlibs: [
45        "libbitflags",
46        "libcfg_if",
47        "liblibc",
48        "libmemoffset",
49    ],
50    apex_available: [
51        "//apex_available:platform",
52        "//apex_available:anyapex",
53    ],
54    product_available: true,
55    vendor_available: true,
56    min_sdk_version: "29",
57    // Manually translated build.rs cfg aliases.
58    target: {
59        host_linux: {
60            cfgs: [
61                "linux",
62                "linux_android",
63            ],
64        },
65        android: {
66            cfgs: [
67                "android",
68                "linux_android",
69            ],
70        },
71    },
72
73}
74