aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2020-08-14 11:40:38 -0700
committerJaewoong Jung <jungjw@google.com>2020-08-14 18:44:23 +0000
commit181cfdf8988c9c0ce039a802d49793875bf92190 (patch)
tree0f3abf884496ebd3d3697969c58cbfe0d3c097dc /sh
parent91dbd520dec7abcca8983792df4369401e7aa963 (diff)
downloadsoong-181cfdf8988c9c0ce039a802d49793875bf92190.tar.gz
Fix broken darwin build.
Offending change - I7b64de4b06e9bba3fba3712b25dd9f9d112e1625 Test: sh_binary_test.go Bug: 156980228 Fixes: 164465992 Change-Id: Idebfdf1ed7d8e10ba867c8eaac01410d754c7131
Diffstat (limited to 'sh')
-rw-r--r--sh/sh_binary_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/sh_binary_test.go b/sh/sh_binary_test.go
index c987123f2..3f2f16f51 100644
--- a/sh/sh_binary_test.go
+++ b/sh/sh_binary_test.go
@@ -211,7 +211,8 @@ func TestShTestHost_dataDeviceModules(t *testing.T) {
}
`)
- variant := ctx.ModuleForTests("foo", "linux_glibc_x86_64")
+ buildOS := android.BuildOs.String()
+ variant := ctx.ModuleForTests("foo", buildOS+"_x86_64")
relocated := variant.Output("relocated/lib64/libbar.so")
expectedInput := filepath.Join(buildDir, ".intermediates/libbar/android_arm64_armv8-a_shared/libbar.so")