summaryrefslogtreecommitdiff
path: root/sysprop/sysprop_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2019-12-19 11:18:54 +0000
committer Paul Duffin <paulduffin@google.com> 2019-12-19 19:19:40 +0000
commit43dc1cc2bcb600cfaa0ca49788bc13d3d915c3f1 (patch)
treee76de923645bbc373be0c18d777308cc23e726f0 /sysprop/sysprop_test.go
parentb0f850784acef479cfc1b351ffb6196f12ebda85 (diff)
Dedup system modules and sdk library module type registration
Test: m checkbuild Bug: 146540677 Change-Id: I982fcb8d723e8e2f7679434051ddc427d4fbd7be
Diffstat (limited to 'sysprop/sysprop_test.go')
-rw-r--r--sysprop/sysprop_test.go3
1 files changed, 2 insertions, 1 deletions
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)