diff options
author | 2024-08-12 11:15:19 +0900 | |
---|---|---|
committer | 2024-08-14 10:34:41 +0900 | |
commit | faf6af31cdee65cfe4dbc26eafff4e9321c67b93 (patch) | |
tree | 7de70239d8c69111f8ea71b8491fcc055a0f39c0 /android/testing.go | |
parent | d0338d3565cf1efcf27d7932e4ed62faa09a6076 (diff) |
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
Diffstat (limited to 'android/testing.go')
-rw-r--r-- | android/testing.go | 5 |
1 files changed, 5 insertions, 0 deletions
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. |