Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1286)

Unified Diff: build/android/pylib/utils/isolator.py

Issue 1409693004: Android test runner: Put isolate directory within out/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698