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

Side by Side Diff: pnacl/driver/driver_log.py

Issue 1541863002: PNaCl. Enables x32 libraries for non-sfi runtime. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Adds a comment explaining why clang is used for building unsandboxed_irt_x86_64 Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | pnacl/driver/pnacl-translate.py » ('j') | pnacl/driver/pnacl-translate.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import sys 6 import sys
7 import pathtools 7 import pathtools
8 8
9 #TODO: DriverOpen/Close are in here because this is a low level lib without 9 #TODO: DriverOpen/Close are in here because this is a low level lib without
10 # any dependencies. Maybe they should go in another low level lib, or maybe 10 # any dependencies. Maybe they should go in another low level lib, or maybe
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 'arm' : 'ARM', 44 'arm' : 'ARM',
45 'armv7' : 'ARM', 45 'armv7' : 'ARM',
46 'armv7a': 'ARM', 46 'armv7a': 'ARM',
47 47
48 'mips32': 'MIPS32', 48 'mips32': 'MIPS32',
49 'mips' : 'MIPS32', 49 'mips' : 'MIPS32',
50 'mipsel': 'MIPS32', 50 'mipsel': 'MIPS32',
51 51
52 'x86-32-linux': 'X8632_LINUX', 52 'x86-32-linux': 'X8632_LINUX',
53 'x86-64-linux': 'X8664_LINUX',
53 'x86-32-mac': 'X8632_MAC', 54 'x86-32-mac': 'X8632_MAC',
54 'x86-32-nonsfi': 'X8632_NONSFI', 55 'x86-32-nonsfi': 'X8632_NONSFI',
55 'arm-nonsfi': 'ARM_NONSFI', 56 'arm-nonsfi': 'ARM_NONSFI',
56 } 57 }
57 if arch not in archfix: 58 if arch not in archfix:
58 Log.Fatal('Unrecognized arch "%s"!', arch) 59 Log.Fatal('Unrecognized arch "%s"!', arch)
59 return archfix[arch] 60 return archfix[arch]
60 61
61 driver_exit_funcs = [] 62 driver_exit_funcs = []
62 def AtDriverExit(func): 63 def AtDriverExit(func):
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 ret += " " 156 ret += " "
156 if grouping == 0: 157 if grouping == 0:
157 grouping = 1 158 grouping = 1
158 if a.startswith('-') and len(a) == 2: 159 if a.startswith('-') and len(a) == 2:
159 grouping = 2 160 grouping = 2
160 ret += a 161 ret += a
161 grouping -= 1 162 grouping -= 1
162 return ret 163 return ret
163 164
164 Log = LogManager() 165 Log = LogManager()
OLDNEW
« no previous file with comments | « no previous file | pnacl/driver/pnacl-translate.py » ('j') | pnacl/driver/pnacl-translate.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698