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", |
| 5 | crate_name: "protobuf_codegen", |
| 6 | srcs: ["src/lib.rs"], |
| 7 | edition: "2015", |
Matthew Maurer | c4e85f2 | 2020-07-06 13:34:13 -0700 | [diff] [blame] | 8 | rustlibs: [ |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 9 | "libprotobuf", |
| 10 | ], |
| 11 | } |
| 12 | |
Chih-Hung Hsieh | 35dedf6 | 2020-07-16 16:27:50 -0700 | [diff] [blame] | 13 | rust_test_host { |
| 14 | name: "protobuf-codegen_host_test_src_lib", |
| 15 | crate_name: "protobuf_codegen", |
| 16 | srcs: ["src/lib.rs"], |
| 17 | test_suites: ["general-tests"], |
| 18 | auto_gen_config: true, |
| 19 | edition: "2015", |
| 20 | rustlibs: [ |
| 21 | "libprotobuf", |
| 22 | ], |
| 23 | } |
| 24 | |
Chih-Hung Hsieh | 92ff605 | 2020-06-10 20:18:39 -0700 | [diff] [blame] | 25 | rust_binary_host { |
| 26 | name: "protoc-gen-rust", |
| 27 | crate_name: "protoc_gen_rust", |
| 28 | srcs: ["src/bin/protoc-gen-rust.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 | "libprotobuf_codegen", |
| 33 | ], |
| 34 | } |
| 35 | |
| 36 | // dependent_library ["feature_list"] |
Haibo Huang | b62512d | 2020-11-24 20:54:18 -0800 | [diff] [blame] | 37 | // protobuf-2.18.1 |