| Index: build/android/gyp/jar.py
|
| diff --git a/build/android/gyp/jar.py b/build/android/gyp/jar.py
|
| index fdcd4b24dc252f0c0d8b80caa8f62fb4cca65fe0..142f69f2837a05d7c8d5c340c659a87bbac61a9b 100755
|
| --- a/build/android/gyp/jar.py
|
| +++ b/build/android/gyp/jar.py
|
| @@ -9,8 +9,10 @@ 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):
|
| @@ -38,7 +40,7 @@ def DoJar(options):
|
| build_utils.Touch(options.jar_path)
|
|
|
|
|
| -def main(argv):
|
| +def main():
|
| parser = optparse.OptionParser()
|
| parser.add_option('--classes-dir', help='Directory containing .class files.')
|
| parser.add_option('--jar-path', help='Jar output path.')
|
| @@ -55,5 +57,5 @@ def main(argv):
|
|
|
|
|
| if __name__ == '__main__':
|
| - sys.exit(main(sys.argv))
|
| + sys.exit(main())
|
|
|
|
|