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

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

Issue 197693002: [Android] Lint build/android/gyp/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: now using extra_paths_list to avoid F0401s Created 6 years, 9 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/jar_toc.py ('k') | build/android/gyp/lint.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/javac.py
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py
index f61d2124f83c7abee97192dfb2bf553f84832c24..d36427b671a2fb2869b680adb30f95f485e588b5 100755
--- a/build/android/gyp/javac.py
+++ b/build/android/gyp/javac.py
@@ -74,7 +74,7 @@ def DoJavac(options, args):
input_strings=javac_cmd)
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--src-gendirs',
help='Directories containing generated java files.')
@@ -100,6 +100,6 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())
« no previous file with comments | « build/android/gyp/jar_toc.py ('k') | build/android/gyp/lint.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698