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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user