Merge "Send soong output to std.log in multiproduct_kati"
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
|
||||||
"context"
|
"context"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
@@ -280,7 +279,7 @@ func main() {
|
|||||||
log.Fatalf("Error creating std.log: %v", err)
|
log.Fatalf("Error creating std.log: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
productLog := logger.New(&bytes.Buffer{})
|
productLog := logger.New(f)
|
||||||
productLog.SetOutput(filepath.Join(productLogDir, "soong.log"))
|
productLog.SetOutput(filepath.Join(productLogDir, "soong.log"))
|
||||||
|
|
||||||
productCtx := build.Context{&build.ContextImpl{
|
productCtx := build.Context{&build.ContextImpl{
|
||||||
|
Reference in New Issue
Block a user