Dedup package build components registration
Bug: 146540677 Test: m nothing Change-Id: Iff2d7063b7f06313e9068c61a5627229463c98dd
This commit is contained in:
@@ -87,8 +87,7 @@ func testPackage(fs map[string][]byte) (*TestContext, []error) {
|
||||
config := TestArchConfig(buildDir, nil, "", fs)
|
||||
|
||||
ctx := NewTestArchContext()
|
||||
ctx.RegisterModuleType("package", PackageFactory)
|
||||
ctx.PreArchMutators(RegisterPackageRenamer)
|
||||
RegisterPackageBuildComponents(ctx)
|
||||
ctx.Register(config)
|
||||
|
||||
_, errs := ctx.ParseBlueprintsFiles(".")
|
||||
|
Reference in New Issue
Block a user