Descriptiondiagnose_bloat.py: update logging and general clean up.
Changed the script to use the logging module where possible and added a
--silent flag that hides gclient/ninja output. Also added stderr to
Ninja output so that users can check why a build failed.
Changed the branch restore function to use atexit so that the original
branch will be restored if ctrl-c is pressed while another rev is
checked out.
BUG=695182
Review-Url: https://codereview.chromium.org/2857073002
Cr-Commit-Position: refs/heads/master@{#469043}
Committed: https://chromium.googlesource.com/chromium/src/+/40a227b78d6fed53d06420553275557179546502
Patch Set 1 #Patch Set 2 : diagnose_apk_bloat.py: more error messages. #Patch Set 3 : --silent help, metadata and step string #
Messages
Total messages: 8 (4 generated)
|