Joel Galenson | 4747e6f | 2021-12-02 07:53:02 -0800 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --config cargo2android.json. |
Elliott Hughes | a013f1f | 2021-04-01 17:02:23 -0700 | [diff] [blame] | 2 | // Do not modify this file as changes will be overridden on upgrade. |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 3 | |
Bob Badour | 3a8b873 | 2021-02-12 18:06:29 -0800 | [diff] [blame] | 4 | package { |
| 5 | default_applicable_licenses: [ |
| 6 | "external_rust_crates_protobuf-codegen_license", |
| 7 | ], |
| 8 | } |
| 9 | |
| 10 | // Added automatically by a large-scale-change |
| 11 | // See: http://go/android-license-faq |
| 12 | license { |
| 13 | name: "external_rust_crates_protobuf-codegen_license", |
| 14 | visibility: [":__subpackages__"], |
| 15 | license_kinds: [ |
| 16 | "SPDX-license-identifier-MIT", |
| 17 | ], |
| 18 | license_text: [ |
| 19 | "LICENSE.txt", |
| 20 | ], |
| 21 | } |
| 22 | |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 23 | rust_library_host { |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 24 | name: "libprotobuf_codegen", |
| 25 | crate_name: "protobuf_codegen", |
Joel Galenson | 5106504 | 2021-09-22 11:15:48 -0700 | [diff] [blame] | 26 | cargo_env_compat: true, |
David LeGare | 316092b | 2022-03-02 16:21:18 +0000 | [diff] [blame] | 27 | cargo_pkg_version: "2.27.1", |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 28 | srcs: ["src/lib.rs"], |
| 29 | edition: "2015", |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 30 | rustlibs: [ |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 31 | "libprotobuf", |
| 32 | ], |
| 33 | } |
| 34 | |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 35 | rust_test_host { |
Joel Galenson | 4747e6f | 2021-12-02 07:53:02 -0800 | [diff] [blame] | 36 | name: "protobuf-codegen_test_src_lib", |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 37 | crate_name: "protobuf_codegen", |
Joel Galenson | 5106504 | 2021-09-22 11:15:48 -0700 | [diff] [blame] | 38 | cargo_env_compat: true, |
David LeGare | 316092b | 2022-03-02 16:21:18 +0000 | [diff] [blame] | 39 | cargo_pkg_version: "2.27.1", |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 40 | srcs: ["src/lib.rs"], |
| 41 | test_suites: ["general-tests"], |
| 42 | auto_gen_config: true, |
Elliott Hughes | a013f1f | 2021-04-01 17:02:23 -0700 | [diff] [blame] | 43 | test_options: { |
| 44 | unit_test: true, |
| 45 | }, |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 46 | edition: "2015", |
| 47 | rustlibs: [ |
| 48 | "libprotobuf", |
| 49 | ], |
| 50 | } |
| 51 | |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 52 | rust_binary_host { |
| 53 | name: "protoc-gen-rust", |
| 54 | crate_name: "protoc_gen_rust", |
Joel Galenson | 5106504 | 2021-09-22 11:15:48 -0700 | [diff] [blame] | 55 | cargo_env_compat: true, |
David LeGare | 316092b | 2022-03-02 16:21:18 +0000 | [diff] [blame] | 56 | cargo_pkg_version: "2.27.1", |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 57 | srcs: ["src/bin/protoc-gen-rust.rs"], |
| 58 | edition: "2015", |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 59 | rustlibs: [ |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 60 | "libprotobuf", |
| 61 | "libprotobuf_codegen", |
| 62 | ], |
| 63 | } |