1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_protobuf-codegen-2.27.1_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_protobuf-codegen-2.27.1_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_library_host {
17    name: "libprotobuf_codegen_deprecated",
18    crate_name: "protobuf_codegen",
19    cargo_env_compat: true,
20    cargo_pkg_version: "2.27.1",
21    crate_root: "src/lib.rs",
22    edition: "2015",
23    rustlibs: ["libprotobuf_deprecated"],
24}
25
26rust_test_host {
27    name: "protobuf-codegen_deprecated_test_src_lib",
28    crate_name: "protobuf_codegen",
29    cargo_env_compat: true,
30    cargo_pkg_version: "2.27.1",
31    crate_root: "src/lib.rs",
32    test_suites: ["general-tests"],
33    auto_gen_config: true,
34    test_options: {
35        unit_test: true,
36    },
37    edition: "2015",
38    rustlibs: ["libprotobuf_deprecated"],
39}
40
41rust_binary_host {
42    name: "protoc-gen-rust-deprecated",
43    crate_name: "protoc_gen_rust",
44    cargo_env_compat: true,
45    cargo_pkg_version: "2.27.1",
46    crate_root: "src/bin/protoc-gen-rust.rs",
47    edition: "2015",
48    rustlibs: [
49        "libprotobuf_codegen_deprecated",
50        "libprotobuf_deprecated",
51    ],
52}
53