Index: build/android/gyp/create_native_libraries_header.py |
diff --git a/build/android/gyp/create_native_libraries_header.py b/build/android/gyp/create_native_libraries_header.py |
index a906439ad183e029169df9d3c8eff65b2dfda7d6..bd7b06e93619698c348b3c79449f17372e079636 100755 |
--- a/build/android/gyp/create_native_libraries_header.py |
+++ b/build/android/gyp/create_native_libraries_header.py |
@@ -18,10 +18,10 @@ import optparse |
import os |
import sys |
-from util import build_utils |
+from util import build_utils # pylint: disable=F0401 |
-def main(argv): |
+def main(): |
parser = optparse.OptionParser() |
parser.add_option('--native-library-list', |
@@ -44,7 +44,7 @@ def main(argv): |
# "content_shell_content_view" }' from a list of the form ["libbase.so", |
# libnet.so", "libcontent_shell_content_view.so"] |
libraries = ['"' + lib[3:-3] + '"' for lib in libraries] |
- array = '= { ' + ', '.join(libraries) + '}'; |
+ array = '= { ' + ', '.join(libraries) + '}' |
with open(options.native_library_list, 'w') as header: |
header.write(array) |
@@ -53,4 +53,4 @@ def main(argv): |
header.write('= "%s"' % options.version_name) |
if __name__ == '__main__': |
- sys.exit(main(sys.argv)) |
+ sys.exit(main()) |