Merge "Move namespace mutator earlier to support defaults" am: 750024367e
am: 4a93b0ea47
Change-Id: I71cf27b087ca16bcb4b24694150630b57c3c359f
This commit is contained in:
commit
73b2c92b82
2 changed files with 2 additions and 2 deletions
|
@ -76,6 +76,7 @@ var preArch = []RegisterMutatorFunc{
|
|||
func(ctx RegisterMutatorsContext) {
|
||||
ctx.TopDown("load_hooks", loadHookMutator).Parallel()
|
||||
},
|
||||
RegisterNamespaceMutator,
|
||||
RegisterPrebuiltsPreArchMutators,
|
||||
RegisterDefaultsPreArchMutators,
|
||||
}
|
||||
|
@ -86,7 +87,6 @@ func registerArchMutator(ctx RegisterMutatorsContext) {
|
|||
}
|
||||
|
||||
var preDeps = []RegisterMutatorFunc{
|
||||
RegisterNamespaceMutator,
|
||||
registerArchMutator,
|
||||
}
|
||||
|
||||
|
|
|
@ -606,7 +606,7 @@ func setupTestFromFiles(bps map[string][]byte) (ctx *TestContext, errs []error)
|
|||
ctx.MockFileSystem(bps)
|
||||
ctx.RegisterModuleType("test_module", ModuleFactoryAdaptor(newTestModule))
|
||||
ctx.RegisterModuleType("soong_namespace", ModuleFactoryAdaptor(NamespaceFactory))
|
||||
ctx.PreDepsMutators(RegisterNamespaceMutator)
|
||||
ctx.PreArchMutators(RegisterNamespaceMutator)
|
||||
ctx.Register()
|
||||
|
||||
_, errs = ctx.ParseBlueprintsFiles("Android.bp")
|
||||
|
|
Loading…
Reference in a new issue