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() |