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

Unified Diff: tools/utils.py

Issue 105223002: Simplifies standalone VM Android build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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 | « tools/gyp/source_filter.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
===================================================================
--- tools/utils.py (revision 31337)
+++ 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 | « tools/gyp/source_filter.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698