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

Unified Diff: dart/tools/utils.py

Issue 119673004: Version 1.1.0-dev.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: 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 | « dart/tools/tracesummary.dart ('k') | deps/all.deps/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/utils.py
===================================================================
--- dart/tools/utils.py (revision 31530)
+++ dart/tools/utils.py (working copy)
@@ -216,20 +216,19 @@
def GetBuildMode(mode):
return BUILD_MODES[mode]
+def GetBuildConf(mode, arch, conf_os=None):
+ if conf_os == 'android':
+ return '%s%s%s' % (GetBuildMode(mode), conf_os.title(), arch.upper())
+ else:
+ return '%s%s' % (GetBuildMode(mode), arch.upper())
-def GetBuildConf(mode, arch):
- return '%s%s' % (GetBuildMode(mode), arch.upper())
-
ARCH_GUESS = GuessArchitecture()
BASE_DIR = os.path.abspath(os.path.join(os.curdir, '..'))
DART_DIR = os.path.abspath(os.path.join(__file__, '..', '..'))
def GetBuildDir(host_os, target_os):
- build_dir = BUILD_ROOT[host_os]
- if target_os and target_os != host_os:
- build_dir = os.path.join(build_dir, target_os)
- return build_dir
+ return BUILD_ROOT[host_os]
def GetBuildRoot(host_os, mode=None, arch=None, target_os=None):
build_root = GetBuildDir(host_os, target_os)
« no previous file with comments | « dart/tools/tracesummary.dart ('k') | deps/all.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698