summaryrefslogtreecommitdiff
path: root/Android.bp
blob: 183200d6ecb2985e5b259609c752d0d580e4e04a (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
30
31
32
33
34
35
36
37
38
39
40
// This file is generated by cargo_embargo.
// Do not modify this file after the first "rust_*" or "genrule" module
// because the changes will be overridden on upgrade.
// Content before the first "rust_*" or "genrule" module is preserved.

package {
    default_applicable_licenses: ["external_rust_crates_mls_rs_codec_derive_license"],
}

// See: http://go/android-license-faq
license {
    name: "external_rust_crates_mls_rs_codec_derive_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
        "SPDX-license-identifier-MIT",
    ],
    license_text: [
        "LICENSE-apache",
        "LICENSE-mit",
    ],
}

rust_proc_macro {
    name: "libmls_rs_codec_derive",
    crate_name: "mls_rs_codec_derive",
    cargo_env_compat: true,
    cargo_pkg_version: "0.1.1",
    srcs: ["src/lib.rs"],
    edition: "2021",
    cfgs: ["mls_build_async"],
    rustlibs: [
        "libdarling",
        "libproc_macro2",
        "libquote",
        "libsyn",
    ],
    product_available: true,
    vendor_available: true,
}