• 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-codegen_2.27.1_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-codegen_2.27.1_license",
16    visibility: [":__subpackages__"],
17    license_kinds: [
18        "SPDX-license-identifier-MIT",
19    ],
20    license_text: [
21        "LICENSE.txt",
22    ],
23}
24
25rust_library_host {
26    name: "libprotobuf_codegen_deprecated",
27    crate_name: "protobuf_codegen",
28    cargo_env_compat: true,
29    cargo_pkg_version: "2.27.1",
30    crate_root: "src/lib.rs",
31    edition: "2015",
32    rustlibs: ["libprotobuf_deprecated"],
33}
34
35rust_test_host {
36    name: "protobuf-codegen_deprecated_test_src_lib",
37    crate_name: "protobuf_codegen",
38    cargo_env_compat: true,
39    cargo_pkg_version: "2.27.1",
40    crate_root: "src/lib.rs",
41    test_suites: ["general-tests"],
42    auto_gen_config: true,
43    test_options: {
44        unit_test: true,
45    },
46    edition: "2015",
47    rustlibs: ["libprotobuf_deprecated"],
48}
49
50rust_binary_host {
51    name: "protoc-gen-rust-deprecated",
52    crate_name: "protoc_gen_rust",
53    cargo_env_compat: true,
54    cargo_pkg_version: "2.27.1",
55    crate_root: "src/bin/protoc-gen-rust.rs",
56    edition: "2015",
57    rustlibs: [
58        "libprotobuf_codegen_deprecated",
59        "libprotobuf_deprecated",
60    ],
61}
62