Index: build/android/gyp/jar.py |
diff --git a/build/android/gyp/jar.py b/build/android/gyp/jar.py |
index 2b3697ce13b2fcabc34e3b1186ec91afe784f26a..cf731cd53a996cac7b3b9463e90224374c0e9b8a 100755 |
--- a/build/android/gyp/jar.py |
+++ b/build/android/gyp/jar.py |
@@ -9,10 +9,8 @@ import optparse |
import os |
import sys |
-# pylint: disable=F0401 |
from util import build_utils |
from util import md5_check |
-# pylint: enable=F0401 |
def DoJar(options): |
@@ -40,7 +38,7 @@ def DoJar(options): |
build_utils.Touch(options.jar_path) |
-def main(): |
+def main(argv): |
parser = optparse.OptionParser() |
parser.add_option('--classes-dir', help='Directory containing .class files.') |
parser.add_option('--jar-path', help='Jar output path.') |
@@ -60,5 +58,5 @@ def main(): |
if __name__ == '__main__': |
- sys.exit(main()) |
+ sys.exit(main(sys.argv)) |