Skip to content

Commit a76b50a

Browse files
authored
Remove unnecessary dependencies on libbinder_rs (#2782)
These dependencies turned out not to be necessary, since depending on the generated `com.example.birthdayservice-rust` also exports the common binder functionality.
1 parent 047b2b2 commit a76b50a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/android/aidl/birthday_service/Android.bp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// ANCHOR: libbirthdayservice
22
rust_library {
33
name: "libbirthdayservice",
4-
srcs: ["src/lib.rs"],
54
crate_name: "birthdayservice",
5+
srcs: ["src/lib.rs"],
66
rustlibs: [
77
"com.example.birthdayservice-rust",
8-
"libbinder_rs",
98
],
109
}
1110
// ANCHOR_END: libbirthdayservice
@@ -17,7 +16,6 @@ rust_binary {
1716
srcs: ["src/server.rs"],
1817
rustlibs: [
1918
"com.example.birthdayservice-rust",
20-
"libbinder_rs",
2119
"libbirthdayservice",
2220
],
2321
prefer_rlib: true, // To avoid dynamic link error.
@@ -31,7 +29,6 @@ rust_binary {
3129
srcs: ["src/client.rs"],
3230
rustlibs: [
3331
"com.example.birthdayservice-rust",
34-
"libbinder_rs",
3532
],
3633
prefer_rlib: true, // To avoid dynamic link error.
3734
}

0 commit comments

Comments
 (0)