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 071e73ca5febabdc4ee08fad46ca72f681a043c6..6f31a33008538c3add76dfc29129a79251cfa10c 100644 |
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py |
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
@@ -653,8 +653,6 @@ class InstrumentationTestInstance(test_instance.TestInstance): |
self._flags.extend(flag for flag in stripped_lines if flag) |
if args.strict_mode and args.strict_mode != 'off': |
self._flags.append('--strict-mode=' + args.strict_mode) |
- if args.regenerate_goldens: |
- self._flags.append('--regenerate-goldens') |
def _initializeDriverAttributes(self): |
self._driver_apk = os.path.join( |