Add workaround for a file with an mtime in the future
Bug: 291828210 Test: `m` repeatedly, and see ninja say there's no work to do on the second run Change-Id: I0e1e5a82ebd25e9eec5daea90eb72db0ac085f34
This commit is contained in:
@@ -1336,6 +1336,9 @@ func createCommand(cmd *RuleBuilderCommand, buildStatement *bazel.BuildStatement
|
||||
for _, outputPath := range buildStatement.OutputPaths {
|
||||
cmd.ImplicitOutput(PathForBazelOut(ctx, outputPath))
|
||||
}
|
||||
for _, inputPath := range buildStatement.OrderOnlyInputs {
|
||||
cmd.OrderOnly(PathForBazelOut(ctx, inputPath))
|
||||
}
|
||||
for _, inputPath := range buildStatement.InputPaths {
|
||||
cmd.Implicit(PathForBazelOut(ctx, inputPath))
|
||||
}
|
||||
|
Reference in New Issue
Block a user