Index: build/android/pylib/utils/isolator.py |
diff --git a/build/android/pylib/utils/isolator.py b/build/android/pylib/utils/isolator.py |
index 18f9eed4a2eafb0f496357ee7e19e276e5f5b149..7abbf7d07fa9228bd90d6aca2c489fe32ac259d4 100644 |
--- a/build/android/pylib/utils/isolator.py |
+++ b/build/android/pylib/utils/isolator.py |
@@ -58,7 +58,9 @@ class Isolator(object): |
"""Manages calls to isolate.py for the android test runner scripts.""" |
def __init__(self): |
- self._isolate_deps_dir = tempfile.mkdtemp() |
+ # Put within output directory to ensure that hardlinks can be used. |
+ self._isolate_deps_dir = tempfile.mkdtemp(prefix='isolate-', |
+ dir=constants.GetOutDirectory()) |
@property |
def isolate_deps_dir(self): |