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

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

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address frankf review comments. Created 6 years, 11 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
Index: build/android/gyp/lint.py
diff --git a/build/android/gyp/lint.py b/build/android/gyp/lint.py
index 339d98fd6e4fe7d87c61b3fe145defb467b1dac1..6ae7a32e4ed90bb4e297477064266c060efd4768 100755
--- a/build/android/gyp/lint.py
+++ b/build/android/gyp/lint.py
@@ -116,7 +116,7 @@ def _RunLint(lint_path, config_path, processed_config_path, manifest_path,
return 0
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--lint-path', help='Path to lint executable.')
parser.add_option('--config-path', help='Path to lint suppressions file.')
@@ -156,4 +156,4 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())

Powered by Google App Engine
This is Rietveld 408576698