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..dcb5064cf28caaea59cb2f1c72a10d2984411871 100755 |
--- a/build/android/gyp/write_ordered_libraries.py |
+++ b/build/android/gyp/write_ordered_libraries.py |
@@ -20,7 +20,6 @@ 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 |
@@ -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()) |