• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --run --device --tests --dependencies --global_defaults=crosvm_defaults --add_workspace.
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_host {
14    name: "enumn_host_test_src_lib",
15    defaults: ["crosvm_defaults"],
16    crate_name: "enumn",
17    srcs: ["src/lib.rs"],
18    test_suites: ["general-tests"],
19    auto_gen_config: true,
20    edition: "2018",
21    rustlibs: [
22        "libproc_macro2",
23        "libquote",
24        "libsyn",
25    ],
26    test_options: {
27        unit_test: true,
28    },
29}
30
31rust_proc_macro {
32    name: "libenumn",
33    defaults: ["crosvm_proc_macro_defaults"],
34    crate_name: "enumn",
35    srcs: ["src/lib.rs"],
36    edition: "2018",
37    rustlibs: [
38        "libproc_macro2",
39        "libquote",
40        "libsyn",
41    ],
42}
43
44// dependent_library ["feature_list"]
45//   proc-macro2-1.0.26 "default,proc-macro"
46//   quote-1.0.9 "default,proc-macro"
47//   syn-1.0.70 "clone-impls,default,derive,parsing,printing,proc-macro,quote"
48//   unicode-xid-0.2.1 "default"
49