summaryrefslogtreecommitdiffstats
path: root/build/android/gyp/jar_toc.py
diff options
context:
space:
mode:
authorjbudorick@chromium.org <jbudorick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 23:09:28 +0000
committerjbudorick@chromium.org <jbudorick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 23:09:28 +0000
commit6c030da70f93387fa7edea5116e52931f136e691 (patch)
tree2f7845cac6975004b6bd2ead02932f0715bc950e /build/android/gyp/jar_toc.py
parentd461a1f9fecc1009a7c93b19f43ba69c4ef11afc (diff)
downloadchromium_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-xbuild/android/gyp/jar_toc.py5
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())