DescriptionElide gn desc --tree output by default.
When gn's desc command is used with --tree, it prints a dependency tree. But recursively printing the dependency tree of a high-level target in Chrome prints too much output to be useful because it's printing, e.g. base and it's deps over and over (//chrome/browser-s --tree is 3210166 lines).
With this patch, a target will be recursed into the first time it's printed, but subsequent times the children will be elided with "..." This brings down //chrome/browser to 2050 lines. The previous behavior is still available (it could be useful in certain cases) via "--tree --all".
This also updates an optimization comment in the the optimization setup (optimize_max isn't just Windows-only).
R=dalecurtis@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287424
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|