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..bb91a2a1f5909ae7040b0274c2d5e033017d992a 100755 |
--- a/build/android/gyp/create_native_libraries_header.py |
+++ b/build/android/gyp/create_native_libraries_header.py |
@@ -21,7 +21,7 @@ import sys |
from util import build_utils |
-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()) |