diff options
author | Ivan Lozano <ivanlozano@google.com> | 2020-11-05 19:09:25 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-11-05 19:09:25 +0000 |
commit | 3600f010f4d4de80326ac77bee99e1529207f496 (patch) | |
tree | e515a7a584ad003340d9489d00e4eb4a81169efd | |
parent | dbf21d230e2e3590db134fad7967cc481fb2a73b (diff) | |
parent | 9b140257b2f660ded3c249bcf1ab1e4cdc2e69c2 (diff) | |
download | grpcio-compiler-3600f010f4d4de80326ac77bee99e1529207f496.tar.gz |
Add grpcio-compiler Android.bp am: 4c2483e1eb am: d69e1e7bfe am: 9b140257b2
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/grpcio-compiler/+/1486599
Change-Id: I828de67466dfa4926e5cda69261201ed0e864426
-rw-r--r-- | Android.bp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..69c96e5 --- /dev/null +++ b/Android.bp @@ -0,0 +1,35 @@ +// This file is generated by cargo2android.py --run --dependencies. + +rust_binary_host { + name: "grpc_rust_plugin", + crate_name: "grpc_rust_plugin", + srcs: ["src/bin/grpc_rust_plugin.rs"], + edition: "2018", + features: [ + "default", + "protobuf", + "protobuf-codec", + ], + rustlibs: [ + "libgrpcio_compiler", + "libprotobuf", + ], +} + +rust_library_host { + name: "libgrpcio_compiler", + crate_name: "grpcio_compiler", + srcs: ["src/lib.rs"], + edition: "2018", + features: [ + "default", + "protobuf", + "protobuf-codec", + ], + rustlibs: [ + "libprotobuf", + ], +} + +// dependent_library ["feature_list"] +// protobuf-2.14.0 |