Andrew Walbran | 3dd3db7 | 2023-11-13 17:10:17 +0000 | [diff] [blame] | 1 | // This file is generated by cargo_embargo. |
James Farrell | bb45bab | 2024-05-21 19:07:55 +0000 | [diff] [blame] | 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. |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 5 | |
Bob Badour | 3a8b873 | 2021-02-12 18:06:29 -0800 | [diff] [blame] | 6 | package { |
| 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 |
| 14 | license { |
| 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 Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 25 | rust_library_host { |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 26 | name: "libprotobuf_codegen", |
| 27 | crate_name: "protobuf_codegen", |
Joel Galenson | 5106504 | 2021-09-22 11:15:48 -0700 | [diff] [blame] | 28 | cargo_env_compat: true, |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 29 | cargo_pkg_version: "3.2.0", |
James Farrell | bb45bab | 2024-05-21 19:07:55 +0000 | [diff] [blame] | 30 | crate_root: "src/lib.rs", |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 31 | edition: "2021", |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 32 | rustlibs: [ |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 33 | "libanyhow", |
| 34 | "libonce_cell", |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 35 | "libprotobuf", |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 36 | "libprotobuf_parse", |
| 37 | "libregex", |
| 38 | "libtempfile", |
| 39 | "libthiserror", |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 40 | ], |
| 41 | } |
| 42 | |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 43 | rust_test_host { |
Joel Galenson | 4747e6f | 2021-12-02 07:53:02 -0800 | [diff] [blame] | 44 | name: "protobuf-codegen_test_src_lib", |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 45 | crate_name: "protobuf_codegen", |
Joel Galenson | 5106504 | 2021-09-22 11:15:48 -0700 | [diff] [blame] | 46 | cargo_env_compat: true, |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 47 | cargo_pkg_version: "3.2.0", |
James Farrell | bb45bab | 2024-05-21 19:07:55 +0000 | [diff] [blame] | 48 | crate_root: "src/lib.rs", |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 49 | test_suites: ["general-tests"], |
| 50 | auto_gen_config: true, |
Elliott Hughes | a013f1f | 2021-04-01 17:02:23 -0700 | [diff] [blame] | 51 | test_options: { |
| 52 | unit_test: true, |
| 53 | }, |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 54 | edition: "2021", |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 55 | rustlibs: [ |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 56 | "libanyhow", |
| 57 | "libonce_cell", |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 58 | "libprotobuf", |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 59 | "libprotobuf_parse", |
| 60 | "libregex", |
| 61 | "libtempfile", |
| 62 | "libthiserror", |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 63 | ], |
| 64 | } |
| 65 | |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 66 | rust_binary_host { |
| 67 | name: "protoc-gen-rust", |
| 68 | crate_name: "protoc_gen_rust", |
Joel Galenson | 5106504 | 2021-09-22 11:15:48 -0700 | [diff] [blame] | 69 | cargo_env_compat: true, |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 70 | cargo_pkg_version: "3.2.0", |
James Farrell | bb45bab | 2024-05-21 19:07:55 +0000 | [diff] [blame] | 71 | crate_root: "src/bin/protoc-gen-rust.rs", |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 72 | edition: "2021", |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 73 | rustlibs: [ |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 74 | "libanyhow", |
| 75 | "libonce_cell", |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 76 | "libprotobuf", |
| 77 | "libprotobuf_codegen", |
Jeff Vander Stoep | abc0a2a | 2023-04-03 18:21:06 +0200 | [diff] [blame] | 78 | "libprotobuf_parse", |
| 79 | "libregex", |
| 80 | "libtempfile", |
| 81 | "libthiserror", |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 82 | ], |
| 83 | } |