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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user