diff options
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 b36f62cce..17a812ea1 100644 --- a/android/testing.go +++ b/android/testing.go @@ -110,6 +110,11 @@ var PrepareForTestWithLicenseDefaultModules = GroupFixturePreparers( FixtureAddFile("build/soong/licenses/LICENSE", nil), ) +var PrepareForTestWithNamespace = FixtureRegisterWithContext(func(ctx RegistrationContext) { + registerNamespaceBuildComponents(ctx) + ctx.PreArchMutators(RegisterNamespaceMutator) +}) + // 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 |