| Index: build/android/gyp/util/build_utils.py
|
| diff --git a/build/android/pylib/build_utils.py b/build/android/gyp/util/build_utils.py
|
| similarity index 96%
|
| rename from build/android/pylib/build_utils.py
|
| rename to build/android/gyp/util/build_utils.py
|
| index c97f1ed03f3998f7838b963c97db872c8b0e800e..bdfa28aa8a5cd9c9f18d46c03060ab46361913e6 100644
|
| --- a/build/android/pylib/build_utils.py
|
| +++ b/build/android/gyp/util/build_utils.py
|
| @@ -71,7 +71,7 @@ def ReadJson(path):
|
| # particularly when the command fails, better highlights the command's failure.
|
| # This call will directly exit on a failure in the subprocess so that no python
|
| # stacktrace is printed after the output of the failed command.
|
| -def CheckCallDie(args, cwd=None):
|
| +def CheckCallDie(args, suppress_output=False, cwd=None):
|
| if not cwd:
|
| cwd = os.getcwd()
|
|
|
| @@ -97,7 +97,7 @@ def CheckCallDie(args, cwd=None):
|
| sys.exit(child.returncode)
|
|
|
| else:
|
| - if stdout:
|
| + if stdout and not suppress_output:
|
| print stdout,
|
| return stdout
|
|
|
|
|