Merge "Log the command line to soong.log when soong_ui starts" into main
This commit is contained in:
commit
90d8f5514d
1 changed files with 5 additions and 0 deletions
|
@ -218,6 +218,11 @@ func main() {
|
|||
|
||||
trace.SetOutput(filepath.Join(logsDir, c.logsPrefix+"build.trace"))
|
||||
|
||||
log.Verbose("Command Line: ")
|
||||
for i, arg := range os.Args {
|
||||
log.Verbosef(" [%d] %s", i, arg)
|
||||
}
|
||||
|
||||
defer func() {
|
||||
stat.Finish()
|
||||
criticalPath.WriteToMetrics(met)
|
||||
|
|
Loading…
Reference in a new issue