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

Unified Diff: build/android/pylib/constants.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: Created 7 years, 4 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/pylib/device_stats_monitor.py » ('j') | no next file with comments »
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 bf35fff6e7b7c9f9b454f2972301d244ddcbf2ff..2849689500711773362c9b775dc7456b30f17d88 100644
--- a/build/android/pylib/constants.py
+++ b/build/android/pylib/constants.py
@@ -94,6 +94,11 @@ def SetBuildType(build_type):
os.environ['BUILDTYPE'] = build_type
+def GetBuildDirectory():
+ return os.path.abspath(
+ os.path.join(cmd_helper.OutDirectory.get(), GetBuildType()))
frankf 2013/08/21 01:50:07 Remove cmd_helper.OutDirectory alltogether.
craigdh 2013/08/22 22:09:42 Done.
+
+
def _GetADBPath():
if os.environ.get('ANDROID_SDK_ROOT'):
return 'adb'
« no previous file with comments | « no previous file | build/android/pylib/device_stats_monitor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698