summaryrefslogtreecommitdiff
path: root/sh/sh_binary_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2022-02-10 10:34:19 -0800
committer Colin Cross <ccross@android.com> 2022-02-10 11:50:31 -0800
commit06c80eb851efa51e8fd52e105670fc324f666368 (patch)
tree8a54c1a9baf89ea420455da079146ea51bb70e40 /sh/sh_binary_test.go
parent72ee67659d4a59bf544a748a75c640f7a01116f5 (diff)
Add builtins and minimal runtime as dependencies instead of flags
Use dependencies instead of libflags to link libclang_rt.builtins and libclang_rt.ubsan_minimal. Test: m checkbuild Change-Id: I403cee0fb8cc21c347b42d8f8a3c20d6f43337a4
Diffstat (limited to 'sh/sh_binary_test.go')
-rw-r--r--sh/sh_binary_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/sh_binary_test.go b/sh/sh_binary_test.go
index 7fe1d8538..89b8126f1 100644
--- a/sh/sh_binary_test.go
+++ b/sh/sh_binary_test.go
@@ -37,6 +37,8 @@ var prepareForShTest = android.GroupFixturePreparers(
//
// deprecated
func testShBinary(t *testing.T, bp string) (*android.TestContext, android.Config) {
+ bp = bp + cc.GatherRequiredDepsForTest(android.Android)
+
result := prepareForShTest.RunTestWithBp(t, bp)
return result.TestContext, result.Config