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

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

Issue 153743008: Revert of Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging with changes to pylib/linker/test_case.py. 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/push_libraries.py ('k') | build/android/gyp/util/build_device.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/strip_library_for_device.py
diff --git a/build/android/gyp/strip_library_for_device.py b/build/android/gyp/strip_library_for_device.py
index 28cbf62ee9113093f3c80526440660ab70d1ebf6..e4f53124e00d280433cdbe96c1f0996d954bdbf6 100755
--- a/build/android/gyp/strip_library_for_device.py
+++ b/build/android/gyp/strip_library_for_device.py
@@ -9,7 +9,7 @@ import optparse
import os
import sys
-from util import build_utils # pylint: disable=F0401
+from util import build_utils
def StripLibrary(android_strip, android_strip_args, library_path, output_path):
@@ -21,7 +21,7 @@ def StripLibrary(android_strip, android_strip_args, library_path, output_path):
-def main():
+def main(argv):
parser = optparse.OptionParser()
parser.add_option('--android-strip',
@@ -56,4 +56,4 @@ def main():
if __name__ == '__main__':
- sys.exit(main())
+ sys.exit(main(sys.argv))
« no previous file with comments | « build/android/gyp/push_libraries.py ('k') | build/android/gyp/util/build_device.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698