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_grpcio-compiler_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_grpcio-compiler_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_binary_host {
17    name: "grpc_rust_plugin",
18    crate_name: "grpc_rust_plugin",
19    cargo_env_compat: true,
20    cargo_pkg_version: "0.12.1",
21    crate_root: "src/bin/grpc_rust_plugin.rs",
22    edition: "2018",
23    features: [
24        "default",
25        "protobuf",
26        "protobuf-codec",
27    ],
28    rustlibs: [
29        "libgrpcio_compiler",
30        "libprotobuf_deprecated",
31    ],
32}
33
34rust_test_host {
35    name: "grpcio-compiler_test_src_lib",
36    crate_name: "grpcio_compiler",
37    cargo_env_compat: true,
38    cargo_pkg_version: "0.12.1",
39    crate_root: "src/lib.rs",
40    test_suites: ["general-tests"],
41    auto_gen_config: true,
42    test_options: {
43        unit_test: true,
44    },
45    edition: "2018",
46    features: [
47        "default",
48        "protobuf",
49        "protobuf-codec",
50    ],
51    rustlibs: ["libprotobuf_deprecated"],
52}
53
54rust_library_host {
55    name: "libgrpcio_compiler",
56    crate_name: "grpcio_compiler",
57    cargo_env_compat: true,
58    cargo_pkg_version: "0.12.1",
59    crate_root: "src/lib.rs",
60    edition: "2018",
61    features: [
62        "default",
63        "protobuf",
64        "protobuf-codec",
65    ],
66    rustlibs: ["libprotobuf_deprecated"],
67}
68