diff options
author | Ivan Lozano <ivanlozano@google.com> | 2020-11-05 18:29:33 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-11-05 18:29:33 +0000 |
commit | d69e1e7bfe863b089cdd497ff7bcc77d394703d3 (patch) | |
tree | e515a7a584ad003340d9489d00e4eb4a81169efd | |
parent | ead4e4a8637c4e5c380089e07572d980cdeea484 (diff) | |
parent | 4c2483e1eb4d91b2e85aca031a71c76e441a64a9 (diff) | |
download | grpcio-compiler-d69e1e7bfe863b089cdd497ff7bcc77d394703d3.tar.gz |
Add grpcio-compiler Android.bp am: 4c2483e1eb
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/grpcio-compiler/+/1486599
Change-Id: I6a8304a4ae4ec21a86dbd5fb3d798b135894bf6e
-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 |