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

Commit 223e3ae1 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

ui: Fix soong-executed ninja wrapping

For proper ninja smart terminal support, we need to pass stdin to
./soong. Otherwise it starts a new line if the terminal isn't wide
enough.

Test: `rm -rf out/soong/.bootstrap; m -j` in narrow terminal
Change-Id: I643a526001adc2323a420a03fa1df282554c7886
parent d9f6fa28
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ func runSoong(ctx Context, config Config) {
	env := config.Environment().Copy()
	env.Set("SKIP_NINJA", "true")
	cmd.Env = env.Environ()
	cmd.Stdin = ctx.Stdin()
	cmd.Stdout = ctx.Stdout()
	cmd.Stderr = ctx.Stderr()
	ctx.Verboseln(cmd.Path, cmd.Args)