Remove buildDir from cc package
Bug: 182885307 Test: m nothing Change-Id: I964af3cb9a3e7a1dfbd9d5176a702591f6b19f16
This commit is contained in:
@@ -199,7 +199,7 @@ func TestStubsVersions(t *testing.T) {
|
||||
},
|
||||
}
|
||||
`
|
||||
config := TestConfig(buildDir, android.Android, nil, bp, nil)
|
||||
config := TestConfig(t.TempDir(), android.Android, nil, bp, nil)
|
||||
config.TestProductVariables.Platform_version_active_codenames = []string{"R"}
|
||||
ctx := testCcWithConfig(t, config)
|
||||
|
||||
@@ -222,7 +222,7 @@ func TestStubsVersions_NotSorted(t *testing.T) {
|
||||
},
|
||||
}
|
||||
`
|
||||
config := TestConfig(buildDir, android.Android, nil, bp, nil)
|
||||
config := TestConfig(t.TempDir(), android.Android, nil, bp, nil)
|
||||
config.TestProductVariables.Platform_version_active_codenames = []string{"R"}
|
||||
testCcErrorWithConfig(t, `"libfoo" .*: versions: not sorted`, config)
|
||||
}
|
||||
|
Reference in New Issue
Block a user