Index: build/android/gyp/javac.py |
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py |
index e060d734dd78997a6f010808f191d4024b809d94..22a4f97d8743f8595fe14d5512eba71cfb566447 100755 |
--- a/build/android/gyp/javac.py |
+++ b/build/android/gyp/javac.py |
@@ -9,10 +9,8 @@ import optparse |
import os |
import sys |
-# pylint: disable=F0401 |
from util import build_utils |
from util import md5_check |
-# pylint: enable=F0401 |
def DoJavac(options): |
@@ -71,7 +69,7 @@ def DoJavac(options): |
input_strings=javac_cmd) |
-def main(): |
+def main(argv): |
parser = optparse.OptionParser() |
parser.add_option('--src-dirs', help='Directories containing java files.') |
parser.add_option('--javac-includes', |
@@ -96,6 +94,6 @@ def main(): |
if __name__ == '__main__': |
- sys.exit(main()) |
+ sys.exit(main(sys.argv)) |