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

Side by Side Diff: tools/utils.py

Issue 2027063003: Move Windows build output from //build to //out (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « tools/testing/dart/test_suite.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 # This file contains a set of utilities functions used by other Python-based 5 # This file contains a set of utilities functions used by other Python-based
6 # scripts. 6 # scripts.
7 7
8 import commands 8 import commands
9 import datetime 9 import datetime
10 import json 10 import json
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 # Mapping table between build mode and build configuration. 214 # Mapping table between build mode and build configuration.
215 BUILD_MODES = { 215 BUILD_MODES = {
216 'debug': 'Debug', 216 'debug': 'Debug',
217 'release': 'Release', 217 'release': 'Release',
218 'product': 'Product', 218 'product': 'Product',
219 } 219 }
220 220
221 221
222 # Mapping table between OS and build output location. 222 # Mapping table between OS and build output location.
223 BUILD_ROOT = { 223 BUILD_ROOT = {
224 'win32': os.path.join('build'), 224 'win32': os.path.join('out'),
225 'linux': os.path.join('out'), 225 'linux': os.path.join('out'),
226 'freebsd': os.path.join('out'), 226 'freebsd': os.path.join('out'),
227 'macos': os.path.join('xcodebuild'), 227 'macos': os.path.join('xcodebuild'),
228 } 228 }
229 229
230 ARCH_FAMILY = { 230 ARCH_FAMILY = {
231 'ia32': 'ia32', 231 'ia32': 'ia32',
232 'x64': 'ia32', 232 'x64': 'ia32',
233 'arm': 'arm', 233 'arm': 'arm',
234 'armv6': 'arm', 234 'armv6': 'arm',
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 os.chdir(self._working_directory) 653 os.chdir(self._working_directory)
654 654
655 def __exit__(self, *_): 655 def __exit__(self, *_):
656 print "Enter directory = ", self._old_cwd 656 print "Enter directory = ", self._old_cwd
657 os.chdir(self._old_cwd) 657 os.chdir(self._old_cwd)
658 658
659 659
660 if __name__ == "__main__": 660 if __name__ == "__main__":
661 import sys 661 import sys
662 Main() 662 Main()
OLDNEW
« no previous file with comments | « tools/testing/dart/test_suite.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698