From 43dc1cc2bcb600cfaa0ca49788bc13d3d915c3f1 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Thu, 19 Dec 2019 11:18:54 +0000 Subject: Dedup system modules and sdk library module type registration Test: m checkbuild Bug: 146540677 Change-Id: I982fcb8d723e8e2f7679434051ddc427d4fbd7be --- sysprop/sysprop_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysprop/sysprop_test.go') diff --git a/sysprop/sysprop_test.go b/sysprop/sysprop_test.go index d44f4cf2f..d24262dde 100644 --- a/sysprop/sysprop_test.go +++ b/sysprop/sysprop_test.go @@ -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) -- cgit v1.2.3-59-g8ed1b