• 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: [
8        "external_rust_crates_protobuf-json-mapping_license",
9    ],
10}
11
12// Added automatically by a large-scale-change
13// See: http://go/android-license-faq
14license {
15    name: "external_rust_crates_protobuf-json-mapping_license",
16    visibility: [":__subpackages__"],
17    license_kinds: [
18        "SPDX-license-identifier-MIT",
19    ],
20    license_text: [
21        "LICENSE",
22    ],
23}
24
25rust_library {
26    name: "libprotobuf_json_mapping",
27    host_supported: true,
28    crate_name: "protobuf_json_mapping",
29    cargo_env_compat: true,
30    cargo_pkg_version: "3.2.0",
31    crate_root: "src/lib.rs",
32    edition: "2021",
33    rustlibs: [
34        "libprotobuf",
35        "libprotobuf_support",
36        "libthiserror",
37    ],
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: "protobuf-json-mapping_test_src_lib",
48    host_supported: true,
49    crate_name: "protobuf_json_mapping",
50    cargo_env_compat: true,
51    cargo_pkg_version: "3.2.0",
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    rustlibs: [
60        "libprotobuf",
61        "libprotobuf_support",
62        "libthiserror",
63    ],
64}
65