blob: 4dfe4150902dfe64b09ded4f2a0eea8c8a842231 [file] [log] [blame]
Andrew Walbran3dd3db72023-11-13 17:10:17 +00001// This file is generated by cargo_embargo.
James Farrellbb45bab2024-05-21 19:07:55 +00002// 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.
Chih-Hung Hsieh92ff6052020-06-10 20:18:39 -07005
Bob Badour3a8b8732021-02-12 18:06:29 -08006package {
7 default_applicable_licenses: [
8 "external_rust_crates_protobuf-codegen_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_license",
16 visibility: [":__subpackages__"],
17 license_kinds: [
18 "SPDX-license-identifier-MIT",
19 ],
20 license_text: [
21 "LICENSE.txt",
22 ],
23}
24
Matthew Maurerc4e85f22020-07-06 13:34:13 -070025rust_library_host {
Chih-Hung Hsieh92ff6052020-06-10 20:18:39 -070026 name: "libprotobuf_codegen",
27 crate_name: "protobuf_codegen",
Joel Galenson51065042021-09-22 11:15:48 -070028 cargo_env_compat: true,
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020029 cargo_pkg_version: "3.2.0",
James Farrellbb45bab2024-05-21 19:07:55 +000030 crate_root: "src/lib.rs",
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020031 edition: "2021",
Matthew Maurerc4e85f22020-07-06 13:34:13 -070032 rustlibs: [
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020033 "libanyhow",
34 "libonce_cell",
Chih-Hung Hsieh92ff6052020-06-10 20:18:39 -070035 "libprotobuf",
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020036 "libprotobuf_parse",
37 "libregex",
38 "libtempfile",
39 "libthiserror",
Chih-Hung Hsieh92ff6052020-06-10 20:18:39 -070040 ],
41}
42
Chih-Hung Hsieh35dedf62020-07-16 16:27:50 -070043rust_test_host {
Joel Galenson4747e6f2021-12-02 07:53:02 -080044 name: "protobuf-codegen_test_src_lib",
Chih-Hung Hsieh35dedf62020-07-16 16:27:50 -070045 crate_name: "protobuf_codegen",
Joel Galenson51065042021-09-22 11:15:48 -070046 cargo_env_compat: true,
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020047 cargo_pkg_version: "3.2.0",
James Farrellbb45bab2024-05-21 19:07:55 +000048 crate_root: "src/lib.rs",
Chih-Hung Hsieh35dedf62020-07-16 16:27:50 -070049 test_suites: ["general-tests"],
50 auto_gen_config: true,
Elliott Hughesa013f1f2021-04-01 17:02:23 -070051 test_options: {
52 unit_test: true,
53 },
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020054 edition: "2021",
Chih-Hung Hsieh35dedf62020-07-16 16:27:50 -070055 rustlibs: [
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020056 "libanyhow",
57 "libonce_cell",
Chih-Hung Hsieh35dedf62020-07-16 16:27:50 -070058 "libprotobuf",
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020059 "libprotobuf_parse",
60 "libregex",
61 "libtempfile",
62 "libthiserror",
Chih-Hung Hsieh35dedf62020-07-16 16:27:50 -070063 ],
64}
65
Chih-Hung Hsieh92ff6052020-06-10 20:18:39 -070066rust_binary_host {
67 name: "protoc-gen-rust",
68 crate_name: "protoc_gen_rust",
Joel Galenson51065042021-09-22 11:15:48 -070069 cargo_env_compat: true,
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020070 cargo_pkg_version: "3.2.0",
James Farrellbb45bab2024-05-21 19:07:55 +000071 crate_root: "src/bin/protoc-gen-rust.rs",
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020072 edition: "2021",
Matthew Maurerc4e85f22020-07-06 13:34:13 -070073 rustlibs: [
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020074 "libanyhow",
75 "libonce_cell",
Chih-Hung Hsieh92ff6052020-06-10 20:18:39 -070076 "libprotobuf",
77 "libprotobuf_codegen",
Jeff Vander Stoepabc0a2a2023-04-03 18:21:06 +020078 "libprotobuf_parse",
79 "libregex",
80 "libtempfile",
81 "libthiserror",
Chih-Hung Hsieh92ff6052020-06-10 20:18:39 -070082 ],
83}