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

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

Issue 13473017: CheckCallDie: add option to suppress successful output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: :/ Created 7 years, 9 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
« no previous file with comments | « build/android/gyp/create_native_libraries_header.py ('k') | build/android/gyp/gcc_preprocess.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/dex.py
diff --git a/build/android/gyp/dex.py b/build/android/gyp/dex.py
index 69d3d96ac29d0b00e58c905cf276104edf9cab4d..99834c4fe0908ae83fb094ba0206ea16c57dbc53 100755
--- a/build/android/gyp/dex.py
+++ b/build/android/gyp/dex.py
@@ -9,13 +9,9 @@ import optparse
import os
import sys
+from util import build_utils
from util import md5_check
-BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), '..')
-sys.path.append(BUILD_ANDROID_DIR)
-
-from pylib import build_utils
-
def DoDex(options, paths):
dx_binary = os.path.join(options.android_sdk_root, 'platform-tools', 'dx')
@@ -25,7 +21,7 @@ def DoDex(options, paths):
md5_checker = md5_check.Md5Checker(
stamp=md5_stamp, inputs=paths, command=dex_cmd)
if md5_checker.IsStale():
- build_utils.CheckCallDie(dex_cmd)
+ build_utils.CheckCallDie(dex_cmd, suppress_output=True)
else:
build_utils.Touch(options.dex_path)
md5_checker.Write()
« no previous file with comments | « build/android/gyp/create_native_libraries_header.py ('k') | build/android/gyp/gcc_preprocess.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698