Merge "Send soong output to std.log in multiproduct_kati"

This commit is contained in:
Treehugger Robot 2017-11-12 01:33:47 +00:00 committed by Gerrit Code Review
commit 08bb51cdc5

View file

@ -15,7 +15,6 @@
package main
import (
"bytes"
"context"
"flag"
"fmt"
@ -280,7 +279,7 @@ func main() {
log.Fatalf("Error creating std.log: %v", err)
}
productLog := logger.New(&bytes.Buffer{})
productLog := logger.New(f)
productLog.SetOutput(filepath.Join(productLogDir, "soong.log"))
productCtx := build.Context{&build.ContextImpl{