summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-20 16:54:14 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-20 16:54:14 +0000
commitace4abce3cabe6b2a9bbca2da73880c8330f5bdf (patch)
tree74734ac2edb79ad00453c18c4ca480f4f5e9002b
parent742634df9c70822df98376a456dc42bce814007b (diff)
downloadgrpcio-compiler-main.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Ie910f1b5a6ae992a334902ab75463290a8e4754b
-rw-r--r--Android.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index c7f866d..48a4d85 100644
--- a/Android.bp
+++ b/Android.bp
@@ -40,7 +40,7 @@ rust_binary_host {
crate_name: "grpc_rust_plugin",
cargo_env_compat: true,
cargo_pkg_version: "0.12.1",
- srcs: ["src/bin/grpc_rust_plugin.rs"],
+ crate_root: "src/bin/grpc_rust_plugin.rs",
edition: "2018",
features: [
"default",
@@ -58,7 +58,7 @@ rust_test_host {
crate_name: "grpcio_compiler",
cargo_env_compat: true,
cargo_pkg_version: "0.12.1",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -78,7 +78,7 @@ rust_library_host {
crate_name: "grpcio_compiler",
cargo_env_compat: true,
cargo_pkg_version: "0.12.1",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
features: [
"default",