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

Unified Diff: build/android/gyp/write_ordered_libraries.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/write_ordered_libraries.py
diff --git a/build/android/gyp/write_ordered_libraries.py b/build/android/gyp/write_ordered_libraries.py
index 23becb01e0403e4c8f7ab24a7af5485e785955be..27fbe76e8b6c22842981b4adf1301aef11c6dc02 100755
--- a/build/android/gyp/write_ordered_libraries.py
+++ b/build/android/gyp/write_ordered_libraries.py
@@ -20,13 +20,12 @@ libraries that should be included in the APK.
# gyp, rather than calculating it ourselves.
# http://crbug.com/225558
-import json
import optparse
import os
import re
import sys
-from util import build_utils
+from util import build_utils # pylint: disable=F0401
_options = None
_library_re = re.compile(
@@ -92,7 +91,7 @@ def GetSortedTransitiveDependenciesForExecutable(executable):
return GetSortedTransitiveDependencies(libraries)
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--input-libraries',
@@ -120,6 +119,6 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())
« build/android/gyp/get_device_configuration.py ('K') | « build/android/gyp/util/md5_check_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698