summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Kiyoung Kim <kiyoungkim@google.com> 2024-08-16 00:26:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-16 00:26:16 +0000
commitdd00f2de3cb65c2ad6811ad8edd34bdafdb3af82 (patch)
tree0df5cdae7f2c7091c4ee5dfd4eb7b1ce9c4ecb55 /android/testing.go
parent334efc0fb1c53ff7aeeafea45deb890e47a08154 (diff)
parentfaf6af31cdee65cfe4dbc26eafff4e9321c67b93 (diff)
Merge "Introduce vintf_fragment module type" into main
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/testing.go b/android/testing.go
index a3e35cb99..79d0c9b41 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.