Clean up logging in MB.
commite0547cd084409dd5f6c336a2babb47ca28a66d1f
authordpranke <dpranke@chromium.org>
Tue, 15 Sep 2015 01:27:40 +0000 (14 18:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 15 Sep 2015 01:28:17 +0000 (15 01:28 +0000)
tree00cd75fa7338a0446f76bc4815c4332babf03141
parente9d0970c4ff069bc74194ae9a457c54b6938c98a
Clean up logging in MB.

By default, the bots run `mb -v`, which dumps a lot of output,
especially when generating isolates for GN. This patch cleans
up a lot of the output so that we log a minimal subset most of the
time and more on errors (but -v will still dump everything).

In the common (non-error) case, this means that we'll get only 1-2
lines of output per MB invocation.

In addition, this patch removes the --quiet flag (which was never used)
and the RunGNIsolate() function, which was never called, and fixes
a minor but annoying issue where we would list the same dependency
multiple times in the analyze results.

R=thakis@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1342563002

Cr-Commit-Position: refs/heads/master@{#348806}
tools/mb/mb.py
tools/mb/mb_unittest.py