Chromium Code Reviews| Index: pydir/szbuild.py |
| diff --git a/pydir/szbuild.py b/pydir/szbuild.py |
| index 36112dad2fdf9e50b78c2008d21a11ae88e0aeb6..85342a7b09107f5355cfcb88056f019f25a107df 100755 |
| --- a/pydir/szbuild.py |
| +++ b/pydir/szbuild.py |
| @@ -6,7 +6,7 @@ import pipes |
| import re |
| import sys |
| -from utils import shellcmd, FindBaseNaCl, get_sfi_string |
| +from utils import GetObjcopyCmd, shellcmd, FindBaseNaCl, get_sfi_string |
| def NewerThanOrNotThere(old_path, new_path): |
| """Returns whether old_path is newer than new_path. |
| @@ -293,7 +293,7 @@ def ProcessPexe(args, pexe, exe): |
| ).format(root=nacl_root) |
| llcbin = '{base}/pnacl-llc'.format(base=path_addition) |
| gold = '{base}/le32-nacl-ld.gold'.format(base=path_addition) |
| - objcopy = '{base}/le32-nacl-objcopy'.format(base=path_addition) |
| + objcopy = ('{base}/' + GetObjcopyCmd()).format(base=path_addition) |
|
Jim Stichnoth
2016/03/09 22:41:13
'{base}/{objcopy}'.format(base=path_addition, objc
Sean Klein
2016/03/09 22:59:22
Done.
|
| opt_level = args.optlevel |
| opt_level_map = { 'm1':'0', '-1':'0', '0':'0', '1':'1', '2':'2' } |
| hybrid = args.include or args.exclude |