Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e6f90e0 authored by Paul Duffin's avatar Paul Duffin
Browse files

Extract prepareForCcTest

Bug: 182885307
Test: m nothing
Change-Id: Ica17d20775c6dae00978f0f84f768fdaaf55e031
parent dd3797b4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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")