Merge "Use --frontend_file for ninja instead of cat"

This commit is contained in:
Treehugger Robot
2018-07-18 07:29:31 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ func runNinja(ctx Context, config Config) {
executable := config.PrebuiltBuildTool("ninja")
args := []string{
"-d", "keepdepfile",
fmt.Sprintf("--frontend=cat <&3 >%s", fifo),
"--frontend_file", fifo,
}
args = append(args, config.NinjaArgs()...)

View File

@@ -15,7 +15,6 @@
package build
import (
"fmt"
"os"
"path/filepath"
"strconv"
@@ -116,7 +115,7 @@ func runSoong(ctx Context, config Config) {
"-d", "keepdepfile",
"-w", "dupbuild=err",
"-j", strconv.Itoa(config.Parallel()),
fmt.Sprintf("--frontend=cat <&3 >%s", fifo),
"--frontend_file", fifo,
"-f", filepath.Join(config.SoongOutDir(), file))
cmd.Sandbox = soongSandbox
cmd.RunAndPrintOrFatal()