• 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: "bit_field_test_tests_test_enum",
15    defaults: ["crosvm_inner_defaults"],
16    host_supported: true,
17    crate_name: "test_enum",
18    cargo_env_compat: true,
19    cargo_pkg_version: "0.1.0",
20    srcs: ["tests/test_enum.rs"],
21    test_suites: ["general-tests"],
22    auto_gen_config: true,
23    test_options: {
24        unit_test: true,
25    },
26    edition: "2021",
27    rustlibs: ["libbit_field"],
28    proc_macros: ["libbit_field_derive"],
29}
30
31rust_test {
32    name: "bit_field_test_tests_test_tuple_struct",
33    defaults: ["crosvm_inner_defaults"],
34    host_supported: true,
35    crate_name: "test_tuple_struct",
36    cargo_env_compat: true,
37    cargo_pkg_version: "0.1.0",
38    srcs: ["tests/test_tuple_struct.rs"],
39    test_suites: ["general-tests"],
40    auto_gen_config: true,
41    test_options: {
42        unit_test: true,
43    },
44    edition: "2021",
45    rustlibs: ["libbit_field"],
46    proc_macros: ["libbit_field_derive"],
47}
48
49rust_library {
50    name: "libbit_field",
51    defaults: ["crosvm_inner_defaults"],
52    host_supported: true,
53    crate_name: "bit_field",
54    cargo_env_compat: true,
55    cargo_pkg_version: "0.1.0",
56    srcs: ["src/lib.rs"],
57    edition: "2021",
58    proc_macros: ["libbit_field_derive"],
59}
60