Merge "Extract prepareForCcTest"

This commit is contained in:
Paul Duffin 2021-03-31 14:25:19 +00:00 committed by Gerrit Code Review
commit d11d199ba6
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ func TestMain(m *testing.M) {
var ccFixtureFactory = android.NewFixtureFactory(
&buildDir,
prepareForCcTest,
)
var prepareForCcTest = android.GroupFixturePreparers(
PrepareForTestWithCcIncludeVndk,
android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) {
variables.DeviceVndkVersion = StringPtr("current")