summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2022-05-09 19:35:10 +0100
committer David Brazdil <dbrazdil@google.com> 2022-05-09 19:36:04 +0100
commit3ac9d2bf239d8b6c11d42bc7fab155b90dd1c2c4 (patch)
tree33524cf81ce82c632b7e66f304fe8c96f1492d74
parentf2d126b3d8d2d60fcc8c844cb1629382b34a675e (diff)
Fix test compilation error
Bug: 231700648 Test: include 'binary_test.go' in 'cc/Android.bp' and build Change-Id: Ie09ae5c754753751a450fe8854d5c8743afc2e72
-rw-r--r--cc/binary_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/binary_test.go b/cc/binary_test.go
index 1b8b4a83c..cba5974fb 100644
--- a/cc/binary_test.go
+++ b/cc/binary_test.go
@@ -65,7 +65,7 @@ func TestBinaryLinkerScripts(t *testing.T) {
android.AssertStringListContains(t, "missing dependency on linker_scripts",
binFoo.Implicits.Strings(), "bar.ld")
android.AssertStringDoesContain(t, "missing flag for linker_scripts",
- libfoo.Args["ldFlags"], "-Wl,--script,foo.ld")
+ binFoo.Args["ldFlags"], "-Wl,--script,foo.ld")
android.AssertStringDoesContain(t, "missing flag for linker_scripts",
- libfoo.Args["ldFlags"], "-Wl,--script,bar.ld")
+ binFoo.Args["ldFlags"], "-Wl,--script,bar.ld")
}