You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-04 13:50:28 +02:00
Remove unnecessary dependencies on libbinder_rs
This commit is contained in:
@ -1,11 +1,10 @@
|
|||||||
// ANCHOR: libbirthdayservice
|
// ANCHOR: libbirthdayservice
|
||||||
rust_library {
|
rust_library {
|
||||||
name: "libbirthdayservice",
|
name: "libbirthdayservice",
|
||||||
srcs: ["src/lib.rs"],
|
|
||||||
crate_name: "birthdayservice",
|
crate_name: "birthdayservice",
|
||||||
|
srcs: ["src/lib.rs"],
|
||||||
rustlibs: [
|
rustlibs: [
|
||||||
"com.example.birthdayservice-rust",
|
"com.example.birthdayservice-rust",
|
||||||
"libbinder_rs",
|
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
// ANCHOR_END: libbirthdayservice
|
// ANCHOR_END: libbirthdayservice
|
||||||
@ -17,7 +16,6 @@ rust_binary {
|
|||||||
srcs: ["src/server.rs"],
|
srcs: ["src/server.rs"],
|
||||||
rustlibs: [
|
rustlibs: [
|
||||||
"com.example.birthdayservice-rust",
|
"com.example.birthdayservice-rust",
|
||||||
"libbinder_rs",
|
|
||||||
"libbirthdayservice",
|
"libbirthdayservice",
|
||||||
],
|
],
|
||||||
prefer_rlib: true, // To avoid dynamic link error.
|
prefer_rlib: true, // To avoid dynamic link error.
|
||||||
@ -31,7 +29,6 @@ rust_binary {
|
|||||||
srcs: ["src/client.rs"],
|
srcs: ["src/client.rs"],
|
||||||
rustlibs: [
|
rustlibs: [
|
||||||
"com.example.birthdayservice-rust",
|
"com.example.birthdayservice-rust",
|
||||||
"libbinder_rs",
|
|
||||||
],
|
],
|
||||||
prefer_rlib: true, // To avoid dynamic link error.
|
prefer_rlib: true, // To avoid dynamic link error.
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user