• 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_core_license"],
8}
9
10// See: http://go/android-license-faq
11license {
12    name: "external_rust_crates_uniffi_core_license",
13    visibility: [":__subpackages__"],
14    license_kinds: ["SPDX-license-identifier-MPL-2.0"],
15    license_text: ["LICENSE"],
16}
17
18rust_library {
19    name: "libuniffi_core",
20    host_supported: true,
21    crate_name: "uniffi_core",
22    cargo_env_compat: true,
23    cargo_pkg_version: "0.27.1",
24    crate_root: "src/lib.rs",
25    edition: "2021",
26    features: ["default"],
27    rustlibs: [
28        "libanyhow",
29        "libbytes",
30        "libcamino",
31        "liblog_rust",
32        "libonce_cell",
33        "liboneshot_uniffi",
34        "libstatic_assertions",
35    ],
36    proc_macros: ["libpaste"],
37    aliases: ["oneshot_uniffi:oneshot"],
38    apex_available: [
39        "//apex_available:platform",
40        "//apex_available:anyapex",
41    ],
42    product_available: true,
43    vendor_available: true,
44}
45
46rust_test {
47    name: "uniffi_core_test_src_lib",
48    host_supported: true,
49    crate_name: "uniffi_core",
50    cargo_env_compat: true,
51    cargo_pkg_version: "0.27.1",
52    crate_root: "src/lib.rs",
53    test_suites: ["general-tests"],
54    auto_gen_config: true,
55    test_options: {
56        unit_test: true,
57    },
58    edition: "2021",
59    features: ["default"],
60    rustlibs: [
61        "libanyhow",
62        "libbytes",
63        "libcamino",
64        "liblog_rust",
65        "libonce_cell",
66        "liboneshot_uniffi",
67        "libstatic_assertions",
68    ],
69    proc_macros: ["libpaste"],
70    aliases: ["oneshot_uniffi:oneshot"],
71}
72