• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file after the first "rust_*" or "genrule" module
3// because the changes will be overridden on upgrade.
4// Content before the first "rust_*" or "genrule" module is preserved.
5
6package {
7    // See: http://go/android-license-faq
8    // A large-scale-change added 'default_applicable_licenses' to import
9    // all of the 'license_kinds' from "external_crosvm_license"
10    // to get the below license kinds:
11    //   SPDX-license-identifier-BSD
12    default_applicable_licenses: ["external_crosvm_license"],
13}
14
15rust_test_host {
16    name: "base_event_token_derive_test_src_lib",
17    defaults: ["crosvm_inner_defaults"],
18    crate_name: "base_event_token_derive",
19    cargo_env_compat: true,
20    cargo_pkg_version: "0.1.0",
21    srcs: ["src/lib.rs"],
22    test_suites: ["general-tests"],
23    auto_gen_config: true,
24    test_options: {
25        unit_test: true,
26    },
27    edition: "2021",
28    rustlibs: [
29        "libproc_macro2",
30        "libquote",
31        "libsyn",
32    ],
33}
34
35rust_proc_macro {
36    name: "libbase_event_token_derive",
37    defaults: ["crosvm_inner_defaults"],
38    crate_name: "base_event_token_derive",
39    cargo_env_compat: true,
40    cargo_pkg_version: "0.1.0",
41    srcs: ["src/lib.rs"],
42    edition: "2021",
43    rustlibs: [
44        "libproc_macro2",
45        "libquote",
46        "libsyn",
47    ],
48}
49