• 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_ffi_shared {
14    name: "libcrosvm_control_shared",
15    defaults: ["crosvm_inner_defaults"],
16    stem: "libcrosvm_control",
17    host_supported: true,
18    crate_name: "crosvm_control",
19    cargo_env_compat: true,
20    cargo_pkg_version: "0.1.0",
21    srcs: ["src/lib.rs"],
22    edition: "2021",
23    rustlibs: [
24        "libbase_rust",
25        "liblibc",
26        "libvm_control",
27    ],
28    // The build.rs file compiles the generated C header just as a test, which
29    // tricks cargo_embargo into thinking there is a library dependency that
30    // doesn't actually exist.
31    //
32    // static_libs: ["libcrosvm_control_test"],
33}
34
35rust_ffi_static {
36    name: "libcrosvm_control_static",
37    defaults: ["crosvm_inner_defaults"],
38    stem: "libcrosvm_control",
39    host_supported: true,
40    crate_name: "crosvm_control",
41    cargo_env_compat: true,
42    cargo_pkg_version: "0.1.0",
43    srcs: ["src/lib.rs"],
44    edition: "2021",
45    rustlibs: [
46        "libbase_rust",
47        "liblibc",
48        "libvm_control",
49    ],
50    // The build.rs file compiles the generated C header just as a test, which
51    // tricks cargo_embargo into thinking there is a library dependency that
52    // doesn't actually exist.
53    //
54    // static_libs: ["libcrosvm_control_test"],
55}
56