Merge "Use --frontend_file for ninja instead of cat"
This commit is contained in:
commit
701a5d6faf
2 changed files with 2 additions and 3 deletions
|
@ -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()...)
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue