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:
Liz Kammer 2021-08-18 08:06:09 +00:00 committed by Automerger Merge Worker
commit 0ca3e11123

View file

@ -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