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

Unified Diff: tools/utils.py

Issue 8417030: Remove 'dartc' as an arch for build.py. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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 | « tools/build.py ('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 892)
+++ tools/utils.py (working copy)
@@ -136,12 +136,10 @@
def GetBuildRoot(target_os, mode=None, arch=None):
global BUILD_ROOT
if mode:
- path = os.path.join(BUILD_ROOT[target_os], GetBuildConf(mode, arch))
# TODO(ngeoffray): Remove this test once the testing infrastructure does not
# treat 'dartc' as an arch.
- if not os.path.exists(path) and arch == 'dartc':
- path = os.path.join(BUILD_ROOT[target_os], GetBuildConf(mode, ARCH_GUESS))
- return path;
+ if arch == 'dartc': arch = ARCH_GUESS
+ return os.path.join(BUILD_ROOT[target_os], GetBuildConf(mode, arch))
else:
return BUILD_ROOT[target_os]
« no previous file with comments | « tools/build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698