Dedup system modules and sdk library module type registration
Test: m checkbuild Bug: 146540677 Change-Id: I982fcb8d723e8e2f7679434051ddc427d4fbd7be
This commit is contained in:
@@ -58,7 +58,8 @@ func testContext(config android.Config) *android.TestContext {
|
||||
ctx := android.NewTestArchContext()
|
||||
java.RegisterJavaBuildComponents(ctx)
|
||||
java.RegisterAppBuildComponents(ctx)
|
||||
ctx.RegisterModuleType("java_system_modules", java.SystemModulesFactory)
|
||||
java.RegisterSystemModulesBuildComponents(ctx)
|
||||
|
||||
ctx.PreArchMutators(android.RegisterPrebuiltsPreArchMutators)
|
||||
ctx.PreArchMutators(android.RegisterPrebuiltsPostDepsMutators)
|
||||
ctx.PreArchMutators(android.RegisterDefaultsPreArchMutators)
|
||||
|
Reference in New Issue
Block a user