aboutsummaryrefslogtreecommitdiff
path: root/gen/cmd/Android.bp
blob: b0d6ad47f130551c5912dfa3dbb171b35ec9c3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "external_rust_cxx_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    //   SPDX-license-identifier-MIT
    default_applicable_licenses: ["external_rust_cxx_license"],
}

rust_binary_host {
    name: "cxxbridge",
    crate_name: "cxxbridge",
    cargo_env_compat: true,
    cargo_pkg_version: "1.0.93",
    srcs: ["src/main.rs"],
    edition: "2021",
    rustlibs: [
        "libclap",
        "libcodespan_reporting",
        "libproc_macro2",
        "libquote",
        "libsyn",
    ],
    compile_multilib: "first",
}