• 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    default_applicable_licenses: ["external_rust_crates_uniffi_meta"],
8}
9
10// See: http://go/android-license-faq
11license {
12    name: "external_rust_crates_uniffi_meta",
13    visibility: [":__subpackages__"],
14    license_kinds: ["SPDX-license-identifier-MPL-2.0"],
15    license_text: ["LICENSE"],
16}
17
18rust_library {
19    name: "libuniffi_meta",
20    host_supported: true,
21    crate_name: "uniffi_meta",
22    cargo_env_compat: true,
23    cargo_pkg_version: "0.27.1",
24    crate_root: "src/lib.rs",
25    edition: "2021",
26    rustlibs: [
27        "libanyhow",
28        "libbytes",
29        "libsiphasher",
30    ],
31    proc_macros: ["libuniffi_checksum_derive"],
32    apex_available: [
33        "//apex_available:platform",
34        "//apex_available:anyapex",
35    ],
36    product_available: true,
37    vendor_available: true,
38}
39
40rust_test {
41    name: "uniffi_meta_test_src_lib",
42    host_supported: true,
43    crate_name: "uniffi_meta",
44    cargo_env_compat: true,
45    cargo_pkg_version: "0.27.1",
46    crate_root: "src/lib.rs",
47    test_suites: ["general-tests"],
48    auto_gen_config: true,
49    test_options: {
50        unit_test: true,
51    },
52    edition: "2021",
53    rustlibs: [
54        "libanyhow",
55        "libbytes",
56        "libsiphasher",
57    ],
58    proc_macros: ["libuniffi_checksum_derive"],
59}
60