Use pretty print for json module graph am: 6e4ee8db2d
am: 32d736310a
am: 1dcc33f114
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1799130 Change-Id: I4f0dc1b7f362a8188d8ac70298a892461c1d1715
This commit is contained in:
commit
0ca3e11123
1 changed files with 3 additions and 1 deletions
|
@ -2340,7 +2340,9 @@ func (c *Context) PrintJSONGraph(w io.Writer) {
|
|||
modules = append(modules, jm)
|
||||
}
|
||||
|
||||
json.NewEncoder(w).Encode(modules)
|
||||
e := json.NewEncoder(w)
|
||||
e.SetIndent("", "\t")
|
||||
e.Encode(modules)
|
||||
}
|
||||
|
||||
// PrepareBuildActions generates an internal representation of all the build
|
||||
|
|
Loading…
Reference in a new issue