From faf6af31cdee65cfe4dbc26eafff4e9321c67b93 Mon Sep 17 00:00:00 2001 From: Kiyoung Kim Date: Mon, 12 Aug 2024 11:15:19 +0900 Subject: Introduce vintf_fragment module type Introduce a new vintf_fragment module type which handles vintf_fragment files within Soong. This will help process to move vintf_fragment handling logic from KATI to Soong. This change also introduces vintf_fragment_modules property to mark dependency with vintf_fragment modules. Bug: 322089980 Test: m nothing --no-skip-soong-tests passed Change-Id: I49607f42aeee3ded0ba7b078b903dc35f5d61637 --- android/testing.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'android/testing.go') diff --git a/android/testing.go b/android/testing.go index dae787b7f..3a6643941 100644 --- a/android/testing.go +++ b/android/testing.go @@ -126,6 +126,10 @@ var PrepareForTestWithMakevars = FixtureRegisterWithContext(func(ctx Registratio ctx.RegisterSingletonType("makevars", makeVarsSingletonFunc) }) +var PrepareForTestVintfFragmentModules = FixtureRegisterWithContext(func(ctx RegistrationContext) { + registerVintfFragmentComponents(ctx) +}) + // Test fixture preparer that will register most java build components. // // Singletons and mutators should only be added here if they are needed for a majority of java @@ -149,6 +153,7 @@ var PrepareForTestWithAndroidBuildComponents = GroupFixturePreparers( PrepareForTestWithPackageModule, PrepareForTestWithPrebuilts, PrepareForTestWithVisibility, + PrepareForTestVintfFragmentModules, ) // Prepares an integration test with all build components from the android package. -- cgit v1.2.3-59-g8ed1b