• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
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: "kvm_sys_test_tests_basic",
15    defaults: ["crosvm_inner_defaults"],
16    host_supported: true,
17    crate_name: "basic",
18    cargo_env_compat: true,
19    cargo_pkg_version: "0.1.0",
20    srcs: ["tests/basic.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        "libdata_model",
30        "libkvm_sys",
31        "liblibc",
32    ],
33}
34
35rust_library {
36    name: "libkvm_sys",
37    defaults: ["crosvm_inner_defaults"],
38    host_supported: true,
39    crate_name: "kvm_sys",
40    cargo_env_compat: true,
41    cargo_pkg_version: "0.1.0",
42    srcs: ["src/lib.rs"],
43    edition: "2021",
44    rustlibs: [
45        "libbase_rust",
46        "libdata_model",
47        "liblibc",
48    ],
49}
50