xref: /aosp_15_r20/external/crosvm/rutabaga_gfx/kumquat/server/Android.bp (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "external_crosvm_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    default_applicable_licenses: ["external_crosvm_license"],
8}
9
10rust_binary {
11    name: "kumquat",
12    crate_name: "kumquat",
13    host_supported: true,
14    vendor_available: true,
15    prefer_rlib: true,
16    cargo_env_compat: true,
17    crate_root: "src/main.rs",
18    cargo_pkg_version: "0.1.3",
19    edition: "2021",
20    cfgs: [
21        "gfxstream_unstable",
22    ],
23    features: [
24        "gfxstream",
25    ],
26    rustlibs: [
27        "librutabaga_gfx_gfxstream",
28        "liblibc",
29        "liblog_rust",
30        "libnix",
31        "libthiserror",
32        "libzerocopy",
33        "libclap",
34    ],
35    shared_libs: [
36        "libgfxstream_backend",
37    ],
38    target: {
39        host: {
40            compile_multilib: "64",
41        },
42        android: {
43            compile_multilib: "64",
44        },
45    },
46}
47