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 62d64b140222b6bf2434f6997f7df96eeb558769..613b778d1fab4acd5bf281ca67a2e7fa04b71c8f 100644 |
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py |
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
@@ -290,11 +290,7 @@ |
def _initializeDataDependencyAttributes(self, args, isolate_delegate): |
self._data_deps = [] |
if args.isolate_file_path: |
- if os.path.isabs(args.isolate_file_path): |
- self._isolate_abs_path = args.isolate_file_path |
- else: |
- self._isolate_abs_path = os.path.join( |
- constants.DIR_SOURCE_ROOT, args.isolate_file_path) |
+ self._isolate_abs_path = os.path.abspath(args.isolate_file_path) |
self._isolate_delegate = isolate_delegate |
self._isolated_abs_path = os.path.join( |
constants.GetOutDirectory(), '%s.isolated' % self._test_package) |
@@ -344,7 +340,7 @@ |
}) |
def _initializeFlagAttributes(self, args): |
- self._flags = ['--enable-test-intents'] |
+ self._flags = ['--disable-fre', '--enable-test-intents'] |
# TODO(jbudorick): Transition "--device-flags" to "--device-flags-file" |
if hasattr(args, 'device_flags') and args.device_flags: |
with open(args.device_flags) as device_flags_file: |