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

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: rebase vs tot and only disabling F0401 in specific spots 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/emma_instr.py ('k') | build/android/gyp/gcc_preprocess.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..770ef1766de82a81ab5b6e6804c01c8db8dd14a5 100755
--- a/build/android/gyp/finalize_apk.py
+++ b/build/android/gyp/finalize_apk.py
@@ -13,7 +13,7 @@ import shutil
import sys
import tempfile
-from util import build_utils
+from util import build_utils # pylint: disable=F0401
def SignApk(keystore_path, unsigned_path, signed_path):
shutil.copy(unsigned_path, signed_path)
@@ -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())
« no previous file with comments | « build/android/gyp/emma_instr.py ('k') | build/android/gyp/gcc_preprocess.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698