diff options
author | jbudorick@chromium.org <jbudorick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 23:09:28 +0000 |
---|---|---|
committer | jbudorick@chromium.org <jbudorick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 23:09:28 +0000 |
commit | 6c030da70f93387fa7edea5116e52931f136e691 (patch) | |
tree | 2f7845cac6975004b6bd2ead02932f0715bc950e /build/android/gyp/jar_toc.py | |
parent | d461a1f9fecc1009a7c93b19f43ba69c4ef11afc (diff) | |
download | chromium_src-6c030da70f93387fa7edea5116e52931f136e691.zip chromium_src-6c030da70f93387fa7edea5116e52931f136e691.tar.gz chromium_src-6c030da70f93387fa7edea5116e52931f136e691.tar.bz2 |
[Android] Lint build/android/gyp/.
BUG=168518
Review URL: https://codereview.chromium.org/197693002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/gyp/jar_toc.py')
-rwxr-xr-x | build/android/gyp/jar_toc.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build/android/gyp/jar_toc.py b/build/android/gyp/jar_toc.py index ca3152f..1122f68 100755 --- a/build/android/gyp/jar_toc.py +++ b/build/android/gyp/jar_toc.py @@ -18,7 +18,6 @@ rebuild, will have a corresponding change in the TOC file. """ import optparse -import os import re import sys import zipfile @@ -91,7 +90,7 @@ def DoJarToc(options): build_utils.Touch(toc_path) -def main(argv): +def main(): parser = optparse.OptionParser() parser.add_option('--jar-path', help='Input .jar path.') parser.add_option('--toc-path', help='Output .jar.TOC path.') @@ -106,4 +105,4 @@ def main(argv): if __name__ == '__main__': - sys.exit(main(sys.argv)) + sys.exit(main()) |