Fix broken darwin build.

Offending change - I7b64de4b06e9bba3fba3712b25dd9f9d112e1625

Test: sh_binary_test.go
Bug: 156980228
Fixes: 164465992
Change-Id: Idebfdf1ed7d8e10ba867c8eaac01410d754c7131
This commit is contained in:
Jaewoong Jung
2020-08-14 11:40:38 -07:00
parent 91dbd520de
commit 181cfdf898

View File

@@ -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")