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

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

Issue 106923002: Don't use sys.exit() in build_utils.CheckCallDie(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/dex.py
diff --git a/build/android/gyp/dex.py b/build/android/gyp/dex.py
index f90de9529083ffa064767b2630c653f69c8cc557..1e6ca8aeee76e2d19057d3f3c3614565e1d9d76e 100755
--- a/build/android/gyp/dex.py
+++ b/build/android/gyp/dex.py
@@ -22,7 +22,7 @@ def DoDex(options, paths):
record_path = '%s.md5.stamp' % options.dex_path
md5_check.CallAndRecordIfStale(
- lambda: build_utils.CheckCallDie(dex_cmd, suppress_output=True),
+ lambda: build_utils.CheckOutput(dex_cmd, print_stderr=False),
record_path=record_path,
input_paths=paths,
input_strings=dex_cmd)

Powered by Google App Engine
This is Rietveld 408576698