Index: build/android/gyp/apk_install.py |
diff --git a/build/android/gyp/apk_install.py b/build/android/gyp/apk_install.py |
index ff610cb7380a683e3da8465660f38926a37743f4..c0c9b6b88cf587410ff2c1ea68a3be643d44d051 100755 |
--- a/build/android/gyp/apk_install.py |
+++ b/build/android/gyp/apk_install.py |
@@ -11,7 +11,6 @@ |
import optparse |
import os |
import re |
-import subprocess |
import sys |
from util import build_device |
@@ -55,7 +54,7 @@ def RecordInstallMetadata(device, apk_package, metadata_path): |
outfile.write(metadata) |
-def main(argv): |
+def main(): |
parser = optparse.OptionParser() |
parser.add_option('--apk-path', |
help='Path to .apk to install.') |
@@ -103,4 +102,4 @@ def main(argv): |
if __name__ == '__main__': |
- sys.exit(main(sys.argv)) |
+ sys.exit(main()) |