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

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

Issue 197693002: [Android] Lint build/android/gyp/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/proguard.py
diff --git a/build/android/gyp/proguard.py b/build/android/gyp/proguard.py
index 12dec2ed50b20229655c9409409b2fd0baf5d21f..15b61f46c977c62d1c806eb5d79b5d7610cbbdf0 100755
--- a/build/android/gyp/proguard.py
+++ b/build/android/gyp/proguard.py
@@ -4,12 +4,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import fnmatch
import optparse
import os
import sys
-from util import build_utils
+from util import build_utils # pylint: disable=F0401
def DoProguard(options):
injars = options.input_path
@@ -29,7 +28,7 @@ def DoProguard(options):
build_utils.CheckOutput(proguard_cmd, print_stdout=True)
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--proguard-path',
help='Path to the proguard executable.')
@@ -50,4 +49,4 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())

Powered by Google App Engine
This is Rietveld 408576698