• 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    // See: http://go/android-license-faq
6    // A large-scale-change added 'default_applicable_licenses' to import
7    // all of the 'license_kinds' from "external_crosvm_license"
8    // to get the below license kinds:
9    //   SPDX-license-identifier-BSD
10    default_applicable_licenses: ["external_crosvm_license"],
11}
12
13rust_library {
14    name: "libvm_control",
15    defaults: ["crosvm_defaults"],
16    host_supported: true,
17    crate_name: "vm_control",
18    cargo_env_compat: true,
19    cargo_pkg_version: "0.1.0",
20    srcs: ["src/lib.rs"],
21    edition: "2021",
22    rustlibs: [
23        "libballoon_control",
24        "libbase_rust",
25        "libdata_model",
26        "libhypervisor",
27        "liblibc",
28        "libresources",
29        "librutabaga_gfx",
30        "libserde",
31        "libserde_json",
32        "libsync_rust",
33        "libthiserror",
34        "libvm_memory",
35    ],
36    proc_macros: ["libremain"],
37    target: {
38        host_linux: {
39            features: [
40                "gdb",
41            ],
42            rustlibs: [
43                "libgdbstub_arch",
44            ],
45        },
46    },
47
48}
49