Index: build/android/jar.py |
diff --git a/build/android/jar.py b/build/android/jar.py |
index fa5591d54e65206d902197cfc12ddec591457afa..9120a7902054ef5dd06ef4b5dbd2f28cde801af5 100755 |
--- a/build/android/jar.py |
+++ b/build/android/jar.py |
@@ -7,7 +7,6 @@ |
import fnmatch |
import optparse |
import os |
-import subprocess |
import sys |
from pylib import build_utils |
@@ -27,7 +26,7 @@ def DoJar(options): |
jar_cwd = options.classes_dir |
class_files = [os.path.relpath(f, jar_cwd) for f in class_files] |
jar_cmd = ['jar', 'cf0', jar_path] + class_files |
- subprocess.check_call(jar_cmd, cwd=jar_cwd) |
+ build_utils.CheckCallDie(jar_cmd, cwd=jar_cwd) |
def main(argv): |