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

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

Issue 23494039: [android] Relands: Adds constants.GetBuildDirectory() and converts test scripts to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix provision_devices.py which never set the build type 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
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | build/android/pylib/utils/report_results.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7ce1c307827d6ca6de6f7c1e513bea86d0795dae..2fbcae8b5128774d2bcb6ba8aaae3b1db97f9ec8 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)
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | build/android/pylib/utils/report_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698