Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 701a5d6f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents cdf399c4 02736675
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()...)
+1 −2
Original line number Diff line number Diff line
@@ -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()