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

Unified Diff: build/android/gyp/write_ordered_libraries.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/util/build_utils.py ('k') | build/android/java_cpp_template.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/write_ordered_libraries.py
diff --git a/build/android/gyp/write_ordered_libraries.py b/build/android/gyp/write_ordered_libraries.py
index 4ca54cd62da4719e7c3158c49d4d89a563fffc8b..338090f0554038a14ba72e76b853a355d2d50011 100755
--- a/build/android/gyp/write_ordered_libraries.py
+++ b/build/android/gyp/write_ordered_libraries.py
@@ -26,10 +26,7 @@ import os
import re
import sys
-BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), '..')
-sys.path.append(BUILD_ANDROID_DIR)
-
-from pylib import build_utils
+from util import build_utils
_options = None
@@ -52,7 +49,7 @@ def CallReadElf(library_name):
readelf_cmd = [_options.readelf,
'-d',
FullLibraryPath(library_name)]
- return build_utils.CheckCallDie(readelf_cmd)
+ return build_utils.CheckCallDie(readelf_cmd, suppress_output=True)
def GetDependencies(library_name):
« no previous file with comments | « build/android/gyp/util/build_utils.py ('k') | build/android/java_cpp_template.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698