Merge "Introduce vintf_fragment module type" into main

This commit is contained in:
Kiyoung Kim
2024-08-16 00:26:16 +00:00
committed by Gerrit Code Review
6 changed files with 147 additions and 0 deletions

View File

@@ -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.