Index: build/android/pylib/instrumentation/instrumentation_test_instance.py |
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
index 2324fca1194d3efc8ad608b40abd5fc68e5ce898..adf36d29a41c038b0a781e00495fa0658883b1e6 100644 |
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py |
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
@@ -654,13 +654,6 @@ class InstrumentationTestInstance(test_instance.TestInstance): |
if args.regenerate_goldens: |
self._flags.append('--regenerate-goldens') |
- if args.test_arguments: |
- # --test-arguments is deprecated for gtests and is in the process of |
- # being removed. |
- raise Exception( |
- '--test-arguments is not supported for instrumentation ' |
- 'tests. Pass command-line flags directly instead.') |
- |
def _initializeDriverAttributes(self): |
self._driver_apk = os.path.join( |
constants.GetOutDirectory(), constants.SDK_BUILD_APKS_DIR, |