Dedup prebuilt mutator registration

Test: m checkbuild
Bug: 146540677
Change-Id: I9f8a11adf61fe6f352ec1eabc7c5bac332348ba2
This commit is contained in:
Paul Duffin
2019-12-19 15:11:53 +00:00
parent 77980a8bb9
commit 0c4979bbdf
7 changed files with 11 additions and 22 deletions

View File

@@ -60,8 +60,7 @@ func testContext(config android.Config) *android.TestContext {
java.RegisterAppBuildComponents(ctx)
java.RegisterSystemModulesBuildComponents(ctx)
ctx.PreArchMutators(android.RegisterPrebuiltsPreArchMutators)
ctx.PreArchMutators(android.RegisterPrebuiltsPostDepsMutators)
android.RegisterPrebuiltMutators(ctx)
ctx.PreArchMutators(android.RegisterDefaultsPreArchMutators)
ctx.PreArchMutators(func(ctx android.RegisterMutatorsContext) {
ctx.BottomUp("sysprop_deps", syspropDepsMutator).Parallel()