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

Unified Diff: build/check_return_value.py

Issue 203163003: Use the system provided harfbuzz on chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 6 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 | « no previous file | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/check_return_value.py
diff --git a/tools/telemetry/find_dependencies b/build/check_return_value.py
similarity index 50%
copy from tools/telemetry/find_dependencies
copy to build/check_return_value.py
index 131f24dd62a6d328a04482a8fe87f98cf52d8a65..6f0daec3a751bdf4f043274f1196193929b5dd4b 100755
--- a/tools/telemetry/find_dependencies
+++ b/build/check_return_value.py
@@ -3,8 +3,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry.util import find_dependencies
+"""This program wraps an arbitrary command and prints "1" if the command ran
+successfully."""
+import subprocess
+import sys
-if __name__ == '__main__':
- find_dependencies.FindDependenciesCommand.main()
+if not subprocess.call(sys.argv[1:]):
+ print 1
+else:
+ print 0
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698