Pass StopBefore as an argument to RunBlueprint.
Its value is a function of the call site, so it doesn't make a lot of sense to plumb it through the configuration. Test: Presubmits. Change-Id: If928b34de075969fd42932212ce9187808cbdf86
This commit is contained in:
@@ -263,7 +263,7 @@ func bootstrapBlueprint(ctx Context, config Config) {
|
||||
}
|
||||
|
||||
args.EmptyNinjaFile = false
|
||||
bootstrapDeps := bootstrap.RunBlueprint(args, blueprintCtx, blueprintConfig)
|
||||
bootstrapDeps := bootstrap.RunBlueprint(args, bootstrap.DoEverything, blueprintCtx, blueprintConfig)
|
||||
err := deptools.WriteDepFile(bootstrapDepFile, args.OutFile, bootstrapDeps)
|
||||
if err != nil {
|
||||
ctx.Fatalf("Error writing depfile '%s': %s", bootstrapDepFile, err)
|
||||
|
Reference in New Issue
Block a user