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

Unified Diff: build/android/pylib/constants.py

Issue 144093008: Add --out-dir command line option to test_runner.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an --out-dir command line flag. Created 6 years, 11 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 | build/android/test_runner.py » ('j') | build/android/test_runner.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/constants.py
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py
index 86355580b9bee1989a9d9a39ae382f54a1c345ee..203519a42be181b40d89b89b66643f4e05b05d6d 100644
--- a/build/android/pylib/constants.py
+++ b/build/android/pylib/constants.py
@@ -161,6 +161,10 @@ def GetOutDirectory(build_type=None):
GetBuildType() if build_type is None else build_type))
+def SetOutDirectory(out_directory):
+ os.environ['CHROMIUM_OUT_DIR'] = out_directory
+
+
def _Memoize(func):
def Wrapper():
try:
« no previous file with comments | « no previous file | build/android/test_runner.py » ('j') | build/android/test_runner.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698