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

Unified Diff: tools/utils.py

Issue 10823209: Add support for building the Dart VM for Android OS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed unused script tools/android/envsetup.sh Created 8 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
« runtime/tools/utils.py ('K') | « tools/gyp/configurations_android.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/utils.py
diff --git a/tools/utils.py b/tools/utils.py
index 36ad7e1567dedaedd6121e5a88dfba68bb4623c7..b511a5aabdf29154dc8074d3c6d1cbb8e4be0e0b 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -135,12 +135,12 @@ def GetBuildConf(mode, arch):
ARCH_GUESS = GuessArchitecture()
BASE_DIR = os.path.abspath(os.path.join(os.curdir, '..'))
-def GetBuildRoot(target_os, mode=None, arch=None):
+def GetBuildRoot(host_os, mode=None, arch=None):
global BUILD_ROOT
if mode:
- return os.path.join(BUILD_ROOT[target_os], GetBuildConf(mode, arch))
+ return os.path.join(BUILD_ROOT[host_os], GetBuildConf(mode, arch))
else:
- return BUILD_ROOT[target_os]
+ return BUILD_ROOT[host_os]
def GetBaseDir():
return BASE_DIR
« runtime/tools/utils.py ('K') | « tools/gyp/configurations_android.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698