Chromium Code Reviews| Index: testing/android/generate_native_test.py |
| diff --git a/testing/android/generate_native_test.py b/testing/android/generate_native_test.py |
| index e71fbbee359b686190276b60fe309d2013f9da2d..964983c80c82c4dbdc0ea254a64053dede0118de 100755 |
| --- a/testing/android/generate_native_test.py |
| +++ b/testing/android/generate_native_test.py |
| @@ -180,10 +180,10 @@ def main(argv): |
| help='Output directory for generated files.') |
| parser.add_option('--app_abi', default='armeabi', |
| help='ABI for native shared library') |
| - parser.add_option('--ant-compile', action='store_true', |
| - help=('If specified, build the generated apk with ant. ' |
| - 'Otherwise assume compiling within the Android ' |
| - 'source tree using Android.mk.')) |
| + parser.add_option('--ant-compile', type='int', default=0, |
|
nilesh
2012/08/01 13:49:43
Maybe we should remove "--ant-compile" from DumpRe
Peter Beverloo
2012/08/01 15:11:56
By following Marcus' suggestion about renaming the
|
| + help='If set to 1, build the generated apk with ant. ' |
| + 'Otherwise assume compiling within the Android ' |
| + 'source tree using Android.mk.') |
| parser.add_option('--ant-args', |
| help='extra args for ant') |