Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4191)

Unified Diff: build/android/gyp/proguard.py

Issue 1565433002: Fix up proguard output filtering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non-capturing groups Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/gyp/proguard.py
diff --git a/build/android/gyp/proguard.py b/build/android/gyp/proguard.py
index 24843544d9fdcc340962aeafc9ae9fdaedf64b5a..4bbb5d50f442598d06046769a14b6030c727cf4f 100755
--- a/build/android/gyp/proguard.py
+++ b/build/android/gyp/proguard.py
@@ -31,6 +31,8 @@ def _ParseOptions(args):
parser.add_option('--classpath', action='append',
help='Classpath for proguard.')
parser.add_option('--stamp', help='Path to touch on success.')
+ parser.add_option('--verbose', '-v', action='store_true',
+ help='Print all proguard output')
options, _ = parser.parse_args(args)
@@ -63,7 +65,7 @@ def main(args):
input_paths = proguard.GetInputs()
build_utils.CallAndWriteDepfileIfStale(
- proguard.CheckOutput,
+ lambda: proguard.CheckOutput(options.verbose),
options,
input_paths=input_paths,
input_strings=proguard.build(),

Powered by Google App Engine
This is Rietveld 408576698