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

Side by Side Diff: tools/utils.py

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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_options.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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 'arm': 'arm', 233 'arm': 'arm',
234 'armv6': 'arm', 234 'armv6': 'arm',
235 'armv5te': 'arm', 235 'armv5te': 'arm',
236 'arm64': 'arm', 236 'arm64': 'arm',
237 'mips': 'mips', 237 'mips': 'mips',
238 'simarm': 'ia32', 238 'simarm': 'ia32',
239 'simarmv6': 'ia32', 239 'simarmv6': 'ia32',
240 'simarmv5te': 'ia32', 240 'simarmv5te': 'ia32',
241 'simmips': 'ia32', 241 'simmips': 'ia32',
242 'simarm64': 'ia32', 242 'simarm64': 'ia32',
243 'simdbc': 'ia32',
243 } 244 }
244 245
245 ARCH_GUESS = GuessArchitecture() 246 ARCH_GUESS = GuessArchitecture()
246 BASE_DIR = os.path.abspath(os.path.join(os.curdir, '..')) 247 BASE_DIR = os.path.abspath(os.path.join(os.curdir, '..'))
247 DART_DIR = os.path.abspath(os.path.join(__file__, '..', '..')) 248 DART_DIR = os.path.abspath(os.path.join(__file__, '..', '..'))
248 VERSION_FILE = os.path.join(DART_DIR, 'tools', 'VERSION') 249 VERSION_FILE = os.path.join(DART_DIR, 'tools', 'VERSION')
249 250
250 def GetBuildbotGSUtilPath(): 251 def GetBuildbotGSUtilPath():
251 gsutil = '/b/build/scripts/slave/gsutil' 252 gsutil = '/b/build/scripts/slave/gsutil'
252 if platform.system() == 'Windows': 253 if platform.system() == 'Windows':
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 os.chdir(self._working_directory) 651 os.chdir(self._working_directory)
651 652
652 def __exit__(self, *_): 653 def __exit__(self, *_):
653 print "Enter directory = ", self._old_cwd 654 print "Enter directory = ", self._old_cwd
654 os.chdir(self._old_cwd) 655 os.chdir(self._old_cwd)
655 656
656 657
657 if __name__ == "__main__": 658 if __name__ == "__main__":
658 import sys 659 import sys
659 Main() 660 Main()
OLDNEW
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698