Extract prepareForCcTest

Bug: 182885307
Test: m nothing
Change-Id: Ica17d20775c6dae00978f0f84f768fdaaf55e031
This commit is contained in:
Paul Duffin 2021-03-22 23:20:25 +00:00
parent dd3797b44e
commit 2e6f90e0d0
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")