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

Unified Diff: build/android/gyp/create_standalone_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/create_native_libraries_header.py ('k') | build/android/gyp/dex.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/create_standalone_apk.py
diff --git a/build/android/gyp/create_standalone_apk.py b/build/android/gyp/create_standalone_apk.py
index 19520916803e43dc12c5b8daa45a49f95bce5e27..29aaa2b0713c0a8455f23467a67ea4e56f65bc94 100755
--- a/build/android/gyp/create_standalone_apk.py
+++ b/build/android/gyp/create_standalone_apk.py
@@ -14,8 +14,10 @@ import shutil
import sys
import tempfile
+# pylint: disable=F0401
from util import build_utils
from util import md5_check
+# pylint: enable=F0401
def CreateStandaloneApk(options):
def DoZip():
@@ -36,7 +38,7 @@ def CreateStandaloneApk(options):
input_paths=input_paths)
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--libraries-top-dir',
help='Top directory that contains libraries '
@@ -57,4 +59,4 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())
« no previous file with comments | « build/android/gyp/create_native_libraries_header.py ('k') | build/android/gyp/dex.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698