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
This commit is contained in:
Usta Shrestha
2022-08-09 17:41:15 -04:00
parent e70f28c4fa
commit 96ff7227a0

View File

@@ -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 {