• 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_test_tests_dirty_log",
15    defaults: ["crosvm_inner_defaults"],
16    host_supported: true,
17    crate_name: "dirty_log",
18    cargo_env_compat: true,
19    cargo_pkg_version: "0.1.0",
20    srcs: ["tests/dirty_log.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",
31        "libkvm_sys",
32        "liblibc",
33        "libsync_rust",
34        "libvm_memory",
35    ],
36}
37
38rust_test {
39    name: "kvm_test_tests_kvm_tests",
40    defaults: ["crosvm_inner_defaults"],
41    host_supported: true,
42    crate_name: "kvm_tests",
43    cargo_env_compat: true,
44    cargo_pkg_version: "0.1.0",
45    srcs: ["tests/kvm_tests.rs"],
46    test_suites: ["general-tests"],
47    auto_gen_config: true,
48    test_options: {
49        unit_test: false,
50    },
51    edition: "2021",
52    rustlibs: [
53        "libbase_rust",
54        "libdata_model",
55        "libkvm",
56        "libkvm_sys",
57        "liblibc",
58        "libsync_rust",
59        "libvm_memory",
60    ],
61}
62
63rust_test {
64    name: "kvm_test_tests_read_only_memory",
65    defaults: ["crosvm_inner_defaults"],
66    host_supported: true,
67    crate_name: "read_only_memory",
68    cargo_env_compat: true,
69    cargo_pkg_version: "0.1.0",
70    srcs: ["tests/read_only_memory.rs"],
71    test_suites: ["general-tests"],
72    auto_gen_config: true,
73    test_options: {
74        unit_test: false,
75    },
76    edition: "2021",
77    rustlibs: [
78        "libbase_rust",
79        "libdata_model",
80        "libkvm",
81        "libkvm_sys",
82        "liblibc",
83        "libsync_rust",
84        "libvm_memory",
85    ],
86}
87
88rust_test {
89    name: "kvm_test_tests_real_run_adder",
90    defaults: ["crosvm_inner_defaults"],
91    host_supported: true,
92    crate_name: "real_run_adder",
93    cargo_env_compat: true,
94    cargo_pkg_version: "0.1.0",
95    srcs: ["tests/real_run_adder.rs"],
96    test_suites: ["general-tests"],
97    auto_gen_config: true,
98    test_options: {
99        unit_test: false,
100    },
101    edition: "2021",
102    rustlibs: [
103        "libbase_rust",
104        "libdata_model",
105        "libkvm",
106        "libkvm_sys",
107        "liblibc",
108        "libsync_rust",
109        "libvm_memory",
110    ],
111}
112
113rust_library {
114    name: "libkvm",
115    defaults: ["crosvm_inner_defaults"],
116    host_supported: true,
117    crate_name: "kvm",
118    cargo_env_compat: true,
119    cargo_pkg_version: "0.1.0",
120    srcs: ["src/lib.rs"],
121    edition: "2021",
122    rustlibs: [
123        "libbase_rust",
124        "libdata_model",
125        "libkvm_sys",
126        "liblibc",
127        "libsync_rust",
128        "libvm_memory",
129    ],
130}
131