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

Commit 96ff7227 authored by Usta Shrestha's avatar Usta Shrestha
Browse files

soong_ui to reject "showcommands"

deprecated flag that simply adds 5s to a build
the `ctx.Done()` signal handling is unnecessary because of clean-up hooks already in place

Test: m libc
Bug: N/A
Change-Id: Ica12d727264af1e61e97393bc8cbeba9f78cbc83
parent e70f28c4
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -489,11 +489,7 @@ func runMake(ctx build.Context, config build.Config, _ []string, logsDir string)
		fmt.Fprintln(writer, "!")
		fmt.Fprintln(writer, "! Older versions are saved in verbose.log.#.gz files")
		fmt.Fprintln(writer, "")
		select {
		case <-time.After(5 * time.Second):
		case <-ctx.Done():
			return
		}
		ctx.Fatal("done")
	}

	if _, ok := config.Environment().Get("ONE_SHOT_MAKEFILE"); ok {