Index: build/android/gyp/dex.py |
diff --git a/build/android/gyp/dex.py b/build/android/gyp/dex.py |
index 7165b0e104f1b49620a3f78befbda491c07c89ac..1e6ca8aeee76e2d19057d3f3c3614565e1d9d76e 100755 |
--- a/build/android/gyp/dex.py |
+++ b/build/android/gyp/dex.py |
@@ -8,10 +8,8 @@ import optparse |
import os |
import sys |
-# pylint: disable=F0401 |
from util import build_utils |
from util import md5_check |
-# pylint: enable=F0401 |
def DoDex(options, paths): |
@@ -32,7 +30,7 @@ def DoDex(options, paths): |
build_utils.Touch(options.dex_path) |
-def main(): |
+def main(argv): |
parser = optparse.OptionParser() |
parser.add_option('--android-sdk-tools', |
help='Android sdk build tools directory.') |
@@ -64,4 +62,4 @@ def main(): |
if __name__ == '__main__': |
- sys.exit(main()) |
+ sys.exit(main(sys.argv)) |