• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --run --dependencies --add_workspace --host-first-multilib.
2
3package {
4    // See: http://go/android-license-faq
5    // A large-scale-change added 'default_applicable_licenses' to import
6    // all of the 'license_kinds' from "external_rust_cxx_license"
7    // to get the below license kinds:
8    //   SPDX-license-identifier-Apache-2.0
9    //   SPDX-license-identifier-MIT
10    default_applicable_licenses: ["external_rust_cxx_license"],
11}
12
13rust_binary_host {
14    name: "cxxbridge",
15    crate_name: "cxxbridge",
16    srcs: ["src/main.rs"],
17    edition: "2018",
18    rustlibs: [
19        "libclap",
20        "libcodespan_reporting",
21        "libcxxbridge_cmd",
22        "libproc_macro2",
23        "libquote",
24        "libsyn",
25    ],
26    compile_multilib: "first",
27}
28
29rust_library_host {
30    name: "libcxxbridge_cmd",
31    crate_name: "cxxbridge_cmd",
32    srcs: ["src/lib.rs"],
33    edition: "2018",
34    rustlibs: [
35        "libclap",
36        "libcodespan_reporting",
37        "libproc_macro2",
38        "libquote",
39        "libsyn",
40    ],
41    compile_multilib: "first",
42}
43
44// dependent_library ["feature_list"]
45//   ansi_term-0.11.0
46//   atty-0.2.14
47//   bitflags-1.2.1 "default"
48//   clap-2.33.3 "ansi_term,atty,color,default,strsim,suggestions,vec_map"
49//   codespan-reporting-0.9.5
50//   libc-0.2.80
51//   proc-macro2-1.0.24 "span-locations"
52//   quote-1.0.7
53//   strsim-0.8.0
54//   syn-1.0.50 "clone-impls,full,parsing,printing,quote"
55//   termcolor-1.1.2
56//   textwrap-0.11.0
57//   unicode-width-0.1.8 "default"
58//   unicode-xid-0.2.1 "default"
59//   vec_map-0.8.2
60