• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --config cargo2android.json.
2// Do not modify this file as changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_nix_license"],
6}
7
8// Added automatically by a large-scale-change
9//
10// large-scale-change filtered out the below license kinds as false-positives:
11//   SPDX-license-identifier-GPL-2.0
12// See: http://go/android-license-faq
13license {
14    name: "external_rust_crates_nix_license",
15    visibility: [":__subpackages__"],
16    license_kinds: [
17        "SPDX-license-identifier-MIT",
18    ],
19    license_text: [
20        "LICENSE",
21    ],
22}
23
24rust_library {
25    name: "libnix",
26    host_supported: true,
27    crate_name: "nix",
28    cargo_env_compat: true,
29    cargo_pkg_version: "0.23.1",
30    srcs: ["src/lib.rs"],
31    edition: "2018",
32    rustlibs: [
33        "libbitflags",
34        "libcfg_if",
35        "liblibc",
36        "libmemoffset",
37    ],
38    apex_available: [
39        "//apex_available:platform",
40        "com.android.bluetooth",
41        "com.android.compos",
42        "com.android.virt",
43    ],
44    vendor_available: true,
45    min_sdk_version: "29",
46}
47