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

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

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/finalize_apk.py
diff --git a/build/android/gyp/finalize_apk.py b/build/android/gyp/finalize_apk.py
index 6e4685ce6d1f610c5a4a6fbb3cee386eb1782b41..52767cfcbe8352617426ddd31b4f24e361e741bc 100755
--- a/build/android/gyp/finalize_apk.py
+++ b/build/android/gyp/finalize_apk.py
@@ -39,7 +39,7 @@ def AlignApk(android_sdk_root, unaligned_path, final_path):
build_utils.CheckOutput(align_cmd)
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--android-sdk-root', help='Android sdk root directory.')
@@ -64,6 +64,6 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())

Powered by Google App Engine
This is Rietveld 408576698