• 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_test {
14    name: "hypervisor_test_src_lib",
15    defaults: ["crosvm_defaults"],
16    host_supported: true,
17    crate_name: "hypervisor",
18    cargo_env_compat: true,
19    cargo_pkg_version: "0.1.0",
20    srcs: ["src/lib.rs"],
21    test_suites: ["general-tests"],
22    auto_gen_config: true,
23    test_options: {
24        unit_test: false,
25    },
26    edition: "2021",
27    rustlibs: [
28        "libbase_rust",
29        "libbit_field",
30        "libdata_model",
31        "libdowncast_rs",
32        "libkvm",
33        "libkvm_sys",
34        "liblibc",
35        "libmemoffset",
36        "libserde",
37        "libsync_rust",
38        "libvm_memory",
39    ],
40    proc_macros: ["libenumn"],
41}
42
43rust_library {
44    name: "libhypervisor",
45    defaults: ["crosvm_defaults"],
46    host_supported: true,
47    crate_name: "hypervisor",
48    cargo_env_compat: true,
49    cargo_pkg_version: "0.1.0",
50    srcs: ["src/lib.rs"],
51    edition: "2021",
52    rustlibs: [
53        "libbase_rust",
54        "libbit_field",
55        "libdata_model",
56        "libdowncast_rs",
57        "libkvm",
58        "libkvm_sys",
59        "liblibc",
60        "libmemoffset",
61        "libserde",
62        "libsync_rust",
63        "libvm_memory",
64    ],
65    proc_macros: ["libenumn"],
66}
67