From 2e6f90e0d0ea43e15a29669e6c94be381cc7431c Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 22 Mar 2021 23:20:25 +0000 Subject: [PATCH] Extract prepareForCcTest Bug: 182885307 Test: m nothing Change-Id: Ica17d20775c6dae00978f0f84f768fdaaf55e031 --- cc/cc_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cc/cc_test.go b/cc/cc_test.go index 205c71fa8..ab4ef6cff 100644 --- a/cc/cc_test.go +++ b/cc/cc_test.go @@ -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")