Merge "Pass Config to NewTestContext instead of ctx.Register"
This commit is contained in:
@@ -52,7 +52,7 @@ func newNameResolver(config android.Config) *android.NameResolver {
|
||||
}
|
||||
|
||||
func newContext(srcDir string, configuration android.Config) *android.Context {
|
||||
ctx := android.NewContext()
|
||||
ctx := android.NewContext(configuration)
|
||||
ctx.Register()
|
||||
if !shouldPrepareBuildActions() {
|
||||
configuration.SetStopBefore(bootstrap.StopBeforePrepareBuildActions)
|
||||
|
Reference in New Issue
Block a user