summaryrefslogtreecommitdiff
path: root/src/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Android.bp')
-rwxr-xr-xsrc/Android.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Android.bp b/src/Android.bp
index 4c59eab..193ac98 100755
--- a/src/Android.bp
+++ b/src/Android.bp
@@ -198,7 +198,7 @@ rust_library {
":include_uwb_core_proto",
],
rustlibs: [
- "libprotobuf_deprecated",
+ "libprotobuf",
],
features: ["proto"],
host_supported: true,
@@ -206,11 +206,11 @@ rust_library {
genrule {
name: "gen_uwb_core_proto",
- tools: ["aprotoc", "protoc-gen-rust-deprecated"],
+ tools: ["aprotoc", "protoc-gen-rust"],
cmd: "$(location aprotoc)" +
" --proto_path=`dirname $(in)`" +
" --dependency_out=$(depfile)" +
- " --plugin=protoc-gen-rust=$(location protoc-gen-rust-deprecated)" +
+ " --plugin=protoc-gen-rust=$(location protoc-gen-rust)" +
" --rust_out=$(genDir) $(in)",
srcs: [
"rust/uwb_core/protos/uwb_service.proto",