summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2023-06-16 00:39:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-06-16 00:39:55 +0000
commit85cc859d73f1e5a5fc453867d8b6dc80ad9c41e6 (patch)
treea1c0489affd9299b39582e88a1e29c67afb012b3 /rust/rust_test.go
parent0e7d0fa05cb3ce3586e87c56bfb013f1a74ac558 (diff)
parent4df0257fe565181641df292e8cd6e76a2f273cad (diff)
Merge "rust: Make dylib-std the canonical rlib form"
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index 2a38b8983..64f90b6e0 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -377,11 +377,11 @@ func TestSourceProviderDeps(t *testing.T) {
// Check that our bindings are picked up as crate dependencies as well
libfooMod := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").Module().(*Module)
- if !android.InList("libbindings.dylib-std", libfooMod.Properties.AndroidMkRlibs) {
+ if !android.InList("libbindings", libfooMod.Properties.AndroidMkRlibs) {
t.Errorf("bindgen dependency not detected as a rlib dependency (dependency missing from AndroidMkRlibs)")
}
fizzBuzzMod := ctx.ModuleForTests("fizz-buzz-dep", "android_arm64_armv8-a").Module().(*Module)
- if !android.InList("libbindings.dylib-std", fizzBuzzMod.Properties.AndroidMkRlibs) {
+ if !android.InList("libbindings", fizzBuzzMod.Properties.AndroidMkRlibs) {
t.Errorf("bindgen dependency not detected as a rlib dependency (dependency missing from AndroidMkRlibs)")
}
libprocmacroMod := ctx.ModuleForTests("libprocmacro", "linux_glibc_x86_64").Module().(*Module)