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

Unified Diff: build/android/pylib/host_driven/test_case.py

Issue 22903016: [android] Adds constants.GetOutDirectory() and converts test scripts to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit: update comment Created 7 years, 3 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
Index: build/android/pylib/host_driven/test_case.py
diff --git a/build/android/pylib/host_driven/test_case.py b/build/android/pylib/host_driven/test_case.py
index 3387c948bdda3bb30a0686204faefb3f64b8e526..3c677939f414782a2570f639c9a6362e1a510902 100644
--- a/build/android/pylib/host_driven/test_case.py
+++ b/build/android/pylib/host_driven/test_case.py
@@ -68,9 +68,10 @@ class HostDrivenTestCase(object):
def TearDown(self):
pass
+ # TODO(craigdh): Remove GetOutDir once references have been removed
+ # downstream.
def GetOutDir(self):
- return os.path.join(os.environ['CHROME_SRC'], 'out',
- constants.GetBuildType())
+ return constants.GetOutDirectory()
def Run(self):
logging.info('Running host-driven test: %s', self.tagged_name)

Powered by Google App Engine
This is Rietveld 408576698