Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --run --dependencies --tests. |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 2 | |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 3 | rust_library_host { |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 4 | name: "libprotobuf_codegen", |
Haibo Huang | ba676d3 | 2020-08-12 13:52:13 -0700 | [diff] [blame] | 5 | // has rustc warnings |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 6 | crate_name: "protobuf_codegen", |
| 7 | srcs: ["src/lib.rs"], |
| 8 | edition: "2015", |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 9 | rustlibs: [ |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 10 | "libprotobuf", |
| 11 | ], |
| 12 | } |
| 13 | |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 14 | rust_test_host { |
| 15 | name: "protobuf-codegen_host_test_src_lib", |
Haibo Huang | ba676d3 | 2020-08-12 13:52:13 -0700 | [diff] [blame] | 16 | // has rustc warnings |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 17 | crate_name: "protobuf_codegen", |
| 18 | srcs: ["src/lib.rs"], |
| 19 | test_suites: ["general-tests"], |
| 20 | auto_gen_config: true, |
| 21 | edition: "2015", |
| 22 | rustlibs: [ |
| 23 | "libprotobuf", |
| 24 | ], |
| 25 | } |
| 26 | |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 27 | rust_binary_host { |
| 28 | name: "protoc-gen-rust", |
Haibo Huang | ba676d3 | 2020-08-12 13:52:13 -0700 | [diff] [blame] | 29 | // has rustc warnings |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 30 | crate_name: "protoc_gen_rust", |
| 31 | srcs: ["src/bin/protoc-gen-rust.rs"], |
| 32 | edition: "2015", |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 33 | rustlibs: [ |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 34 | "libprotobuf", |
| 35 | "libprotobuf_codegen", |
| 36 | ], |
| 37 | } |
| 38 | |
| 39 | // dependent_library ["feature_list"] |
Chih-Hung Hsieh | 07f32d9 | 2020-10-06 01:50:33 -0700 | [diff] [blame] | 40 | // protobuf-2.18.0 |