Index: build/android/gyp/create_standalone_apk.py |
diff --git a/build/android/gyp/create_standalone_apk.py b/build/android/gyp/create_standalone_apk.py |
index 29aaa2b0713c0a8455f23467a67ea4e56f65bc94..19520916803e43dc12c5b8daa45a49f95bce5e27 100755 |
--- a/build/android/gyp/create_standalone_apk.py |
+++ b/build/android/gyp/create_standalone_apk.py |
@@ -14,10 +14,8 @@ import shutil |
import sys |
import tempfile |
-# pylint: disable=F0401 |
from util import build_utils |
from util import md5_check |
-# pylint: enable=F0401 |
def CreateStandaloneApk(options): |
def DoZip(): |
@@ -38,7 +36,7 @@ def CreateStandaloneApk(options): |
input_paths=input_paths) |
-def main(): |
+def main(argv): |
parser = optparse.OptionParser() |
parser.add_option('--libraries-top-dir', |
help='Top directory that contains libraries ' |
@@ -59,4 +57,4 @@ def main(): |
if __name__ == '__main__': |
- sys.exit(main()) |
+ sys.exit(main(sys.argv)) |