Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: build/android/gyp/jar.py

Issue 153743008: Revert of Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging with changes to pylib/linker/test_case.py. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/gyp/get_device_configuration.py ('k') | build/android/gyp/jar_toc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « build/android/gyp/get_device_configuration.py ('k') | build/android/gyp/jar_toc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698