aboutsummaryrefslogtreecommitdiff
path: root/rust/minijail-sys/Android.bp
blob: 86c092eeec002aaa70cfd0dc8c4e978e709a7742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.



package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "external_minijail_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-BSD
    default_applicable_licenses: ["external_minijail_license"],
}

rust_library {
    name: "libminijail_sys",
    host_supported: true,
    crate_name: "minijail_sys",
    cargo_env_compat: true,
    cargo_pkg_version: "0.0.13",
    srcs: ["lib.rs"],
    edition: "2018",
    rustlibs: [
        "liblibc",
    ],
    shared_libs: [
        "libcap",
        "libminijail",
    ],
    apex_available: [
        "//apex_available:platform",
        "com.android.compos",
        "com.android.virt",
    ],
}