aboutsummaryrefslogtreecommitdiff
path: root/rust/minijail/Android.bp
blob: dce38b3bd3bd79716e10435c895701c82876cc3e (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
// This file is generated by cargo_embargo.
// 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_rust",
    host_supported: true,
    crate_name: "minijail",
    cargo_env_compat: true,
    cargo_pkg_version: "0.2.3",
    srcs: ["src/lib.rs"],
    edition: "2018",
    rustlibs: [
        "liblibc",
        "libminijail_sys",
    ],
    apex_available: [
        "//apex_available:platform",
        "com.android.compos",
        "com.android.virt",
    ],
    product_available: true,
    vendor_available: true,
}