Index: build/android/pylib/test_options_parser.py |
diff --git a/build/android/pylib/test_options_parser.py b/build/android/pylib/test_options_parser.py |
index f8644fb8482712fa4211caaa4d2558cd00fe6d09..f4d130f3453c1279c355f36c0c02b12641d54f0f 100644 |
--- a/build/android/pylib/test_options_parser.py |
+++ b/build/android/pylib/test_options_parser.py |
@@ -124,6 +124,8 @@ def AddInstrumentationOptions(option_parser): |
help=('If present, will set the buildbot status ' |
'as STEP_FAILURE, otherwise as STEP_WARNINGS ' |
'when test(s) fail.')) |
+ option_parser.add_option('--disable_assertions', action='store_true', |
+ help='Run with java assertions disabled.') |
def ValidateInstrumentationOptions(option_parser, options, args): |